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

Unified Diff: src/core/SkShader.cpp

Issue 1726983002: Retire SkShader::kSupports4f_Flag (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: kPrefers4f_Flag Created 4 years, 10 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: src/core/SkShader.cpp
diff --git a/src/core/SkShader.cpp b/src/core/SkShader.cpp
index 9d0af03078ad31c707c44ddfb0aca8799748ea94..e36df5b5af057df6fcacdff6277e3e7f8d667c46 100644
--- a/src/core/SkShader.cpp
+++ b/src/core/SkShader.cpp
@@ -298,7 +298,7 @@ SkColorShader::ColorShaderContext::ColorShaderContext(const SkColorShader& shade
c4.fA *= rec.fPaint->getAlpha() / 255.0f;
fPM4f = c4.premul();
- fFlags = kConstInY32_Flag | kSupports4f_Flag;
+ fFlags = kConstInY32_Flag;
if (255 == a) {
fFlags |= kOpaqueAlpha_Flag;
}

Powered by Google App Engine
This is Rietveld 408576698