diff options
author | Mathias Agopian <mathias@google.com> | 2012-07-24 21:41:09 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2012-07-24 21:42:27 -0700 |
commit | 8785578391eacd4192333d7b0ce3afedd7d163e6 (patch) | |
tree | 62249d4b8556b12eede54e09c9b5a5f34f9e52ec /include/gui | |
parent | 8b33f032327f8de0dcc0e6d0d43ed80f834b51f6 (diff) | |
download | frameworks_native-8785578391eacd4192333d7b0ce3afedd7d163e6.zip frameworks_native-8785578391eacd4192333d7b0ce3afedd7d163e6.tar.gz frameworks_native-8785578391eacd4192333d7b0ce3afedd7d163e6.tar.bz2 |
add a layerStack attribute to Layers.
this attribute can be set through a regular transaction using
SurfaceComposerClient (just like any other attribute, eg: position or size)
Change-Id: I701a47c677ea6442ca713728a93335328cd2b172
Diffstat (limited to 'include/gui')
-rw-r--r-- | include/gui/ISurfaceComposer.h | 1 | ||||
-rw-r--r-- | include/gui/SurfaceComposerClient.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/gui/ISurfaceComposer.h b/include/gui/ISurfaceComposer.h index de1d65d..0d4a76b 100644 --- a/include/gui/ISurfaceComposer.h +++ b/include/gui/ISurfaceComposer.h @@ -67,6 +67,7 @@ public: eMatrixChanged = 0x00000010, eTransparentRegionChanged = 0x00000020, eVisibilityChanged = 0x00000040, + eLayerStackChanged = 0x00000080, eCropChanged = 0x00000100, }; diff --git a/include/gui/SurfaceComposerClient.h b/include/gui/SurfaceComposerClient.h index 9f3ef35..aef4223 100644 --- a/include/gui/SurfaceComposerClient.h +++ b/include/gui/SurfaceComposerClient.h @@ -119,6 +119,7 @@ public: status_t setPosition(SurfaceID id, float x, float y); status_t setSize(SurfaceID id, uint32_t w, uint32_t h); status_t setCrop(SurfaceID id, const Rect& crop); + status_t setLayerStack(SurfaceID id, uint32_t layerStack); status_t destroySurface(SurfaceID sid); private: |