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

Unified Diff: ui/gfx/color_space_win.cc

Issue 2742613002: color: Always use parametric color spaces for raster (Closed)
Patch Set: Incorporate review feedback 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 2ca5593668c0b463a56ca0e4ef9b13bc28ec29f7..75ab3234e2af2a379f9ff6291f518c62be556746 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_BASED:
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_BASED:
case gfx::ColorSpace::TransferID::CUSTOM:
case gfx::ColorSpace::TransferID::INVALID:
// Not handled
« 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