Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(758)

Unified Diff: ui/gfx/color_space_win.cc

Issue 2728173004: HDR: Do nonlinear blending in the compositor (Closed)
Patch Set: Fix windows build Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/color_space.cc ('k') | ui/gfx/color_transform.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/color_space_win.cc
diff --git a/ui/gfx/color_space_win.cc b/ui/gfx/color_space_win.cc
index acfb8205bd4a31b33e178450c77548de9ea3472a..2ca5593668c0b463a56ca0e4ef9b13bc28ec29f7 100644
--- a/ui/gfx/color_space_win.cc
+++ b/ui/gfx/color_space_win.cc
@@ -103,6 +103,7 @@ DXVA2_ExtendedFormat ColorSpaceWin::GetExtendedFormat(
format.VideoTransferFunction = DXVA2_VideoTransFunc_10;
break;
case gfx::ColorSpace::TransferID::IEC61966_2_1:
+ case gfx::ColorSpace::TransferID::IEC61966_2_1_HDR:
format.VideoTransferFunction = DXVA2_VideoTransFunc_sRGB;
break;
« no previous file with comments | « ui/gfx/color_space.cc ('k') | ui/gfx/color_transform.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698