Remove unused ActualUse param from GrResourceAllocator
This was here for deferred proxies, which are gone now.
Bug: skia:11288
Change-Id: Idc8a3aef7c3cce62d9397338a0c77d41435527a9
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/367881
Commit-Queue: Adlai Holler <adlai@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Auto-Submit: Adlai Holler <adlai@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/GrWritePixelsRenderTask.cpp b/src/gpu/GrWritePixelsRenderTask.cpp
index 1d01bbd..8435527 100644
--- a/src/gpu/GrWritePixelsRenderTask.cpp
+++ b/src/gpu/GrWritePixelsRenderTask.cpp
@@ -49,8 +49,7 @@
}
void GrWritePixelsTask::gatherProxyIntervals(GrResourceAllocator* alloc) const {
- alloc->addInterval(this->target(0), alloc->curOp(), alloc->curOp(),
- GrResourceAllocator::ActualUse::kYes);
+ alloc->addInterval(this->target(0), alloc->curOp(), alloc->curOp());
alloc->incOps();
}