diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-04-18 19:36:09 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-04-18 19:36:09 +0000 |
commit | 018f179efb2413431bdb1a9e6701eb44ef36b792 (patch) | |
tree | a3387cdc6a8846100725d55667c3d41b5a1e83dc /src/gpu/GrAAConvexPathRenderer.cpp | |
parent | b98e5d0a9308657469b2b38067f58d9a5c2b4b66 (diff) |
Expand modulate, add, subtract, extract component glsl helpers.
Review URL: https://codereview.chromium.org/13895006
git-svn-id: http://skia.googlecode.com/svn/trunk@8755 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrAAConvexPathRenderer.cpp')
-rw-r--r-- | src/gpu/GrAAConvexPathRenderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrAAConvexPathRenderer.cpp b/src/gpu/GrAAConvexPathRenderer.cpp index d011db25f1..22964e5788 100644 --- a/src/gpu/GrAAConvexPathRenderer.cpp +++ b/src/gpu/GrAAConvexPathRenderer.cpp @@ -508,7 +508,7 @@ public: "clamp(0.5 - edgeAlpha / length(gF), 0.0, 1.0);\n\t\t}\n"); SkString modulate; - GrGLSLModulate4f(&modulate, inputColor, "edgeAlpha"); + GrGLSLModulatef<4>(&modulate, inputColor, "edgeAlpha"); builder->fsCodeAppendf("\t%s = %s;\n", outputColor, modulate.c_str()); builder->vsCodeAppendf("\t%s = %s;\n", vsName, attrName->c_str()); |