Chromium Code Reviews

Unified Diff: src/gpu/GrAARectRenderer.cpp

Issue 13895006: Expand modulate, add, subtract, extract component glsl helpers. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/gpu/GrAARectRenderer.cpp
===================================================================
--- src/gpu/GrAARectRenderer.cpp (revision 8735)
+++ src/gpu/GrAARectRenderer.cpp (working copy)
@@ -100,7 +100,7 @@
fsWidthHeightName);
SkString modulate;
- GrGLSLModulate4f(&modulate, inputColor, "coverage");
+ GrGLSLModulatef<4>(&modulate, inputColor, "coverage");
builder->fsCodeAppendf("\t%s = %s;\n", outputColor, modulate.c_str());
}

Powered by Google App Engine