Remove IO refs from GrSurfaceProxy only
This CL leaves the Ganesh world in a very odd place. In particular it still:
has pendingIO refs on GrSurfaces
forwards the proxy refs on to the backing GrSurface
Removing everything at once only ends in a mess thus, this goofball CL.
Change-Id: If112ff311bcef2e8d65a36c3b53b0ded4041c24e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/210040
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
diff --git a/src/gpu/GrOpList.cpp b/src/gpu/GrOpList.cpp
index 109289b..6704a43 100644
--- a/src/gpu/GrOpList.cpp
+++ b/src/gpu/GrOpList.cpp
@@ -32,10 +32,8 @@
, fUniqueID(CreateUniqueID())
, fFlags(0) {
SkASSERT(fOpMemoryPool);
- fTarget.setProxy(std::move(surfaceProxy), kWrite_GrIOType);
+ fTarget.setProxy(std::move(surfaceProxy));
fTarget.get()->setLastOpList(this);
-
- fTarget.markPendingIO();
}
GrOpList::~GrOpList() {