aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/ops/GrMeshDrawOp.h
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-04-17 14:18:34 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-04-18 11:43:17 +0000
commitf5442bb4c152e7c8138c83d27140e55d846f7ea5 (patch)
tree9ff66ac0e928c8cfa325e6bb741cb230ecf584a2 /src/gpu/ops/GrMeshDrawOp.h
parentc1b879f11b937142f5478bd3b416b26be93dea23 (diff)
Split cleanup changes out of bigger CL (take 2)
This are split out of: https://skia-review.googlesource.com/c/11581/ (Split up opLists) This is a reland of: https://skia-review.googlesource.com/c/13585/ (Split cleanup changes out of bigger CL) TBR=bsalomon@google.com Change-Id: Id0d5c764953230412e78ae6aa654f8dfae998c60 Reviewed-on: https://skia-review.googlesource.com/13643 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/ops/GrMeshDrawOp.h')
-rw-r--r--src/gpu/ops/GrMeshDrawOp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/ops/GrMeshDrawOp.h b/src/gpu/ops/GrMeshDrawOp.h
index 8fbd30d280..a4b172d357 100644
--- a/src/gpu/ops/GrMeshDrawOp.h
+++ b/src/gpu/ops/GrMeshDrawOp.h
@@ -119,6 +119,10 @@ public:
this->applyPipelineOptimizations(PipelineOptimizations(analysis, overrideColor));
}
+ void addDependenciesTo(GrRenderTargetProxy* rtp) {
+ fPipeline.addDependenciesTo(rtp);
+ }
+
/**
* Mesh draw ops use a legacy system in GrRenderTargetContext where the pipeline is created when
* the op is recorded. These methods are unnecessary as this information is in the pipeline.