Advertisement Jump to content
Sign in to follow this  
fir

directx as a blitter

This topic is 1838 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Edited by fir

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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 : )

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!