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

Unified Diff: gm/beziereffects.cpp

Issue 1275083002: Don't pass pipeline to GrBatch::generateGeometry() (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 4 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') | 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 6e586196f43830dfc66643e3a60ef0cb0d2b51b6..d4ce0a42ece0750c8a08e207e9bffea0e2ecac59 100644
--- a/gm/beziereffects.cpp
+++ b/gm/beziereffects.cpp
@@ -70,7 +70,7 @@ private:
return &fGeometry;
}
- void onGenerateGeometry(GrBatchTarget* batchTarget, const GrPipeline* pipeline) override {
+ void onGenerateGeometry(GrBatchTarget* batchTarget) override {
QuadHelper helper;
size_t vertexStride = this->geometryProcessor()->getVertexStride();
SkASSERT(vertexStride == sizeof(Vertex));
@@ -466,7 +466,7 @@ private:
return &fGeometry;
}
- void onGenerateGeometry(GrBatchTarget* batchTarget, const GrPipeline* pipeline) override {
+ void onGenerateGeometry(GrBatchTarget* batchTarget) override {
QuadHelper helper;
size_t vertexStride = this->geometryProcessor()->getVertexStride();
SkASSERT(vertexStride == sizeof(Vertex));
« 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