diff options
Diffstat (limited to 'include/gui/SurfaceControl.h')
-rw-r--r-- | include/gui/SurfaceControl.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/gui/SurfaceControl.h b/include/gui/SurfaceControl.h index fafd1948fe..5e731c3964 100644 --- a/include/gui/SurfaceControl.h +++ b/include/gui/SurfaceControl.h @@ -73,10 +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 + // If the size changes in this transaction, all geometry updates specified // in this transaction will not complete until a buffer of the new size - // arrives. - status_t setPositionAppliesWithResize(); + // arrives. As some elements normally apply immediately, this enables + // freezing the total geometry of a surface until a resize is completed. + status_t setGeometryAppliesWithResize(); // Defers applying any changes made in this transaction until the Layer // identified by handle reaches the given frameNumber @@ -96,6 +97,8 @@ public: status_t clearLayerFrameStats() const; status_t getLayerFrameStats(FrameStats* outStats) const; + status_t getTransformToDisplayInverse(bool* outTransformToDisplayInverse) const; + private: // can't be copied SurfaceControl& operator = (SurfaceControl& rhs); |