diff options
author | Brian Salomon <bsalomon@google.com> | 2016-12-08 16:57:38 +0000 |
---|---|---|
committer | Brian Salomon <bsalomon@google.com> | 2016-12-08 17:11:46 +0000 |
commit | 419d81eed4a010e6080db199795117cbedf9e6e4 (patch) | |
tree | 7e11b85514db3fe6c7c7f43f8c07d2839eda7bed /src/gpu/GrRenderTargetContextPriv.h | |
parent | a92c383e2f1ceb0323aef79fa444450e6a3e1c03 (diff) |
Revert "Remove antialiasing control from GrPaint."
This reverts commit 9f549358b3ac9f61e78b194e39d6ac6eb322e35e.
Reason for revert: hitting asserts
Change-Id: I542d34edc05ecf72b7646263f25736a0950c78e7
Reviewed-on: https://skia-review.googlesource.com/5707
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrRenderTargetContextPriv.h')
-rw-r--r-- | src/gpu/GrRenderTargetContextPriv.h | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/src/gpu/GrRenderTargetContextPriv.h b/src/gpu/GrRenderTargetContextPriv.h index b232ed1087..ff17505972 100644 --- a/src/gpu/GrRenderTargetContextPriv.h +++ b/src/gpu/GrRenderTargetContextPriv.h @@ -53,33 +53,28 @@ public: void stencilRect(const GrClip& clip, const GrUserStencilSettings* ss, - GrAAType, + bool useHWAA, const SkMatrix& viewMatrix, const SkRect& rect); - void stencilPath(const GrClip&, GrAAType, const SkMatrix& viewMatrix, const GrPath*); + void stencilPath(const GrClip&, + bool useHWAA, + const SkMatrix& viewMatrix, + const GrPath*); - /** - * Draws a rect, either AA or not, and touches the stencil buffer with the user stencil settings - * for each color sample written. - */ bool drawAndStencilRect(const GrClip&, const GrUserStencilSettings*, SkRegion::Op op, bool invert, - GrAA, + bool doAA, const SkMatrix& viewMatrix, const SkRect&); - /** - * Draws a path, either AA or not, and touches the stencil buffer with the user stencil settings - * for each color sample written. - */ bool drawAndStencilPath(const GrClip&, const GrUserStencilSettings*, SkRegion::Op op, bool invert, - GrAA, + bool doAA, const SkMatrix& viewMatrix, const SkPath&); @@ -96,7 +91,6 @@ public: } void testingOnly_drawBatch(const GrPaint&, - GrAAType, GrDrawOp* batch, const GrUserStencilSettings* = nullptr, bool snapToCenters = false); |