Is there a fast way to draw tons of small bitmaps with JUCE? I’m writing a music tracker application and started thinking what’s the best way to draw all the note and parameter data on screen? My first reaction was to use OpenGL but since Apple is dropping OpenGL support completely AND I’d like to support Mac/PC/Linux, OpenGL isn’t a viable option as such.
In a perfect world I’d like to do this:
- Have a buffer of 175x32 characters which will be drawn on screen.
- Have a buffer of 175x32 values which define colors of the characters.
- Have a buffer of 175x32 values which define background colors of the characters.
Basically something like point sprites drawn with three input buffers: charcter + color + background color. That would do the trick perfectly. But this gets nasty when trying to support multiple operating systems.
Any idea what’s the best way to go around this? Is there some ready made feature in JUCE which would help me with this? Is it possible to have this kind of accelerator feature request for upcoming JUCE versions? (point sprite buffers or such)