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

Unified Diff: src/gpu/effects/GrDistanceFieldTextureEffect.cpp

Issue 865103002: fLuminance is unsed unless SK_GAMMA_APPLY_TO_A8 is defined (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/effects/GrDistanceFieldTextureEffect.cpp
diff --git a/src/gpu/effects/GrDistanceFieldTextureEffect.cpp b/src/gpu/effects/GrDistanceFieldTextureEffect.cpp
index f65492e9f08d31493d98537d47178664b3365b4a..28220a72ec72dcf2b7489e79587de8d961a1c1f9 100755
--- a/src/gpu/effects/GrDistanceFieldTextureEffect.cpp
+++ b/src/gpu/effects/GrDistanceFieldTextureEffect.cpp
@@ -185,7 +185,9 @@ private:
UniformHandle fTextureSizeUni;
SkISize fTextureSize;
UniformHandle fLuminanceUni;
+#ifdef SK_GAMMA_APPLY_TO_A8
float fLuminance;
+#endif
typedef GrGLGeometryProcessor INHERITED;
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698