diff options
author | 2017-07-13 11:20:51 -0400 | |
---|---|---|
committer | 2017-07-13 15:46:32 +0000 | |
commit | 0596909b055eb9493ba429cc09eae4a2ec53f158 (patch) | |
tree | 4c4383ea45f17893ab47c01c61fcff9b06288706 /src/gpu/GrOpFlushState.h | |
parent | 79e4d1b5dd5901c34c732252f814fdea4358ed3b (diff) |
Make ShadowRRectOp a non-legacy GrMeshDrawOp
This also removes the ability to have an arbitrary GrPaint with this op and as a consequence simplifies the op and its GrGeometryProcessor.
Change-Id: I19cc1c6f73a47e8925fc826291aad42e9423164d
Reviewed-on: https://skia-review.googlesource.com/22380
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Diffstat (limited to 'src/gpu/GrOpFlushState.h')
-rw-r--r-- | src/gpu/GrOpFlushState.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/GrOpFlushState.h b/src/gpu/GrOpFlushState.h index 42daab3960..a701965d4d 100644 --- a/src/gpu/GrOpFlushState.h +++ b/src/gpu/GrOpFlushState.h @@ -245,6 +245,10 @@ public: return this->state()->allocPipeline(std::forward<Args>(args)...); } + /** + * Helper that makes a pipeline targeting the op's render target that incorporates the op's + * GrAppliedClip. + * */ GrPipeline* makePipeline(uint32_t pipelineFlags, const GrProcessorSet* processorSet) { GrPipeline::InitArgs pipelineArgs; pipelineArgs.fFlags = pipelineFlags; |