Fix Raised Black Levels on Steam Deck OLED (#1265)

Add getDecoderColorRange to plvk
This commit is contained in:
Dylan Frankcom authored and GitHub committed 2024-04-30 20:31:00 -05:00
1 parent 1cd588f25c
commit 58e27875ae
2 files changed
+7

No files matched your search

@@ -905,6 +905,12 @@ int PlVkRenderer::getRendererAttributes()
return attributes;
}
int PlVkRenderer::getDecoderColorRange()
{
// Explicitly set the color range to full to fix raised black levels on OLED displays
return COLOR_RANGE_FULL;
}
int PlVkRenderer::getDecoderCapabilities()
{
return CAPABILITY_REFERENCE_FRAME_INVALIDATION_HEVC |