Skip to content

Commit a128344

Browse files
Treehugger RobotGerrit Code Review
authored andcommitted
Merge "Modify dimming threshold from 0.2 to 0.9." into main
2 parents df516d7 + 296566e commit a128344

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libs/renderengine/skia/SkiaRenderEngine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ void SkiaRenderEngine::drawLayersInternal(
10221022
.fakeOutputDataspace = fakeDataspace}));
10231023

10241024
// Turn on dithering when dimming beyond this (arbitrary) threshold...
1025-
static constexpr float kDimmingThreshold = 0.2f;
1025+
static constexpr float kDimmingThreshold = 0.9f;
10261026
// ...or we're rendering an HDR layer down to an 8-bit target
10271027
// Most HDR standards require at least 10-bits of color depth for source content, so we
10281028
// can just extract the transfer function rather than dig into precise gralloc layout.

0 commit comments

Comments
 (0)