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

Unified Diff: gm/beziereffects.cpp

Issue 149683004: Add convex polygon rendering effect and GM to test it. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: more cleanup Created 6 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 | gm/convexpolyeffect.cpp » ('j') | gm/convexpolyeffect.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/beziereffects.cpp
diff --git a/gm/beziereffects.cpp b/gm/beziereffects.cpp
index c33674caad726da9a3cd30f044e8a418fc164a5d..b35c4f96f4606ec7d370a48410413c035f2e7f61 100644
--- a/gm/beziereffects.cpp
+++ b/gm/beziereffects.cpp
@@ -23,7 +23,7 @@
// Position & KLM line eq values. These are the vertex attributes for Bezier curves. The last value
// of the Vec4f is ignored.
-extern const GrVertexAttrib kAttribs[] = {
+static const GrVertexAttrib kAttribs[] = {
bsalomon 2014/01/29 20:18:30 I think this will break some compilers because it
robertphillips 2014/01/29 20:57:55 Yep - I seem to recall the extern was required.
{kVec2f_GrVertexAttribType, 0, kPosition_GrVertexAttribBinding},
{kVec4f_GrVertexAttribType, sizeof(GrPoint), kEffect_GrVertexAttribBinding}
};
« no previous file with comments | « no previous file | gm/convexpolyeffect.cpp » ('j') | gm/convexpolyeffect.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698