diff options
Diffstat (limited to 'include/gpu/GrAARectRenderer.h')
-rw-r--r-- | include/gpu/GrAARectRenderer.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/gpu/GrAARectRenderer.h b/include/gpu/GrAARectRenderer.h index 0cf7faac05..84dd52fe94 100644 --- a/include/gpu/GrAARectRenderer.h +++ b/include/gpu/GrAARectRenderer.h @@ -15,6 +15,7 @@ class GrGpu; class GrDrawTarget; class GrIndexBuffer; +class SkMatrix; /* * This class wraps helper functions that draw AA rects (filled & stroked) @@ -35,7 +36,7 @@ public: } // TODO: potentialy fuse the fill & stroke methods and differentiate - // btween them by passing in strokeWidth (<0 means fill). + // between them by passing in strokeWidth (<0 means fill). // TODO: Remove the useVertexCoverage boolean. Just use it all the time // since we now have a coverage vertex attribute @@ -44,6 +45,13 @@ public: const GrRect& devRect, bool useVertexCoverage); + void shaderFillAARect(GrGpu* gpu, + GrDrawTarget* target, + const GrRect& rect, + const SkMatrix& combinedMatrix, + const GrRect& devRect, + bool useVertexCoverage); + void strokeAARect(GrGpu* gpu, GrDrawTarget* target, const GrRect& devRect, |