diff options
author | Robert Phillips <robertphillips@google.com> | 2017-04-17 07:53:07 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-04-17 12:41:59 +0000 |
commit | c589b0b5c0235c3adedc574c8846fb62414ed93c (patch) | |
tree | 747f760e5b74a05ce5c0cbc7c778d3faece2693a /src/gpu/GrRenderTarget.cpp | |
parent | bab2dbb5fa50da8e8365abbaa9f1490e659f436c (diff) |
Remove lastOpList capability from GrSurface
This is split out of: https://skia-review.googlesource.com/c/11581/ (Split up opLists)
TBR=bsalomon@google.com
Change-Id: I80d589b42918ddd77538484c808b069576691da4
Reviewed-on: https://skia-review.googlesource.com/11793
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/GrRenderTarget.cpp')
-rw-r--r-- | src/gpu/GrRenderTarget.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gpu/GrRenderTarget.cpp b/src/gpu/GrRenderTarget.cpp index 9ea8596050..61a6f92f22 100644 --- a/src/gpu/GrRenderTarget.cpp +++ b/src/gpu/GrRenderTarget.cpp @@ -61,10 +61,6 @@ void GrRenderTarget::onRelease() { void GrRenderTarget::onAbandon() { SkSafeSetNull(fStencilAttachment); - // The contents of this renderTarget are gone/invalid. It isn't useful to point back - // the creating opList. - this->setLastOpList(nullptr); - INHERITED::onAbandon(); } |