summaryrefslogtreecommitdiff
path: root/libs/gui/QueueBufferInputOutput.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2020-11-17 17:42:37 -0800
committer Vishnu Nair <vishnun@google.com> 2020-11-17 17:42:37 -0800
commitea0de00dd9dfc03d83b0001b587fbf761493468e (patch)
tree2ec0d9c2698a100789316ad26a1022064a11d60a /libs/gui/QueueBufferInputOutput.cpp
parentb8871072670285c34d18c762d483b553c5473557 (diff)
BlastBufferQueue: Add buffer rejection
Second attempt at rejecting buffers that do not match layer size when buffer scaling mode is set to freeze. If we dont reject the buffers, the layer will scale the buffers incorrectly. However we do not want to reject buffers that were rendered before the size change. To prevent this, we gate the size change until we receive the first buffer with the requested size. Bug: 168504870 Test: atest SurfaceViewBufferTests libgui_test Test: go/wm-tests, check logs for no rejected buffers Change-Id: I3cc43b2bbf32b4fe6cd8d540967f217c0593aa57
Diffstat (limited to 'libs/gui/QueueBufferInputOutput.cpp')
0 files changed, 0 insertions, 0 deletions