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/GrOpsTask.cpp b/src/gpu/GrOpsTask.cpp
index 8eb03cc..c73a0b7 100644
--- a/src/gpu/GrOpsTask.cpp
+++ b/src/gpu/GrOpsTask.cpp
@@ -898,22 +898,19 @@
if (fOpChains.count()) {
unsigned int cur = alloc->curOp();
- alloc->addInterval(targetProxy, cur, cur + fOpChains.count() - 1,
- GrResourceAllocator::ActualUse::kYes);
+ alloc->addInterval(targetProxy, cur, cur + fOpChains.count() - 1);
} else {
// This can happen if there is a loadOp (e.g., a clear) but no other draws. In this case we
// still need to add an interval for the destination so we create a fake op# for
// the missing clear op.
- alloc->addInterval(targetProxy, alloc->curOp(), alloc->curOp(),
- GrResourceAllocator::ActualUse::kYes);
+ alloc->addInterval(targetProxy, alloc->curOp(), alloc->curOp());
alloc->incOps();
}
auto gather = [ alloc SkDEBUGCODE(, this) ] (GrSurfaceProxy* p, GrMipmapped) {
alloc->addInterval(p,
alloc->curOp(),
- alloc->curOp(),
- GrResourceAllocator::ActualUse::kYes
+ alloc->curOp()
SkDEBUGCODE(, this->target(0) == p));
};
for (const OpChain& recordedOp : fOpChains) {