commit | 12d06a38427dcbff1e498b0e74a9127bae991088 | [log] [tgz] |
---|---|---|
author | Robert Phillips <robertphillips@google.com> | Wed Sep 16 12:31:34 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Sep 17 14:15:58 2020 +0000 |
tree | bf29a6faa796310336feeb8d13636b88c30cb6ae | |
parent | ed423aa542b6e4d306bf7999aa1275b841a57de8 [diff] [blame] |
Add plumbing for the GrThreadSafeUniquelyKeyedProxyViewCache This CL is also imperfect and incomplete but, although currently unused, it sketches in how the threadSafeProxyCache will be plumbed through the GrContexts and GrResourceCache. Bug: 1108408 Change-Id: Idb012b6efd49291de69bd88e4b4c531458a3e553 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/317360 Reviewed-by: Adlai Holler <adlai@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/GrThreadSafeUniquelyKeyedProxyViewCache.h b/src/gpu/GrThreadSafeUniquelyKeyedProxyViewCache.h index 1b2c078..2ad4918 100644 --- a/src/gpu/GrThreadSafeUniquelyKeyedProxyViewCache.h +++ b/src/gpu/GrThreadSafeUniquelyKeyedProxyViewCache.h
@@ -47,6 +47,7 @@ #endif void dropAllRefs() SK_EXCLUDES(fSpinLock); + void dropAllUniqueRefs() SK_EXCLUDES(fSpinLock); GrSurfaceProxyView find(const GrUniqueKey&) SK_EXCLUDES(fSpinLock);