Monado OpenXR Runtime
u_pacing_app_factory Struct Reference

Small helper that creates a app pacers, allows timing information to be collected and controlled to a central place. More...

#include <util/u_pacing.h>

Collaboration diagram for u_pacing_app_factory:

Public Member Functions

static void u_paf_create (struct u_pacing_app_factory *upaf, struct u_pacing_app **out_upa)
 Create a u_pacing_app. More...
 
static void u_paf_destroy (struct u_pacing_app_factory **upaf_ptr)
 Destroy this u_pacing_app_factory. More...
 

Data Fields

xrt_result_t(* create )(struct u_pacing_app_factory *upaf, struct u_pacing_app **out_upa)
 Create a u_pacing_app. More...
 
void(* destroy )(struct u_pacing_app_factory *upaf)
 Destroy this u_pacing_app_factory. More...
 

Detailed Description

Small helper that creates a app pacers, allows timing information to be collected and controlled to a central place.

Field Documentation

◆ create

xrt_result_t(* u_pacing_app_factory::create) (struct u_pacing_app_factory *upaf, struct u_pacing_app **out_upa)

Create a u_pacing_app.

Parameters
upafApp pacing factory.
[out]out_upaCreated app pacer.

Referenced by u_pa_factory_create(), and u_paf_create().

◆ destroy

void(* u_pacing_app_factory::destroy) (struct u_pacing_app_factory *upaf)

Destroy this u_pacing_app_factory.

Referenced by u_paf_destroy().


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