Re: [AD] multiple windows |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: Coordination of admins/developers of the game programming library Allegro <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] multiple windows
- From: Elias Pschernig <elias@xxxxxxxxxx>
- Date: Mon, 21 Aug 2006 15:05:34 +0200
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