diff options
Diffstat (limited to 'src/gpu/GrAAHairLinePathRenderer.h')
-rw-r--r-- | src/gpu/GrAAHairLinePathRenderer.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/gpu/GrAAHairLinePathRenderer.h b/src/gpu/GrAAHairLinePathRenderer.h index ea1d8edd65..91c00d78c3 100644 --- a/src/gpu/GrAAHairLinePathRenderer.h +++ b/src/gpu/GrAAHairLinePathRenderer.h @@ -42,6 +42,31 @@ private: const GrIndexBuffer* fLinesIndexBuffer, const GrIndexBuffer* fQuadsIndexBuffer); + bool createLineGeom(GrDrawTarget* target, + GrPipelineBuilder*, + const SkMatrix& viewMatrix, + uint8_t coverage, + size_t vertexStride, + GrDrawTarget::AutoReleaseGeometry* arg, + SkRect* devBounds, + const SkPath& path, + const PtArray& lines, + int lineCnt); + + bool createBezierGeom(GrDrawTarget* target, + GrPipelineBuilder*, + const SkMatrix& viewMatrix, + GrDrawTarget::AutoReleaseGeometry* arg, + SkRect* devBounds, + const SkPath& path, + const PtArray& quads, + int quadCnt, + const PtArray& conics, + int conicCnt, + const IntArray& qSubdivs, + const FloatArray& cWeights, + size_t vertexStride); + const GrIndexBuffer* fLinesIndexBuffer; const GrIndexBuffer* fQuadsIndexBuffer; |