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

Unified Diff: gm/color4f.cpp

Issue 2319293002: Rename SkColorSpace::GammaNamed to SkColorSpace::RenderTargetGamma (Closed)
Patch Set: Keep compatible with Chrome 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
« no previous file with comments | « no previous file | gm/gamut.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/color4f.cpp
diff --git a/gm/color4f.cpp b/gm/color4f.cpp
index b3be57bdf9d0525e3b805391bfdbd09c94d22ffd..2f8684293d547f2af164d3d725e398c1662c123d 100644
--- a/gm/color4f.cpp
+++ b/gm/color4f.cpp
@@ -112,8 +112,8 @@ DEF_SIMPLE_GM(color4shader, canvas, 1024, 260) {
sk_sp<SkShader> shaders[] {
SkShader::MakeColorShader(c4, nullptr),
SkShader::MakeColorShader(c4, SkColorSpace::NewNamed(SkColorSpace::kSRGB_Named)),
- SkShader::MakeColorShader(c4, SkColorSpace::NewRGB(SkColorSpace::kLinear_GammaNamed,
- mat)),
+ SkShader::MakeColorShader(c4,
+ SkColorSpace::NewRGB(SkColorSpace::kLinear_RenderTargetGamma, mat)),
};
canvas->save();
« no previous file with comments | « no previous file | gm/gamut.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698