diff options
author | 2017-04-04 15:13:25 -0400 | |
---|---|---|
committer | 2017-04-04 19:46:18 +0000 | |
commit | e14bd80db048277daa3db28496310e1863b5b7a9 (patch) | |
tree | 7da5f6aa72b4b884476f46cc4cebe2a9fa3274c4 /src/gpu/GrPipeline.h | |
parent | 9e4d51126f60264f53fbf841ef97092803e88374 (diff) |
Move GrPipelineBuilder into GrRenderTargetContext::addLegacyDrawOp
This makes the legacy code use GrProcessorSet::Analysis in the same manner as the non-GrLegacyMeshDrawOps which enables changes to how analysis works.
Change-Id: I8171e285ac8930beb3ac33cd3c4ee88f217b9e40
Reviewed-on: https://skia-review.googlesource.com/11205
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 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gpu/GrPipeline.h b/src/gpu/GrPipeline.h index d7a4f4ebed..02a14af889 100644 --- a/src/gpu/GrPipeline.h +++ b/src/gpu/GrPipeline.h @@ -57,10 +57,8 @@ public: uint32_t fFlags = 0; GrDrawFace fDrawFace = GrDrawFace::kBoth; const GrProcessorSet* fProcessors = nullptr; - GrProcessorAnalysisColor fInputColor; - GrProcessorAnalysisCoverage fInputCoverage = GrProcessorAnalysisCoverage::kNone; - // This is only used for GrLegacyMeshDrawOp's pipeline creation system. - const GrProcessorSet::Analysis* fAnalysis = nullptr; + GrProcessorAnalysisColor fXPInputColor; + GrProcessorAnalysisCoverage fXPInputCoverage = GrProcessorAnalysisCoverage::kNone; const GrUserStencilSettings* fUserStencil = &GrUserStencilSettings::kUnused; const GrAppliedClip* fAppliedClip = nullptr; GrRenderTarget* fRenderTarget = nullptr; |