FenceManager: Manage syncpoints and rename fences to semaphores.
This commit is contained in:
parent
96bb961a64
commit
b7bc3c2549
11 changed files with 123 additions and 25 deletions
|
@ -337,6 +337,13 @@ public:
|
|||
uncommited_flushes.reset();
|
||||
}
|
||||
|
||||
bool HasUncommitedFlushes() {
|
||||
if (uncommited_flushes) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ShouldWaitAsyncFlushes() {
|
||||
if (commited_flushes.empty()) {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue