Hi,

it depends on a device.

you can get  screen infos natively from   FBIOGET_VSCREENINFO over ioctl.


if bits_per_pixel  is 16 , pixel format is RGB_565

if bits_per_pixel  is 24 , pixel format is RGB_888

if bits_per_pixel  is 32,  pixel format is RGBX_8888


On 06/07/2012 01:10 PM, nimeshchanch...@gmail.com wrote:
What is the colour format of fb0 in android? I'm trying to hack into the 
framebuffer
Sent from BlackBerry® on Airtel


--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to