diff options
author | 2017-05-08 11:10:10 -0400 | |
---|---|---|
committer | 2017-05-08 16:50:04 +0000 | |
commit | f0861675d7fdef3f8f51a586c6ddfbcecdc4cb0a (patch) | |
tree | 8b0289a9196d293c885c472da067c30fe69725e6 /src/gpu/GrPathRendererChain.cpp | |
parent | be4c9b0a8b9a508cf0de66c0fa401fc1217a32db (diff) |
Remove support for GLs without separate stencil.
As a consequence we no longer need GrDrawFace.
This effectively raises the minimum bar for non-ES OpenGL to 2.0 as there is no extension that adds the GL 2.0 separate stencil functionality. GL_ATI_separate_stencil is close but it does not have glStencilMaskSeparate.
Bug: skia:
Change-Id: I36d17a69400c8beeacb6dab8d8c5c3317814cfe4
Reviewed-on: https://skia-review.googlesource.com/15603
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/GrPathRendererChain.cpp')
-rw-r--r-- | src/gpu/GrPathRendererChain.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpu/GrPathRendererChain.cpp b/src/gpu/GrPathRendererChain.cpp index 55c4a305dc..8d06a5e7cf 100644 --- a/src/gpu/GrPathRendererChain.cpp +++ b/src/gpu/GrPathRendererChain.cpp @@ -60,8 +60,7 @@ GrPathRendererChain::GrPathRendererChain(GrContext* context, const Options& opti fChain.push_back(sk_make_sp<GrTessellatingPathRenderer>()); } if (options.fGpuPathRenderers & GpuPathRenderers::kDefault) { - fChain.push_back(sk_make_sp<GrDefaultPathRenderer>(caps.twoSidedStencilSupport(), - caps.stencilWrapOpsSupport())); + fChain.push_back(sk_make_sp<GrDefaultPathRenderer>(caps.stencilWrapOpsSupport())); } } |