Fast BitBlt: VS2005, DirectX, ...

  • Thread starter Thread starter _R
  • Start date Start date
R

_R

I'm porting an old app from VC++6 to .NET and need to update the
bitblt functions from DibSection to managed code. The older functions
ran fine but I may as well opt for the fastest, most versatile
functions available. Not sure if that's managed DirectX or if
alternatives are available.

I'm primarily imprinting memory-resident bit-patterns ('fonts' roughly
speaking, and vector graphics) onto a mem-resident drawing plane (all
2D), then blit'ing the whole thing to the screen.

Have any improved graphics functions surfaced in VS2005? Any
advantage in any of the above (or maybe wrapping the old DibSection
code?).
 
Do you mean using some .NET library to do the job of BitBlt?
If yes, then you can forget about that, because .NET graphics classes
use GDI+ which is *incredibly* slow compared to BitBlt, which is GDI.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top