Index: src/gpu/GrDrawTarget.cpp |
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp |
index 07dae0282495a5d2458241f47c1c716d9c7720cd..9776e450bd72ba5d017f151f74a9b41fbb54448e 100644 |
--- a/src/gpu/GrDrawTarget.cpp |
+++ b/src/gpu/GrDrawTarget.cpp |
@@ -459,13 +459,15 @@ void GrDrawTarget::copySurface(GrSurface* dst, |
} |
const GrPipeline* GrDrawTarget::setupPipeline(const PipelineInfo& pipelineInfo, |
- void* pipelineAddr) { |
+ void* pipelineAddr, |
+ GrPipelineOptimizations* optimizations) { |
return GrPipeline::CreateAt(pipelineAddr, *pipelineInfo.fPipelineBuilder, |
pipelineInfo.fColorPOI, |
pipelineInfo.fCoveragePOI, |
*this->caps(), |
*pipelineInfo.fScissor, |
- &pipelineInfo.fDstTexture); |
+ &pipelineInfo.fDstTexture, |
+ optimizations); |
} |
/////////////////////////////////////////////////////////////////////////////// |