#include <gpu_acquire_diagnostics.hpp>
Public Attributes | |
| bool | vsync_driven = false |
| True when the frame was dispatched by a display-link tick. | |
| double | refresh_period_ms = 0.0 |
| The display's refresh interval, or 0 when unknown. | |
| double | late_ms = 0.0 |
| How long after the display-link target presentation time the acquire started. | |
| int | frames_in_flight = -1 |
| Frames submitted to the GPU whose work has not finished, or -1 when the surface does not track it. | |
| int pulp::view::GpuAcquireDiagnostics::frames_in_flight = -1 |
Frames submitted to the GPU whose work has not finished, or -1 when the surface does not track it.
| double pulp::view::GpuAcquireDiagnostics::late_ms = 0.0 |
How long after the display-link target presentation time the acquire started.
Negative means the frame is being rendered ahead of the target. 0 when not display-link driven.
| double pulp::view::GpuAcquireDiagnostics::refresh_period_ms = 0.0 |
The display's refresh interval, or 0 when unknown.
| bool pulp::view::GpuAcquireDiagnostics::vsync_driven = false |
True when the frame was dispatched by a display-link tick.
Resize, capture and first-show frames are rendered outside the link and carry no target.