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

Unified Diff: ui/gfx/color_space.h

Issue 2641143004: Add LINEAR_HDR so that the linear scRGB colorspace will be HDR (Closed)
Patch Set: windows compile fix Created 3 years, 11 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 | « no previous file | 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 df90dabaff1d773ee594d960b5d246bd692c0487..dc54cb7b5066a3ec7b87f167f869af8b9e22e72f 100644
--- a/ui/gfx/color_space.h
+++ b/ui/gfx/color_space.h
@@ -90,6 +90,8 @@ class GFX_EXPORT ColorSpace {
// TODO(hubbe): Need to store an approximation of the gamma function(s).
CUSTOM,
+ // Like LINEAR, but intended for HDR. (can go outside of 0-1)
+ LINEAR_HDR,
LAST = CUSTOM,
};
« no previous file with comments | « no previous file | ui/gfx/color_space.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698