On Mon, 24 Sep 2001, Eric Faurot wrote:
>  > The problem centers around the fact that when you are using an
>  > in-pixel alpha value, ggiUnmapPixel/ggiMapColor can use the 
>  > color.a field, whereas when you are using a side-buffer, there is
>  > no guarantee that you will be able to stuff the color.a field into the
>  > pixel.  I thought about changing the pixelformat when the alpha
>  > buffer is added to a pixelformat that has an alpha channel, but that
>  > strikes me as messy and it would break when the total exceeded 32 bits.
> 
> Why couldn't you get the .a with a side buffer?

You can set .a, but not the other way -- you cannot pack .a into
a 24-bit r8g8b8 pixel, for example.

> Anyway I caught a bad cold while trekking in the rain and part of my
> brain is vegetating right now. So I might have missed something.

Yes, I figured out the way to go, and have updated LibBuf docs to reflect.

BTW, I am starting on LibBlt right now, and so LibBuf is safe to hack
on for the moment if anyone is inclined.  I left a long TODO list in there.

--
Brian

Reply via email to