Index: include/gpu/GrAARectRenderer.h |
=================================================================== |
--- include/gpu/GrAARectRenderer.h (revision 9163) |
+++ include/gpu/GrAARectRenderer.h (working copy) |
@@ -64,9 +64,16 @@ |
const GrRect& rect, |
const SkMatrix& combinedMatrix, |
const GrRect& devRect, |
- const GrVec& devStrokeSize, |
+ SkScalar width, |
bool useVertexCoverage); |
+ // First rect is outer; second rect is inner |
+ void fillAANestedRects(GrGpu* gpu, |
+ GrDrawTarget* target, |
+ const SkRect rects[2], |
+ const SkMatrix& combinedMatrix, |
+ bool useVertexCoverage); |
+ |
private: |
GrIndexBuffer* fAAFillRectIndexBuffer; |
GrIndexBuffer* fAAStrokeRectIndexBuffer; |
@@ -95,6 +102,12 @@ |
const GrRect& rect, |
const SkMatrix& combinedMatrix); |
+ void geometryStrokeAARect(GrGpu* gpu, |
+ GrDrawTarget* target, |
+ const SkRect& devOutside, |
+ const SkRect& devInside, |
+ bool useVertexCoverage); |
+ |
typedef GrRefCnt INHERITED; |
}; |