diff options
| author | 2016-06-16 15:18:02 -0700 | |
|---|---|---|
| committer | 2016-06-21 16:28:41 -0700 | |
| commit | 99e27f0bc236e38d88ff4f9912ede514a729b8eb (patch) | |
| tree | 17bcbc4da8aeee91ac1ba9371a5c061974c24f5c /include/gui/SurfaceComposerClient.h | |
| parent | f9d7e1a0aa05bb47527f054b85a36f16e7955088 (diff) | |
Change setPositionAppliesWithResize to apply to all geometry.
To support seamless rotation, change setPositionAppliesWithResize
to also include the crop. As the transformation matrix is already
frozen during resize, this enables the window manager to set the
total geometry state before and after resize in a race free fashion.
Bug: 28823590
Change-Id: I3f8f0e162b7ef4e9403c1220c7e4191b3ef30526
Diffstat (limited to 'include/gui/SurfaceComposerClient.h')
| -rw-r--r-- | include/gui/SurfaceComposerClient.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gui/SurfaceComposerClient.h b/include/gui/SurfaceComposerClient.h index 312e02f1dc..3d6051e8b6 100644 --- a/include/gui/SurfaceComposerClient.h +++ b/include/gui/SurfaceComposerClient.h @@ -140,7 +140,7 @@ 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 setGeometryAppliesWithResize(const sp<IBinder>& id); status_t destroySurface(const sp<IBinder>& id); |