directx as a blitter

Started by
1 comment, last by fir 10 years, 3 months ago

i am curious to know how is a way of doing blitter in directx.

Presently i am using winapi blitter but this is somewhat really slow

on my old machine for big window it can reach (maybe a pair clear

and blit i measured this some time ago so i do not remember) close

to 5-10 miliseconds so it is quite slow.

I asked and i know how to do it in ogl - just by setting/uploading the texture to fullscreen quad, but i am curious what is a good way of doing this in directx.

Is this the same way of some call that uplowads a ram-pixel-buffer to quad texture or something other? can someone wrote mi the name of the api call

which exactly "blits"/uplowads it?

Advertisement

The fastest way would be to load your texture into a staging resource, then copy it into the back-buffer. Something like:

This is probably the fastest way to do it using D3D11.

The fastest way would be to load your texture into a staging resource, then copy it into the back-buffer. Something like:

This is probably the fastest way to do it using D3D11.

much tnx, very helpfull : )

This topic is closed to new replies.

Advertisement