diff options
| author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-02-19 13:40:37 -0400 |
|---|---|---|
| committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-04-22 11:36:16 -0400 |
| commit | af9f9017648f490d2555b368ce342f416804710c (patch) | |
| tree | 5c65f286d0ac58dfd46a42325a71548f20522f71 /src/video_core/buffer_cache | |
| parent | 87ddc6a29f506f8d5a5186921bb7a78750e781f6 (diff) | |
FenceManager: Manage syncpoints and rename fences to semaphores.
Diffstat (limited to 'src/video_core/buffer_cache')
| -rw-r--r-- | src/video_core/buffer_cache/buffer_cache.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video_core/buffer_cache/buffer_cache.h b/src/video_core/buffer_cache/buffer_cache.h index 06fb931d75..54c75ca4e1 100644 --- a/src/video_core/buffer_cache/buffer_cache.h +++ b/src/video_core/buffer_cache/buffer_cache.h @@ -229,6 +229,13 @@ public: return true; } + bool HasUncommitedFlushes() { + if (uncommited_flushes) { + return true; + } + return false; + } + void PopAsyncFlushes() { if (commited_flushes.empty()) { return; |
