diff options
author | Robert Phillips <robertphillips@google.com> | 2017-04-26 11:53:10 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-04-26 16:29:08 +0000 |
commit | ee683655a9a9d57487ab8d4b0b01bb9bc2def144 (patch) | |
tree | 7e08cd03f4f5476a547b9809aa72dac27930517c /src/gpu/GrOpList.cpp | |
parent | deca5c3af6f15211b7eb3772aa5cb203f2c3e053 (diff) |
Remove GrResourceProvider & GrGpu pointers from GrRenderTargetOpList
Additional shrinking of GrRenderTargetOpList since there will soon be more of them.
Change-Id: Ib3e68fdf3462838baf7a5a2644e418be066cf79c
Reviewed-on: https://skia-review.googlesource.com/14363
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrOpList.cpp')
-rw-r--r-- | src/gpu/GrOpList.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrOpList.cpp b/src/gpu/GrOpList.cpp index 91c8c7942c..3781213136 100644 --- a/src/gpu/GrOpList.cpp +++ b/src/gpu/GrOpList.cpp @@ -48,7 +48,7 @@ void GrOpList::addDependency(GrOpList* dependedOn) { } // Convert from a GrSurface-based dependency to a GrOpList one -void GrOpList::addDependency(GrSurfaceProxy* dependedOn) { +void GrOpList::addDependency(GrSurfaceProxy* dependedOn, const GrCaps& caps) { if (dependedOn->getLastOpList()) { // If it is still receiving dependencies, this GrOpList shouldn't be closed SkASSERT(!this->isClosed()); @@ -60,7 +60,7 @@ void GrOpList::addDependency(GrSurfaceProxy* dependedOn) { this->addDependency(opList); // Can't make it closed in the self-read case - opList->makeClosed(); + opList->makeClosed(caps); } } } |