Re: [AD] multiple windows

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


On Mon, 2006-08-21 at 14:58 +0200, Milan Mimica wrote:
> 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.
> 

Makes sense.

-- 
Elias Pschernig





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