summaryrefslogtreecommitdiff
path: root/include/private
diff options
context:
space:
mode:
authorRob Carr <racarr@google.com>2017-03-01 17:49:23 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-03-01 17:49:27 +0000
commit77c073bdbe1b24a332056e1194a6162b7717a848 (patch)
treefefa2a6dc41aa65e35c8cc06d9dddaf64fc7b665 /include/private
parent5ebcd56c6f57514f7833e7528a08d8ca55c48f69 (diff)
parent9524cb3b37a91b5741790c77ff24fd825b02bca7 (diff)
downloadnative-77c073bdbe1b24a332056e1194a6162b7717a848.tar.gz
Merge changes from topic 'surfaceview-without-wm'
* changes: Add detachChildren transaction. Add deferTransaction variant taking GraphicBufferProducer.
Diffstat (limited to 'include/private')
-rw-r--r--include/private/gui/LayerState.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/private/gui/LayerState.h b/include/private/gui/LayerState.h
index 0bcff465d0..20f51a57ce 100644
--- a/include/private/gui/LayerState.h
+++ b/include/private/gui/LayerState.h
@@ -24,6 +24,7 @@
#include <ui/Region.h>
#include <ui/Rect.h>
+#include <gui/IGraphicBufferProducer.h>
namespace android {
@@ -57,6 +58,7 @@ struct layer_state_t {
eOverrideScalingModeChanged = 0x00000800,
eGeometryAppliesWithResize = 0x00001000,
eReparentChildren = 0x00002000,
+ eDetachChildren = 0x00004000
};
layer_state_t()
@@ -95,10 +97,13 @@ struct layer_state_t {
matrix22_t matrix;
Rect crop;
Rect finalCrop;
- sp<IBinder> handle;
+ sp<IBinder> barrierHandle;
sp<IBinder> reparentHandle;
uint64_t frameNumber;
int32_t overrideScalingMode;
+
+ sp<IGraphicBufferProducer> barrierGbp;
+
// non POD must be last. see write/read
Region transparentRegion;
};