Re: How to manualy copy managed texture from systemem to real vide




"Igor Kokarev" <IgorKokarev@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:BF133645-EA41-465C-BBB4-2D586024138B@xxxxxxxxxxxxxxxx
> Robert Dunlop,
>
> Thank your for detailed response!
> Yes, we set D3DCREATE_MULTITHREADED flag.
>
> I've tried as you said, but unfortunately with same result.
>
> Flying objects in my 3D scene jerk even if I load only one new texture.
>
> NewTexture->PreLoad
> BeginScene
> ...
> EndScene
>
> (*NewTexture is 1024 x 1024*)
>
> So I can do summary (as all tests show) that PreLoad (copying from SYSMEM
> to
> VRAM) fully STOPS 3D accelerator WHILE it loads a new texture to VRAM.

how many different hw/driver combos have you tested?

>
> I found only one slow way - use small textures instead of one large one,
> and
> load them with Sleep(5) during a some time period.


.



Relevant Pages

  • Re: How to manualy copy managed texture from systemem to real vide
    ... Flying objects in my 3D scene jerk even if I load only one new texture. ... VRAM) fully STOPS 3D accelerator WHILE it loads a new texture to VRAM. ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: lockRect problem in direct3d mobile during texturing
    ... If you're going to lock the texture yourself, you must create it with the ... D3DMUSAGE_LOCKABLE flag. ... Note that not all D3DM drivers support lockable ... then use CopyRects to load the texture. ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: Fast mip-map generation
    ... Mip-Map Generation of this memory ... The next step is linear averaging, where you simply take 0.25*sum(four_source_pixels), possibly after ungamma-conversion of each of the source pixels. ... If you do go this route, then you should probably first convert the source texture to linear format, then generate all the reduced size texture before converting back to whatever format you want your texture to be in. ... load four source pixels into xmm0..xmm3. ...
    (comp.lang.asm.x86)
  • Re: Two simple meshes - memory gone
    ... I load two meshes, tiger.x and bigship1.x (both ... calling a method from an invalid ID3DXBuffer pointer if the model fails to ... name, but there can be materials that don't have a texture mapped to them, ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: Compressed textures
    ... then load the texture into a plain surface in system memory and use ... When a movie is small enough, I readit into system memory as a binary stream defining the texels of different frames. ... Whenever I need a new video frame in the texture, I lock the texture, write the bytes and unlock it. ...
    (microsoft.public.win32.programmer.directx.graphics)