RE: [AD] No more video/system bitmaps |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: <alleg-developers@xxxxxxxxxx>
- Subject: RE: [AD] No more video/system bitmaps
- From: "Robert Ohannessian" <ROhannessian@xxxxxxxxxx>
- Date: Tue, 31 May 2005 08:44:08 -0700
- Thread-index: AcVl9rNu9P336stoT9uDvLeUBDuxZAAAHmDQ
- Thread-topic: [AD] No more video/system bitmaps
A bitmap is defined when it is either:
- Allocated and then Copied from an existing bitmap.
- Allocated and then cleared.
- Allocated and then defined via a al_acquire_bitmap() /
al_release_bitmap() pair.
- Loaded via load_*() (which indirectly uses one of the methods above).
> -----Original Message-----
> From: alleg-developers-admin@xxxxxxxxxx [mailto:alleg-
> developers-admin@xxxxxxxxxx] On Behalf Of Peter Wang
> Sent: Tuesday, May 31, 2005 8:36 AM
> To: alleg-developers@xxxxxxxxxx
> Subject: Re: [AD] No more video/system bitmaps
>
> On 2005-05-31, Robert Ohannessian <ROhannessian@xxxxxxxxxx> wrote:
> >
> > I propose this modification to al_create_bitmap(): Remove the "type"
> > parameter, and add a "usage" parameter. The usage parameter is
logically
> > an enum from the list {AL_STATIC_DRAW, AL_STATIC_READ,
AL_DYNAMIC_DRAW,
> > AL_DYNAMIC_READ, AL_STREAM_DRAW, AL_STREAM_READ}.
> >
> > "Static" means the image does not change after being defined.
> > "Dynamic" means the image does change often.
> > "Stream" means the image will not be used often after it was defined
> > (for example, for temporary bitmaps).
>
> Please define what you mean by "define", especially _when_ a bitmap
> becomes defined.
>
> (Only glanced at it before going to sleep: I like the idea as it seems
> analogous with the direction we've gone with the display API. Thomas
> Harte/Gillius's acquire_bitmap proposals also come to mind.)
>
> Peter
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Yahoo.
> Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
> Search APIs Find out how you can build Yahoo! directly into your own
> Applications - visit
http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
> --
> https://lists.sourceforge.net/lists/listinfo/alleg-developers