aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrRenderTargetContext.cpp
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-05-18 11:40:04 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-18 16:30:25 +0000
commita4c93ac535d3b0ed979c7bf666f09aa7dbf1f0eb (patch)
treed37adf420a9d558ac0d5428bd8763688d0c3575d /src/gpu/GrRenderTargetContext.cpp
parentd1eaf49e0b8b2776b1558ffd3ee1d3d9f9592b6b (diff)
Add check for incorrect opList splits
This CL relies on: https://skia-review.googlesource.com/c/14186/ (Split up opLists (take 3)) We can't/don't want to close the opList in the GrSurfaceContext dtor because we, semi-often, wrap a proxy in a utility SurfaceContext in order to upload data to it (e.g., when creating a proxy w/ data or in the texture strip atlas). In the current set up, the "temporary fixes" in newRTOpList and newTextureOpList should prevent any out of order execution. Change-Id: I8189db6ed59096d7b8c1704028df395f84e4a681 Reviewed-on: https://skia-review.googlesource.com/14187 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrRenderTargetContext.cpp')
-rw-r--r--src/gpu/GrRenderTargetContext.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gpu/GrRenderTargetContext.cpp b/src/gpu/GrRenderTargetContext.cpp
index e58b4bb06e..ffcd480302 100644
--- a/src/gpu/GrRenderTargetContext.cpp
+++ b/src/gpu/GrRenderTargetContext.cpp
@@ -105,9 +105,6 @@ void GrRenderTargetContext::validate() const {
#endif
GrRenderTargetContext::~GrRenderTargetContext() {
- if (fOpList) {
- fOpList->makeClosed(*this->caps());
- }
ASSERT_SINGLE_OWNER
}