|
TachyonUI 1.1.0
High-performance UI for building tools.
|
Redraws asked for: now, or at a time on the steady clock (SteadyClockNowNanos). More...
#include <gui_core/frame/gui_redraw.h>
Public Member Functions | |
| void | Request () |
| A frame as soon as possible. | |
| void | RequestAt (int64_t nanos) |
| A frame at nanos. | |
| bool | IsDue (int64_t nowNanos) const |
| True when a frame was asked for now, or for nowNanos or before. | |
| int64_t | NextAt () const |
| The earliest time asked for; INT64_MAX when there's none. | |
| void | Answer (int64_t nowNanos) |
| At a frame's start: the requests it answers (now, and up to nowNanos) are done. | |
Redraws asked for: now, or at a time on the steady clock (SteadyClockNowNanos).
Safe from any thread.
|
inline |
A frame as soon as possible.
| void tachyon::RedrawRequests::RequestAt | ( | int64_t | nanos | ) |
A frame at nanos.
| bool tachyon::RedrawRequests::IsDue | ( | int64_t | nowNanos | ) | const |
True when a frame was asked for now, or for nowNanos or before.
| int64_t tachyon::RedrawRequests::NextAt | ( | ) | const |
The earliest time asked for; INT64_MAX when there's none.
| void tachyon::RedrawRequests::Answer | ( | int64_t | nowNanos | ) |
At a frame's start: the requests it answers (now, and up to nowNanos) are done.