summaryrefslogtreecommitdiff
path: root/libs/shaders/shaders.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2021-12-16 07:16:04 -0800
committer Prabir Pradhan <prabirmsp@google.com> 2022-01-28 09:18:22 -0800
commit6fa425a82c0ff753d7bd1b98eef1d70154c54f88 (patch)
tree8094f246fb640f61053ae8d73066dd1675d39fd4 /libs/shaders/shaders.cpp
parent163ccac62a7c185800de10b3f3dccdd57a025ab5 (diff)
SF: Calculate WindowInfo frame correctly for all layers
The old logic skipped transform calculation using an early return if the layer bounds were invalid. This skipped the calculations which transformed the WindowInfo frame into display space. This also resulted in container layers being misconfigured, since they did not have their input bounds calculated correctly. Allow all layers to have their WindowInfo calculated correctly in display space, even if their input bounds happen to be invalid. Bug: 162194035 Test: atest libgui_test Test: manual Change-Id: I7b3c361bb9a12adf52586d3a940501e4d8a9e667
Diffstat (limited to 'libs/shaders/shaders.cpp')
0 files changed, 0 insertions, 0 deletions