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

Unified Diff: ui/gfx/color_space.h

Issue 2873203003: color: Add --force-color-profile command line flag (Closed)
Patch Set: Created 3 years, 7 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/BUILD.gn ('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 643a69ccbe54694dad5b7a052188686f92b7bdd8..a493a12700dd4ee78387ba9151897384a2a00772 100644
--- a/ui/gfx/color_space.h
+++ b/ui/gfx/color_space.h
@@ -54,6 +54,7 @@ class GFX_EXPORT ColorSpace {
enum class TransferID : uint8_t {
INVALID,
BT709,
+ GAMMA18,
GAMMA22,
GAMMA24,
GAMMA28,
@@ -69,6 +70,9 @@ class GFX_EXPORT ColorSpace {
BT2020_12,
SMPTEST2084,
SMPTEST428_1,
+ // Corresponds the the primaries of the "Generic RGB" profile used in the
+ // Apple ColorSync application, used by layout tests on Mac.
+ APPLE_GENERIC_RGB,
ARIB_STD_B67, // AKA hybrid-log gamma, HLG.
// This is an ad-hoc transfer function that decodes SMPTE 2084 content
// into a [0, 1] range more or less suitable for viewing on a non-hdr
« no previous file with comments | « ui/gfx/BUILD.gn ('k') | ui/gfx/color_space.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698