| 618 | return std::chrono::duration_cast<std::chrono::nanoseconds>(tickDuration_) * min; |
| 619 | } |
| 620 | bool Overlay::TaskScheduler::AtPoll() const |
| 621 | { |
| 622 | return remainings_[Poll_] == 0; |
| 623 | } |
| 624 | bool Overlay::TaskScheduler::AtRender() const |
| 625 | { |
| 626 | return remainings_[Render_] == 0; |