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 11:51:05 -0700
- Thread-index: AcVmESaYMVb6cT9CRieyQM4NNo5SlgAAG2Hg
- Thread-topic: [AD] No more video/system bitmaps
The line pointer is going away.
You'll need to call al_acquire_bitmap_region() first, which returns you
the equivalent of a line pointer.
> -----Original Message-----
> From: alleg-developers-admin@xxxxxxxxxx [mailto:alleg-
> developers-admin@xxxxxxxxxx] On Behalf Of Chris Jones
> Sent: Tuesday, May 31, 2005 11:46 AM
> To: alleg-developers@xxxxxxxxxx
> Subject: Re: [AD] No more video/system bitmaps
>
> No more video/system bitmaps> I propose this modification to
> al_create_bitmap():
> > Remove the "type" parameter, and add a "usage" parameter.
>
> There would definitely need to still be a way of explicitly creating a
> memory bitmap. At the moment it's quite common to use create_bitmap
and
> then
> directly access its line[] array, knowing that it's safe to do so
because
> it's a memory bitmap.
>
> If it could randomly get promoted to a video bitmap then that could
really
> screw things up.
>
>
>
>
> -------------------------------------------------------
> 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