Hi,

My hardware expect the pixel format for 32-bit to of BGRA instead of
RGBA which android is currently supporting.
Can anyone help me how and where to change the code for BGRA pixel
format.

I changed  the format in   SurfaceFlinger::createNormalSurfaceLocked
function in SurfaceFlinger.cpp. i.e. instead of
        // format = PIXEL_FORMAT_RGBA_8888;
         format = PIXEL_FORMAT_BGRA_8888;

I also changed the format in DisplayHardware.cpp and
EGLDisplaySurface.cpp to  BGRA format.

But this change is not helping me on my target. when i launch a 32-bit
application like browser, I see the screen gets dim and no window
opens up.

I'm working on android 1.6x86.  Please help

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to