aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrRenderTargetContext.h
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2018-01-23 10:30:17 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-01-23 18:28:46 +0000
commitb4e965c103c3140f0072949343befb34bceadc96 (patch)
tree71e989c6002dae88d3438d991996ad1f7725d6c9 /src/gpu/GrRenderTargetContext.h
parente70b9e899c987a73d964b9b630c65523ad84717a (diff)
Revert "Revert "Use GrOvalOpFactory ops to draw non-AA rrects, ovals, and arcs.""
This reverts commit befff6580e9dc6b15bc6db3cc3f5fff22185cba8. Bug: skia: Change-Id: Ia108408cd986c03783af5058845790f6b17201f4 Reviewed-on: https://skia-review.googlesource.com/98703 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrRenderTargetContext.h')
-rw-r--r--src/gpu/GrRenderTargetContext.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gpu/GrRenderTargetContext.h b/src/gpu/GrRenderTargetContext.h
index 6e0c6745fd..bc1e69d0a0 100644
--- a/src/gpu/GrRenderTargetContext.h
+++ b/src/gpu/GrRenderTargetContext.h
@@ -385,8 +385,12 @@ protected:
private:
class TextTarget;
- inline GrAAType chooseAAType(GrAA aa, GrAllowMixedSamples allowMixedSamples) {
- return GrChooseAAType(aa, this->fsaaType(), allowMixedSamples, *this->caps());
+ GrAAType chooseAAType(
+ GrAA aa, GrAllowMixedSamples allowMixedSamples,
+ GrAllowNonAABinaryCoverage allowNonAABinaryCoverage = GrAllowNonAABinaryCoverage::kNo,
+ const GrPaint* paint = nullptr) {
+ return GrChooseAAType(aa, this->fsaaType(), allowMixedSamples, allowNonAABinaryCoverage,
+ paint, *this->caps());
}
friend class GrAtlasTextBlob; // for access to add[Mesh]DrawOp