Windows crashes when I use dynamic textures with D3DLOCK_DISCARD f
- From: Igor Kokarev <IgorKokarev@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 25 Aug 2005 14:09:03 -0700
I've wrote simple test using DirectX 8.1 headers to test how dynamic textures
works. I've created windowed application, 512x512 one D3DFMT_A8R8G8B8
D3DPOOL_DEFAULT and D3DUSAGE_DYNAMIC texture.
Cycle for 100 times, and LockRect/UnLockRect
(I didn't used timer, only FOR cycle).
As SDK says I need to use D3DLOCK_DISCARD flag in LockRect.
And then I added this flag and started my test, my Windows XP SP2 falled to
BSOD with restarting and even damaging of some files of the project.
This test also freezed another PC with Windows 2000.
So if I correctly wrote my test, I assume that WE SHOULD NOT use
D3DLOCK_DISCARD flag for stability reasons. By the way, as SDK says this
option means DMA access to texture.
.
- Follow-Ups:
- Re: Windows crashes when I use dynamic textures with D3DLOCK_DISCARD f
- From: Alexander Gräf
- Re: Windows crashes when I use dynamic textures with D3DLOCK_DISCARD f
- Prev by Date: PIX roadmap
- Next by Date: Re: How/when is specular added in Fixed Function
- Previous by thread: PIX roadmap
- Next by thread: Re: Windows crashes when I use dynamic textures with D3DLOCK_DISCARD f
- Index(es):
Relevant Pages
|
Loading