summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2024-06-28 22:14:33 +0000
committer Alec Mouri <alecmouri@google.com> 2024-06-28 22:27:27 +0000
commit3bd7ec304869d91886da13d9035768ebf008b1eb (patch)
tree767425ea6f513ec7c950dbde8491d6a44341bf64 /libs/gui/LayerState.cpp
parentae98dd7339141a05f1cc239c54483f632f0e2805 (diff)
Sample from texel centers in downchunk shaders
Previously we weren't sampling from texel centers, which caused incorrect pixels to be sampled when using nearest neighbor sampling. Bug: 329464641 Flag: com.android.graphics.surfaceflinger.flags.local_tonemap_screenshots Test: librenderengine_test Test: Screenshots of UltraHDR and HDR video Change-Id: Id1e3ea070368aecb18e5bd1ae7093537c76f6ddf
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions