Indexed drawing for paths with multiple contours
Review URL: http://codereview.appspot.com/4648071/
git-svn-id: http://skia.googlecode.com/svn/trunk@1800 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/include/GrPathRenderer.h b/gpu/include/GrPathRenderer.h
index 6bc91b5..e305704 100644
--- a/gpu/include/GrPathRenderer.h
+++ b/gpu/include/GrPathRenderer.h
@@ -241,7 +241,7 @@
void onDrawPath(GrDrawTarget::StageBitfield stages, bool stencilOnly);
- void createGeom(GrScalar srcSpaceTolSqd,
+ bool createGeom(GrScalar srcSpaceTol,
GrDrawTarget::StageBitfield stages);
bool fSeparateStencil;
@@ -249,9 +249,12 @@
int fSubpathCount;
SkAutoSTMalloc<8, uint16_t> fSubpathVertCount;
+ int fIndexCnt;
+ int fVertexCnt;
GrScalar fPreviousSrcTol;
GrDrawTarget::StageBitfield fPreviousStages;
-
+ GrPrimitiveType fPrimitiveType;
+ bool fUseIndexedDraw;
typedef GrPathRenderer INHERITED;
};