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

Unified Diff: ui/gfx/color_space.h

Issue 2950183002: color: Use ICCProfile from display::Display instead of FromBestMonitor (Closed)
Patch Set: Use forced color profile in display::Display ctor Created 3 years, 6 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/display/win/screen_win.cc ('k') | ui/gfx/color_space.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/color_space.h
diff --git a/ui/gfx/color_space.h b/ui/gfx/color_space.h
index 813d7d8088737f414381048e7cc487b1ed4546d0..5819c5fedeabb1c0fc7e3ffeaa2eb2642bf0e9fc 100644
--- a/ui/gfx/color_space.h
+++ b/ui/gfx/color_space.h
@@ -160,6 +160,12 @@ class COLOR_SPACE_EXPORT ColorSpace {
// Returns true if the encoded values can be outside of the 0.0-1.0 range.
bool FullRangeEncodedValues() const;
+ // Returns true if this color space can be represented parametrically.
+ bool IsParametric() const;
+ // Return a parametric approximation of this color space (if it is not already
+ // parametric).
+ gfx::ColorSpace GetParametricApproximation() const;
+
// Return this color space with any range adjust or YUV to RGB conversion
// stripped off.
gfx::ColorSpace GetAsFullRangeRGB() const;
« no previous file with comments | « ui/display/win/screen_win.cc ('k') | ui/gfx/color_space.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698