Add HW-filtered masks to thread-safe cache

Bug: 1108408
Change-Id: Iace1cea1c79a1f505a5b4da3a4d4c1a713e142ba
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/323505
Reviewed-by: Adlai Holler <adlai@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/GrThreadSafeUniquelyKeyedProxyViewCache.cpp b/src/gpu/GrThreadSafeUniquelyKeyedProxyViewCache.cpp
index 898ad8e..312e2ba 100644
--- a/src/gpu/GrThreadSafeUniquelyKeyedProxyViewCache.cpp
+++ b/src/gpu/GrThreadSafeUniquelyKeyedProxyViewCache.cpp
@@ -229,9 +229,10 @@
 
 std::tuple<GrSurfaceProxyView, sk_sp<GrThreadSafeUniquelyKeyedProxyViewCache::Trampoline>>
 GrThreadSafeUniquelyKeyedProxyViewCache::CreateLazyView(GrDirectContext* dContext,
-                                                        SkISize dimensions,
                                                         GrColorType origCT,
-                                                        GrSurfaceOrigin origin) {
+                                                        SkISize dimensions,
+                                                        GrSurfaceOrigin origin,
+                                                        SkBackingFit fit) {
     GrProxyProvider* proxyProvider = dContext->priv().proxyProvider();
 
     constexpr int kSampleCnt = 1;
@@ -265,7 +266,7 @@
             GrInternalSurfaceFlags::kNone,
             &texInfo,
             GrMipmapStatus::kNotAllocated,
-            SkBackingFit::kExact,
+            fit,
             SkBudgeted::kYes,
             GrProtected::kNo,
             /* wrapsVkSecondaryCB */ false,