diff options
author | 2017-03-29 12:09:15 -0400 | |
---|---|---|
committer | 2017-03-29 16:46:07 +0000 | |
commit | e7d30484ea8a5677a9403ccd23a9c0961df62ccd (patch) | |
tree | 140df99fdbf67a023fa0b31223b9c5169774f29f /src/gpu/GrPipeline.h | |
parent | 4a24e10a0b805af6106dd8f7225c10a703696245 (diff) |
Remove GrPipelineOptimizations computation from GrPipeline::init and nest in GrMeshDrawOp.
Change-Id: I4a702c83857606c1cb050294c408922eef5769ea
Reviewed-on: https://skia-review.googlesource.com/10414
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 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpu/GrPipeline.h b/src/gpu/GrPipeline.h index 21693426f1..7c861b2c1e 100644 --- a/src/gpu/GrPipeline.h +++ b/src/gpu/GrPipeline.h @@ -12,7 +12,6 @@ #include "GrFragmentProcessor.h" #include "GrNonAtomicRef.h" #include "GrPendingProgramElement.h" -#include "GrPrimitiveProcessor.h" #include "GrProcessorSet.h" #include "GrProgramDesc.h" #include "GrScissorState.h" @@ -79,7 +78,7 @@ public: GrPipeline(GrRenderTarget*, SkBlendMode); /** (Re)initializes a pipeline. After initialization the pipeline can be used. */ - GrPipelineOptimizations init(const InitArgs&); + void init(const InitArgs&); /** True if the pipeline has been initialized. */ bool isInitialized() const { return SkToBool(fRenderTarget.get()); } |