[haiku-development] Re: RFC: Colorspace header cleanup

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 12 Jan 2012 21:28:49 +0100

On 01/12/2012 08:40 PM, Alexander von Gluck wrote:
B_RGB32 = 0x0008, // BGRx xRGB 8:8:8:8

I would prefer the '-' there is now instead of the 'x' but who cares :-)
Personally, I think the 8:8:8:8 can be omitted, as it's pretty clear what happens there; only the 5:6:5 case is really interesting.

Anyway, do as you please, but just make sure it stays consistent overall (ie. also with the types you didn't mention).

The BeBook goes a little crazy not documenting RGB24 and documenting
RGB16 as xRGB 5:6:5 which makes *no* sense.

Declaring it "unsupported" is documented, and RGB16 is obviously just wrong. No reason to cry ;-) I would guess we implement RGB24, but I don't know for sure. Looking into BBitmap will probably tell you more.

Bye,
   Axel.

Other related posts: