Hi,

the Android SurfaceFlinger in JB always allocates RBGA8888 buffers. There 
are some workarounds to force opaque
formats to RGB_565 by defining NO_RGBX8888 (see the omap3 settings in 
frameworks/native/services/surfaceflinger/Android.mk)

To change the transparent/translucent surfaces to RGB_565, you will need to 
modify layer allocation of transparent
layers in the SurfaceFlinger, but that will cause plenty of graphical 
glitches (lack of transparency).

Br,

Zoltan

On Wednesday, April 10, 2013 5:52:22 AM UTC+2, Ritesh wrote:
>
> Dear All,
>
> we have a working android-jellybean setup which is configured for RGBA888.
> due to some change in LCD configuration I want to change UI to come in 
> RGB565 format.
>
> I have modified HWComposer::getVisualID() function to return 
> HAL_PIXEL_FORMAT_RGB565
> but it doesnt work.
>
> any suggestion regarding this will be great help.
>
> Thanks and regards
> Ritesh
>
>
>

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to