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

Unified Diff: src/gpu/GrOvalRenderer.cpp

Issue 1806983002: Update how we send draws to gpu backend to reduce state setting. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: nit Created 4 years, 9 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 | « src/gpu/GrMesh.h ('k') | src/gpu/GrPathRendering.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrOvalRenderer.cpp
diff --git a/src/gpu/GrOvalRenderer.cpp b/src/gpu/GrOvalRenderer.cpp
index d1b8a6b1fb42e122057a36fc2271e052b2f6cbf9..d0be27d9b0828f33e82938f7fe45f23f99f2c477 100644
--- a/src/gpu/GrOvalRenderer.cpp
+++ b/src/gpu/GrOvalRenderer.cpp
@@ -607,7 +607,7 @@ private:
// Setup geometry processor
SkAutoTUnref<GrGeometryProcessor> gp(new CircleGeometryProcessor(fStroked, localMatrix));
- target->initDraw(gp, this->pipeline());
+ target->initDraw(gp);
int instanceCount = fGeoData.count();
size_t vertexStride = gp->getVertexStride();
@@ -793,7 +793,7 @@ private:
// Setup geometry processor
SkAutoTUnref<GrGeometryProcessor> gp(new EllipseGeometryProcessor(fStroked, localMatrix));
- target->initDraw(gp, this->pipeline());
+ target->initDraw(gp);
int instanceCount = fGeoData.count();
QuadHelper helper;
@@ -1011,7 +1011,7 @@ private:
SkAutoTUnref<GrGeometryProcessor> gp(new DIEllipseGeometryProcessor(this->viewMatrix(),
this->style()));
- target->initDraw(gp, this->pipeline());
+ target->initDraw(gp);
int instanceCount = fGeoData.count();
size_t vertexStride = gp->getVertexStride();
@@ -1278,7 +1278,7 @@ private:
// Setup geometry processor
SkAutoTUnref<GrGeometryProcessor> gp(new CircleGeometryProcessor(fStroked, localMatrix));
- target->initDraw(gp, this->pipeline());
+ target->initDraw(gp);
int instanceCount = fGeoData.count();
size_t vertexStride = gp->getVertexStride();
@@ -1426,7 +1426,7 @@ private:
// Setup geometry processor
SkAutoTUnref<GrGeometryProcessor> gp(new EllipseGeometryProcessor(fStroked, localMatrix));
- target->initDraw(gp, this->pipeline());
+ target->initDraw(gp);
int instanceCount = fGeoData.count();
size_t vertexStride = gp->getVertexStride();
« no previous file with comments | « src/gpu/GrMesh.h ('k') | src/gpu/GrPathRendering.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698