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 /services/surfaceflinger/LayerBase.h | |
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 'services/surfaceflinger/LayerBase.h')
-rw-r--r-- | services/surfaceflinger/LayerBase.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/services/surfaceflinger/LayerBase.h b/services/surfaceflinger/LayerBase.h index 80bc4c3..aeafe4f 100644 --- a/services/surfaceflinger/LayerBase.h +++ b/services/surfaceflinger/LayerBase.h @@ -79,6 +79,7 @@ public: Geometry active; Geometry requested; uint32_t z; + uint32_t layerStack; uint8_t alpha; uint8_t flags; uint8_t reserved[2]; @@ -113,7 +114,8 @@ public: bool setTransparentRegionHint(const Region& opaque); bool setFlags(uint8_t flags, uint8_t mask); bool setCrop(const Rect& crop); - + bool setLayerStack(uint32_t layerStack); + void commitTransaction(); bool requestTransaction(); void forceVisibilityTransaction(); |