[AD] al_create_bitmap

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Currently al_create_bitmap checks if the memory bitmap flag is set,
and if not, goes to the create_bitmap vtable entry  in the the
display. Would it be possible to check first if this entry is NULL,
and if so, create a memory bitmap anyway.

If that were done, it would make it really easy to make a display
driver for a new platform - you could allocate a memory bitmap for the
backbuffer and then you would only have to implement create, destroy
and flip. In this case, flip would just be a memory->vram blit.

Pete




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/