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

Unified Diff: gm/beziereffects.cpp

Issue 815553003: Move ViewMatrix off of drawstate (Closed) Base URL: https://skia.googlesource.com/skia.git@remove-fragment-stage
Patch Set: more cleaning Created 6 years 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') | no next file with comments »
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 b486404843163a6ff0d32be2dd3144d7e3f7ac0f..dd15aedfb2faea311afc2696dd4c3a7bd5476b03 100644
--- a/gm/beziereffects.cpp
+++ b/gm/beziereffects.cpp
@@ -92,7 +92,8 @@ protected:
continue;
}
GrPrimitiveEdgeType et = (GrPrimitiveEdgeType)edgeType;
- gp.reset(GrCubicEffect::Create(0xff000000, et, *tt.target()->caps()));
+ gp.reset(GrCubicEffect::Create(0xff000000, SkMatrix::I(), et,
+ *tt.target()->caps()));
if (!gp) {
continue;
}
@@ -250,8 +251,8 @@ protected:
continue;
}
GrPrimitiveEdgeType et = (GrPrimitiveEdgeType)edgeType;
- gp.reset(GrConicEffect::Create(0xff000000, et, *tt.target()->caps(),
- SkMatrix::I()));
+ gp.reset(GrConicEffect::Create(0xff000000, SkMatrix::I(), et,
+ *tt.target()->caps(), SkMatrix::I()));
if (!gp) {
continue;
}
@@ -440,8 +441,8 @@ protected:
continue;
}
GrPrimitiveEdgeType et = (GrPrimitiveEdgeType)edgeType;
- gp.reset(GrQuadEffect::Create(0xff000000, et, *tt.target()->caps(),
- SkMatrix::I()));
+ gp.reset(GrQuadEffect::Create(0xff000000, SkMatrix::I(), et,
+ *tt.target()->caps(), SkMatrix::I()));
if (!gp) {
continue;
}
« no previous file with comments | « no previous file | gm/convexpolyeffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698