Re: [AD] multiple windows |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Elias Pschernig wrote:
Shouldn't need it. So this means: from_compatible_bitmap would be a method of AL_DISPLAY_DRIVER (or however it will be named, maybe AL_DISPLAY_VTABLE), where the display driver creates a 'video bitmap' from a memory bitmap. to_compatible_bitmap would be a method of AL_BITMAP_DRIVER (or AL_BITMAP_VTABLE or whatever), where the bitmap creates a memory bitmap copy of itself.
These could just be named blit_from_memory, blit_to_memory... It's something we already have in 4.2. Then there would be driver independent functions like create_compatible_bitmap(AL_BITMAP*) which would be trivial to implement.
-- Milan Mimica http://sparklet.sf.net
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |