Definition at line 109 of file skpbench.cpp.
◆ GpuSync()
◆ ~GpuSync()
◆ newFlushTracker()
Definition at line 767 of file skpbench.cpp.
767 {
769
771
772
774
775 fCurrentFlushIdx = (fCurrentFlushIdx + 1) % std::size(fFinishTrackers);
776 return tracker;
777}
void reset(T *ptr=nullptr)
◆ waitIfNeeded()
void GpuSync::waitIfNeeded |
( |
| ) |
|
Definition at line 761 of file skpbench.cpp.
761 {
762 if (fFinishTrackers[fCurrentFlushIdx]) {
764 }
765}
void waitTillFinished(std::function< void()> tick={})
The documentation for this class was generated from the following file: