summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Leon Scroggins III <scroggo@google.com> 2022-03-03 14:54:00 -0500
committer Leon Scroggins III <scroggo@google.com> 2022-03-03 14:58:44 -0500
commitcf17ebca2f554c5984dc61f0b6755282e0772962 (patch)
tree202dee20b509d1e254aae184e4a0f0be98245804 /libs/gui/BLASTBufferQueue.cpp
parent757c9f21446094fb8dfd07de21f0c8ac688cbb1e (diff)
More thorough check for expensive rendering
The intent of this check is to determine whether we need to do any color conversion. For simplicity, we assumed we would need to do color conversion if the display is P3. This isn't necessarily the case, though; if all the input buffers are P3, we won't need color conversion. And if the display is anything besides P3, we still may need it. Check all the layers; if any does not match the outputDataspace, we will do color conversion. Bug: 221067687 Test: manual (logcat) Test: jank tracking Change-Id: I5c77769cf9fd2f07806c97022fa4bb940bfcc1ac
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions