OSDN Git Service

libui: add ability to force a framebuffer format for EGL's use
authorDima Zavin <dima@android.com>
Wed, 22 Feb 2012 22:37:57 +0000 (14:37 -0800)
committerDima Zavin <dima@android.com>
Wed, 22 Feb 2012 23:44:46 +0000 (15:44 -0800)
commitc6cd27cbf3ddec77cca97e5bd2b257f80ea99706
tree713ef624d646c2754db7a510ede8436aa55bcb64
parent6861d94d4c9dfe50aa7c2f4094665071b8e2f001
libui: add ability to force a framebuffer format for EGL's use

This does not actually change the framebuffer format. It merely
fakes this format to surfaceflinger so that when it creates
framebuffer surfaces it will use this format. It's really a giant
HACK to allow interworking with buggy gralloc+GPU driver
implementations. You should *NEVER* need to set this for shipping
devices.

Change-Id: I03eeb5b4d72838ef219df386ecc489fc20ab9cc7
Signed-off-by: Dima Zavin <dima@android.com>
libs/ui/Android.mk
libs/ui/FramebufferNativeWindow.cpp