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

Unified Diff: include/core/SkColorSpace.h

Issue 2377763002: Added kSRGBLinear_Named color space, along with tests (Closed)
Patch Set: Update some call sites Created 4 years, 3 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: include/core/SkColorSpace.h
diff --git a/include/core/SkColorSpace.h b/include/core/SkColorSpace.h
index b2b005e4aa6b8c2e6e82b4f36474a5daec68dea9..24bce488751dfd9420916f13926eec8269dd8afa 100644
--- a/include/core/SkColorSpace.h
+++ b/include/core/SkColorSpace.h
@@ -31,6 +31,11 @@ public:
* Often used by images and monitors.
*/
kAdobeRGB_Named,
+
+ /**
+ * Colorspace with the sRGB primaries, but a linear (1.0) gamma.
msarett 2016/09/27 20:53:52 Might be interesting to comment on why this is int
+ */
+ kSRGBLinear_Named,
};
enum RenderTargetGamma : uint8_t {
« no previous file with comments | « gm/colorspacexform.cpp ('k') | src/core/SkColorSpace.cpp » ('j') | src/core/SkColorSpace.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698