replicant-frameworks_native/include
Romain Guy 3b996c96e4 Always create OpenGL accelerated windows in RGBA 8888.
Bug #3081600

The OpenGL renderer in libhwui uses a single EGL context per process and
thus create it with an RGBA 8888 EGL configuration. To ensure that all
windows are compatible with this configuration, this change modifies
the window manager and SurfaceFlinger.

The window manager now checks the window's flags and if the window is
hardware accelerated, it forces the window's pixel format to be
translucent when creating the surface. The window itself is still
marked as opaque if we know that the window will be opaque on screen.
This keeps existing optimizations in place.

Similarly in SurfaceFlinger, a translucent Surface can now be created
with the Surface.OPAQUE flag, indicating SurfaceFlinger that the surface
does not require blending, despite its RGBA 8888 configuration.

Change-Id: Ic747b6b12564ba064412d842117880fcc199eb7c
2010-10-12 11:00:18 -07:00
..
binder am ae087369: am 63070856: Merge "Don\'t propagate StrictMode over one-way Binder calls." into gingerbread 2010-08-31 15:06:24 -07:00
gui Replace epoll() with poll() and rename PollLoop to Looper. 2010-09-14 01:59:45 -07:00
pim
private fix [2835280] Add support for cancelling buffers to ANativeWindow 2010-10-04 20:10:11 -07:00
surfaceflinger Always create OpenGL accelerated windows in RGBA 8888. 2010-10-12 11:00:18 -07:00
tts
ui Track input state when transferring touch focus. 2010-10-11 18:32:20 -07:00
utils am 22cb4ef8: am d577cfd7: Merge "Switch Looper back to using poll() instead of epoll()." into gingerbread 2010-10-10 12:52:40 -07:00