summaryrefslogtreecommitdiffstats
path: root/include/private
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2012-07-24 21:41:09 -0700
committerMathias Agopian <mathias@google.com>2012-07-24 21:42:27 -0700
commit8785578391eacd4192333d7b0ce3afedd7d163e6 (patch)
tree62249d4b8556b12eede54e09c9b5a5f34f9e52ec /include/private
parent8b33f032327f8de0dcc0e6d0d43ed80f834b51f6 (diff)
downloadframeworks_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/private')
-rw-r--r--include/private/gui/LayerState.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/private/gui/LayerState.h b/include/private/gui/LayerState.h
index 97891e4..61acaac 100644
--- a/include/private/gui/LayerState.h
+++ b/include/private/gui/LayerState.h
@@ -35,7 +35,7 @@ struct layer_state_t {
layer_state_t()
: surface(0), what(0),
- x(0), y(0), z(0), w(0), h(0),
+ x(0), y(0), z(0), w(0), h(0), layerStack(0),
alpha(0), flags(0), mask(0),
reserved(0)
{
@@ -60,6 +60,7 @@ struct layer_state_t {
uint32_t z;
uint32_t w;
uint32_t h;
+ uint32_t layerStack;
float alpha;
uint8_t flags;
uint8_t mask;