Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::GpuAcquireDiagnostics Struct Reference

#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.

Member Data Documentation

◆ frames_in_flight

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.

◆ late_ms

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.

◆ refresh_period_ms

double pulp::view::GpuAcquireDiagnostics::refresh_period_ms = 0.0

The display's refresh interval, or 0 when unknown.

◆ vsync_driven

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.


The documentation for this struct was generated from the following file: