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

Unified Diff: gm/beziereffects.cpp

Issue 1121463002: Move bounds to GrBatch (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweaks Created 5 years, 8 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') | src/gpu/GrAARectRenderer.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 80f3c24a2c8478176c5dde1f2dc17e894ca86f55..0f17f01f7a77c0487e850a578b14dcc436038a59 100644
--- a/gm/beziereffects.cpp
+++ b/gm/beziereffects.cpp
@@ -243,7 +243,7 @@ protected:
SkAutoTUnref<GrBatch> batch(
BezierCubicOrConicTestBatch::Create(gp, geometry, klmEqs, klmSigns[c]));
- tt.target()->drawBatch(&pipelineBuilder, batch, NULL);
+ tt.target()->drawBatch(&pipelineBuilder, batch);
}
++col;
if (numCols == col) {
@@ -387,7 +387,7 @@ protected:
SkAutoTUnref<GrBatch> batch(
BezierCubicOrConicTestBatch::Create(gp, geometry, klmEqs, 1.f));
- tt.target()->drawBatch(&pipelineBuilder, batch, NULL);
+ tt.target()->drawBatch(&pipelineBuilder, batch);
}
++col;
if (numCols == col) {
@@ -641,7 +641,7 @@ protected:
SkAutoTUnref<GrBatch> batch(BezierQuadTestBatch::Create(gp, geometry, DevToUV));
- tt.target()->drawBatch(&pipelineBuilder, batch, NULL);
+ tt.target()->drawBatch(&pipelineBuilder, batch);
}
++col;
if (numCols == col) {
« no previous file with comments | « no previous file | gm/convexpolyeffect.cpp » ('j') | src/gpu/GrAARectRenderer.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698