diff options
author | Brian Salomon <bsalomon@google.com> | 2017-05-08 11:10:10 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-05-08 16:50:04 +0000 |
commit | f0861675d7fdef3f8f51a586c6ddfbcecdc4cb0a (patch) | |
tree | 8b0289a9196d293c885c472da067c30fe69725e6 /src/gpu/GrPipeline.h | |
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/GrPipeline.h')
-rw-r--r-- | src/gpu/GrPipeline.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gpu/GrPipeline.h b/src/gpu/GrPipeline.h index e0c85d3f4d..3483d2bed4 100644 --- a/src/gpu/GrPipeline.h +++ b/src/gpu/GrPipeline.h @@ -70,7 +70,6 @@ public: struct InitArgs { uint32_t fFlags = 0; - GrDrawFace fDrawFace = GrDrawFace::kBoth; const GrProcessorSet* fProcessors = nullptr; // Must be finalized const GrUserStencilSettings* fUserStencil = &GrUserStencilSettings::kUnused; const GrAppliedClip* fAppliedClip = nullptr; @@ -222,13 +221,6 @@ public: return this->getXferProcessor().xferBarrierType(caps); } - /** - * Gets whether the target is drawing clockwise, counterclockwise, - * or both faces. - * @return the current draw face(s). - */ - GrDrawFace getDrawFace() const { return static_cast<GrDrawFace>(fDrawFace); } - private: void markAsBad() { fFlags |= kIsBad_Flag; } |