diff options
| author | 2021-07-08 14:31:48 -0700 | |
|---|---|---|
| committer | 2021-07-08 15:26:25 -0700 | |
| commit | 7c4913dc2e12dc82351346523ba9ed33c3b50d49 (patch) | |
| tree | d9762846a5f4ff56e6d07092bcd969850603ff0f /libs/gui/BufferQueueThreadState.cpp | |
| parent | 076276f7b8b5e0501a9f96e564d655020128dc31 (diff) | |
Actually use texture bounds in CachedSet::getTextureBounds
Virtual displays may be projected onto a display area that is a
subrectangle of the display size. Because the flattened buffer for a
CachedSet is display-size, we need to use the display size as the
display frame instead of the framebuffer output rectangle. Otherwise, we
would be blitting the contents of the display-sized texture onto a
smaller area, which causes an unintended scale.
Bug: 191328868
Test: Simulating secondary displays does not squash the content.
Test: libcompositionengine_test
Change-Id: I79d56a998e4f7fc030191fed50002354c3c18561
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions