raspberrypi / firmware

This repository contains pre-compiled binaries of the current Raspberry Pi kernel and modules, userspace libraries, and bootloader/GPU firmware.
5.15k stars 1.68k forks source link

16bpp issue? #86

Closed rosery closed 9 years ago

rosery commented 12 years ago

Hi. the 16bpp mode that pi does .. is it 555, or 565, and if 565, can we get it to 555? also does the R<->B swap work on it too?

(RISCOS 16 bit is: top bit opaque, 5bits B, 5 bits G, least significant 5 bits R. it would be useful to be able to get that mode)

Thanks John

9pi commented 12 years ago

If you use the framebuffer mailbox interface to request 16bpp, you get 565 with Blue as low order bits.

The newer properties mailbox interface has a tag for Set Pixel Order (BGR or RGB).

rosery commented 12 years ago

Hi Yes.. I know of the pixel order swap. I wasn't clear whether this did work in 16bit, and also would like to request 555 operation as an option, as that is the only 16bit variant I can use.

Thanks for the response

John

Stop press! Just announced - Price Promise

Broadband from £2.99/month, no tie in

Intrigued? Call me

John Ballance C.Eng MIET - jwb@rosery.net - 07976 295923

On 06/09/2012 11:45, 9pi wrote:

If you use the framebuffer mailbox interface to request 16bpp, you get 565 with Blue as low order bits.

The newer properties mailbox interface has a tag for Set Pixel Order (BGR or RGB).

— Reply to this email directly or view it on GitHub https://github.com/raspberrypi/firmware/issues/86#issuecomment-8328623.

Ruffio commented 9 years ago

@rosery is this still an issue or can it be closed?

rosery commented 9 years ago

thanks