ccd348460ca25890a8fb709e82e6f780e3ce878e |
|
14-Mar-2018 |
rongliu <rongliu@google.com> |
Pass correct window type and app id to hw composer. 1. Set -1 as default value for window type and app id. 2. When send layer information to hal, layers inherit type and app id from parent node when parent node has valid type/appId. 3. Add window type and app id to SurfaceFlinger dumpsys. Bug: 74622357 Test: Manual test. Several things verified: 1. Android settings layer, status bar layer, nav bar layer have valid window type and appId when start android settings. 2. Layers without buffer have window type -1 and app id -1. 3. When send layers to hal, Chrome SurfaceView layer inherit type and app id from its parent (MainActivity layer). Change-Id: I8d6ad274ca18b61d1bbf6b28f7def5160b55b1e7 Merged-In: I8d6ad274ca18b61d1bbf6b28f7def5160b55b1e7
/frameworks/native/libs/gui/include/gui/ISurfaceComposerClient.h
|
13fdc49516d17f41e64e62e73c313b0928bf13cc |
|
27-Jun-2017 |
chaviw <chaviw@google.com> |
Added native functionality to create a color layer. Added a new layer that can draw a specified color and specified alpha. This will replace creating a dim layer and allow any colors, not just black, to be set for this layer. Test: Added tests to Transaction_test.cpp to test with a color and a color layer with alpha. Change-Id: I00a38d1bbc01093026f088c3347454281bdc2b8c
/frameworks/native/libs/gui/include/gui/ISurfaceComposerClient.h
|
172bd727181da158c40100795cff279b9721559d |
|
20-Jun-2017 |
Jiyong Park <jiyong@google.com> |
Make libgui available to vendors libgui is now available to vendors, especially for BufferQueue in between the OMX and Camera HALs for encoding the captured video stream. In doing so, its headers were moved from frameworks/native/include to its local directory frameworks/native/libs/gui/include. This is required because global include path is not supported when building for vendor. However, in order not to affect platform modules that are still relying on the global include path, symlinks are provided. frameworks/native/include/gui -> frameworks/native/libs/include/gui frameworks/native/include/private/gui -> frameworks/native/libs/include/private/gui Bug: 37731063 Test: BOARD_VNDK_VERSION=current m -j libgui.vendor Change-Id: I0bab8d2e31959085ad58b1ce4c610334ee3da033
/frameworks/native/libs/gui/include/gui/ISurfaceComposerClient.h
|