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

Unified Diff: ui/gfx/color_space_win.cc

Issue 2742613002: color: Always use parametric color spaces for raster (Closed)
Patch Set: More comment cleanup 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
Index: ui/gfx/color_space_win.cc
diff --git a/ui/gfx/color_space_win.cc b/ui/gfx/color_space_win.cc
index 2ca5593668c0b463a56ca0e4ef9b13bc28ec29f7..25cfb13896241b5d870c73c96056a6d13047ccc1 100644
--- a/ui/gfx/color_space_win.cc
+++ b/ui/gfx/color_space_win.cc
@@ -78,6 +78,7 @@ DXVA2_ExtendedFormat ColorSpaceWin::GetExtendedFormat(
case gfx::ColorSpace::PrimaryID::SMPTEST432_1:
case gfx::ColorSpace::PrimaryID::XYZ_D50:
case gfx::ColorSpace::PrimaryID::ADOBE_RGB:
+ case gfx::ColorSpace::PrimaryID::ICC_PROFILE_REQUIRED:
case gfx::ColorSpace::PrimaryID::CUSTOM:
case gfx::ColorSpace::PrimaryID::INVALID:
// Not handled
@@ -118,6 +119,7 @@ DXVA2_ExtendedFormat ColorSpaceWin::GetExtendedFormat(
case gfx::ColorSpace::TransferID::ARIB_STD_B67:
case gfx::ColorSpace::TransferID::GAMMA24:
case gfx::ColorSpace::TransferID::SMPTEST2084_NON_HDR:
+ case gfx::ColorSpace::TransferID::ICC_PROFILE_REQUIRED:
case gfx::ColorSpace::TransferID::CUSTOM:
case gfx::ColorSpace::TransferID::INVALID:
// Not handled

Powered by Google App Engine
This is Rietveld 408576698