0

Would live to draw bitmap 1 onto bitmap 2, and bitmap 1 alpha-channel must be used. Both are in memory, both a RGBA.

I need this operation be as fast as possible. So hardware acceleraton would be very helpful.

Actually There will be thousands of small bitmaps drawn on one big bitmap (similar to text rendering). I need to save the result to disk. What library/function could you recommend?

I was thinking about something like OpenGL+CreateTexture, but it's been long ago when I wrote my OpenGL "helloworld"... And yes, it's C/C++.

ThinkingStiff
  • 64,767
  • 30
  • 146
  • 239
exebook
  • 32,014
  • 33
  • 141
  • 226

1 Answers1

0

If you're simply doing 2D blits, you should consider using OpenVG (instead of OpenGL).

You have mentioned Linux, but not the hardware platform. If it's an embedded processor, OpenVG support is usually pretty good. Can't say the same for desktop (x86), where you'd have to use OpenGL.

Rahul Banerjee
  • 2,343
  • 15
  • 16