summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2020-12-03 11:46:37 -0800
committer Vishnu Nair <vishnun@google.com> 2020-12-03 12:26:57 -0800
commit53c936ca72e18579f446a59765bc99770a49dd20 (patch)
treece1eb53780ef7b2ef487d5760929e283ab1155fb /services/surfaceflinger/RegionSamplingThread.cpp
parent83d524326dc60d0cc51e6315c06398bf742f6c86 (diff)
BlastBufferQueue: Update layer size immediately if the buffer can scale
SurfaceView size changes should be reflected immediately instead of waiting for a new buffer. If the scaling mode is not freeze, the expected behaviour is for the layer size to be update immediately. If a buffer is present, it will be scaled to the new size. If the buffer has scaling mode freeze, then the size changes will continue to be deferred until we recieve the new buffer of the new size. Fixes: 174217687 Test: atest SurfaceViewBufferTests:GeometryTests Change-Id: I19b6378de63be905db3d9c709cce0f4f26acce18
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions