summaryrefslogtreecommitdiff
path: root/include/gui/SurfaceControl.h
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2016-06-07 20:42:03 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2016-06-07 20:42:03 +0000
commitc3da482bb8081ee2c19b5965585267b8e21cfc7e (patch)
tree8db5574b9637eccfbd759bb537591565e30eced2 /include/gui/SurfaceControl.h
parent0950fb3d20d100f62961db1cc3eff51b51f9ca6b (diff)
parent82364e3cea0bf88fa8147766433329b3dd5148b8 (diff)
Merge "SurfaceFlinger: Add mode to apply position with resize." into nyc-dev
Diffstat (limited to 'include/gui/SurfaceControl.h')
-rw-r--r--include/gui/SurfaceControl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/gui/SurfaceControl.h b/include/gui/SurfaceControl.h
index bedebb6051..fafd1948fe 100644
--- a/include/gui/SurfaceControl.h
+++ b/include/gui/SurfaceControl.h
@@ -73,6 +73,11 @@ public:
status_t setCrop(const Rect& crop);
status_t setFinalCrop(const Rect& crop);
+ // If the size changes in this transaction, position updates specified
+ // in this transaction will not complete until a buffer of the new size
+ // arrives.
+ status_t setPositionAppliesWithResize();
+
// Defers applying any changes made in this transaction until the Layer
// identified by handle reaches the given frameNumber
status_t deferTransactionUntil(sp<IBinder> handle, uint64_t frameNumber);