From 82364e3cea0bf88fa8147766433329b3dd5148b8 Mon Sep 17 00:00:00 2001 From: Robert Carr Date: Sun, 15 May 2016 11:27:47 -0700 Subject: SurfaceFlinger: Add mode to apply position with resize. For some cases, like scaled windows with shadows, we need to be able to apply the position concurrent with window resize. This is because the scaling of the shadows causes the top left coordinate of the non shadow surface content to change before and after the resize. Bug: 28899837 Change-Id: I522eacfbbcd79707dc1e5ab71901a263b3004ba9 --- include/gui/SurfaceComposerClient.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/gui/SurfaceComposerClient.h') 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& handle, uint64_t frameNumber); status_t setOverrideScalingMode(const sp& id, int32_t overrideScalingMode); + status_t setPositionAppliesWithResize(const sp& id); + status_t destroySurface(const sp& id); status_t clearLayerFrameStats(const sp& token) const; -- cgit v1.2.3-59-g8ed1b