summaryrefslogtreecommitdiff
path: root/src/video_core/texture_cache
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2020-02-19 13:40:37 -0400
committerGravatar Fernando Sahmkow2020-04-22 11:36:16 -0400
commitb7bc3c25496849661846f2fe42f591f2a81fbc87 (patch)
tree5c65f286d0ac58dfd46a42325a71548f20522f71 /src/video_core/texture_cache
parentBufferCache: Refactor async managing. (diff)
downloadyuzu-b7bc3c25496849661846f2fe42f591f2a81fbc87.tar.gz
yuzu-b7bc3c25496849661846f2fe42f591f2a81fbc87.tar.xz
yuzu-b7bc3c25496849661846f2fe42f591f2a81fbc87.zip
FenceManager: Manage syncpoints and rename fences to semaphores.
Diffstat (limited to 'src/video_core/texture_cache')
-rw-r--r--src/video_core/texture_cache/texture_cache.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h
index e1a1edbd2..f3ca1ffd1 100644
--- a/src/video_core/texture_cache/texture_cache.h
+++ b/src/video_core/texture_cache/texture_cache.h
@@ -337,6 +337,13 @@ public:
337 uncommited_flushes.reset(); 337 uncommited_flushes.reset();
338 } 338 }
339 339
340 bool HasUncommitedFlushes() {
341 if (uncommited_flushes) {
342 return true;
343 }
344 return false;
345 }
346
340 bool ShouldWaitAsyncFlushes() { 347 bool ShouldWaitAsyncFlushes() {
341 if (commited_flushes.empty()) { 348 if (commited_flushes.empty()) {
342 return false; 349 return false;