diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/gui/SurfaceComposerClient.h | 2 | ||||
| -rw-r--r-- | include/gui/SurfaceControl.h | 5 | ||||
| -rw-r--r-- | include/private/gui/LayerState.h | 3 |
3 files changed, 9 insertions, 1 deletions
diff --git a/include/gui/SurfaceComposerClient.h b/include/gui/SurfaceComposerClient.h index 73f923c237..312e02f1dc 100644 --- a/include/gui/SurfaceComposerClient.h +++ b/include/gui/SurfaceComposerClient.h @@ -140,6 +140,8 @@ public: const sp<IBinder>& handle, uint64_t frameNumber); status_t setOverrideScalingMode(const sp<IBinder>& id, int32_t overrideScalingMode); + status_t setPositionAppliesWithResize(const sp<IBinder>& id); + status_t destroySurface(const sp<IBinder>& id); status_t clearLayerFrameStats(const sp<IBinder>& token) const; 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); diff --git a/include/private/gui/LayerState.h b/include/private/gui/LayerState.h index 92d31d1012..4885e05d04 100644 --- a/include/private/gui/LayerState.h +++ b/include/private/gui/LayerState.h @@ -54,7 +54,8 @@ struct layer_state_t { eCropChanged = 0x00000100, eDeferTransaction = 0x00000200, eFinalCropChanged = 0x00000400, - eOverrideScalingModeChanged = 0x00000800 + eOverrideScalingModeChanged = 0x00000800, + ePositionAppliesWithResize = 0x00001000, }; layer_state_t() |