summaryrefslogtreecommitdiff
path: root/view/sharedcache/ui/SharedCacheUINotifications.cpp
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-07-04 13:29:18 -0400
committerMason Reed <mason@vector35.com>2025-07-04 13:29:18 -0400
commit5c2f42a8f33d79e99bec373ad046f91bae6be60b (patch)
treea4c315d468e94d2ec5910a9117d1e231ba0deb9d /view/sharedcache/ui/SharedCacheUINotifications.cpp
parentcc92c1678ab80fa42711b6a75553d3a2d2975c83 (diff)
[SharedCache] Enqueue pointer sweep on image/region load
This is enabled as is, there might need to be some restrictions later on, does not seem to have an unreasonable impact analysis time
Diffstat (limited to 'view/sharedcache/ui/SharedCacheUINotifications.cpp')
-rw-r--r--view/sharedcache/ui/SharedCacheUINotifications.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/view/sharedcache/ui/SharedCacheUINotifications.cpp b/view/sharedcache/ui/SharedCacheUINotifications.cpp
index 6c2d5f35..df7a14af 100644
--- a/view/sharedcache/ui/SharedCacheUINotifications.cpp
+++ b/view/sharedcache/ui/SharedCacheUINotifications.cpp
@@ -49,6 +49,7 @@ void UINotifications::OnViewChange(UIContext* context, ViewFrame* frame, const Q
if (!controller->ApplyRegion(view, *foundRegion))
return;
view.AddAnalysisOption("linearsweep");
+ view.AddAnalysisOption("pointersweep");
view.UpdateAnalysis();
}
};
@@ -63,6 +64,7 @@ void UINotifications::OnViewChange(UIContext* context, ViewFrame* frame, const Q
if (!controller->ApplyImage(view, *foundImage))
return;
view.AddAnalysisOption("linearsweep");
+ view.AddAnalysisOption("pointersweep");
view.UpdateAnalysis();
}
};