diff options
| author | 2022-09-14 22:24:17 +0000 | |
|---|---|---|
| committer | 2022-09-21 18:22:48 +0000 | |
| commit | 439b60968f1fe544b79a5c5ba4657fca9e82b54a (patch) | |
| tree | 59f7f7a550bdaf0bb99288e5ff21d344ed55cc72 /libs/gui/BufferQueueThreadState.cpp | |
| parent | eebf7c3ba2c969ba53cee6af6619112f10e2fefd (diff) | |
Remove coordinate swapping in region sampling
Captured screens for region sampling were originally rendered
upside-down, which required swapping coordinates to sample from the
correct area in the output buffer. Since then, several fixes to the
screenshot path have landed, which treat screen orientation
consistently, so the captured images are no longer upside-down. But,
the coordinate swapping was never removed. Remove it now, as sampling
during landscape is now broken.
Bug: 133849373
Bug: 241967077
Test: Split screen in landscape with settings app in dark mode,
calculator in light mode, and trigger back gestures
Change-Id: I52c65032d33d01a4407dc1b30215e7edac6eb1ea
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions