summaryrefslogtreecommitdiff
path: root/libs/shaders/shaders.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2022-04-07 20:58:00 +0000
committer Alec Mouri <alecmouri@google.com> 2022-04-14 22:47:22 +0000
commit168f6ccfce328a1224297ba5b7af2779fcee0d9a (patch)
treef95fc435b3ba94f38046b2b85e69f48a92b3171a /libs/shaders/shaders.cpp
parent4d8a05d372f8cf40a294ed4e9718b54b51f15a34 (diff)
Set better defaults for layer stack and oriented display space
When the device is not logically rotated and there is a 90 degree or 270 degree physical installation, then the content rectangle and bounds of the layer stack space and the oriented display space must be consistent with the framebuffer space and un-oriented display space. That is, if the framebuffer space and un-oriented display space are in portrait, then the layer stack space and the oriented display space should be in landscape without any cropping effects. Prior to this patch, devices with a rotated physical install orientation would have its boot animation cropped due to the mismatch in the logical display space and physical display space Bug: 203165976 Test: boot animation is not cropped Change-Id: I965b6c0578e982fe1b2a4dbdb18c24b5922388a9
Diffstat (limited to 'libs/shaders/shaders.cpp')
0 files changed, 0 insertions, 0 deletions