summaryrefslogtreecommitdiff
path: root/libs/ui/Gralloc2.cpp
diff options
context:
space:
mode:
author Robert Carr <racarr@google.com> 2017-05-09 12:16:54 -0700
committer Robert Carr <racarr@google.com> 2017-05-15 13:02:19 -0700
commit1e079c2804edfae77925150280fe79418e58750b (patch)
tree8a2dc5e609037b2156e17ff121f372c57a16e3df /libs/ui/Gralloc2.cpp
parentcd43683371f158b77e934e7cb71a9fdc65a122ed (diff)
SurfaceFlinger: setGeometryAppliesWithResize crop latching fixes.
The same sort of thing we had with setPosition...not sure why I didn't realize we would need the fixes here too! In particular we need to ensure the following scenarios work: 1. Additional calls to set(Final)Crop while in the setGeometryAppliesWithResize state are eventually applied. 2. Additional calls to set(Final)Crop while in the setGeometryAppliesWithResize state are not immediately applied. 3. When we latch the buffer completing the resize...current hasn't been swapped to drawing...which means our location in LayerRejector.cpp was the wrong place to update the crop. This raises questions about whether the Transparent region latching works. Bug: 37531386 Test: Included in Transaction_test. Change-Id: I5140d44fd5e591a4afe5bddc201db45f7bcb5674
Diffstat (limited to 'libs/ui/Gralloc2.cpp')
0 files changed, 0 insertions, 0 deletions