summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2021-11-11 12:37:30 -0800
committer Alec Mouri <alecmouri@google.com> 2021-11-15 15:57:29 -0800
commit8b4ab814aed06a4afc22831390e0739c59f811ed (patch)
tree0b22bfd1780d83e8d96f5401ecc0788492c5bb4a /libs/gui/BLASTBufferQueue.cpp
parent465b2967f33f18e5e584dc8d18ce451b4590b331 (diff)
Only scale SDR luminance by content max luminance for tonemapping
If color conversion is SDR->SDR, then scale luminance only by the display luminance. The use-case is for applying a color transform, which was defined to occcur in linear space. Since uniform generation for tonemapping is (for now) dataspace-agnostic, this means that scaling by the content luminance should not be used since a tone-mapping operator may override the one that is provided by applications. Bug: 200310159 Test: builds, boots Test: librenderengine_test Change-Id: I2cc5860b6df064664c5e462674df20b589eae291
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions