gf_display_wait_vsync()

Block until the next vertical synchronization

Synopsis:

#include <gf/gf.h>

int gf_display_wait_vsync( gf_display_t display );

Arguments:

display
The handle for the display to wait on vsync.

Library:

gf

Description:

This function blocks on the next vertical synchronization.


Note: The GF library waits on vertical synchronization by default. See the flags for gf_layer_update() for more information.

Returns:

GF_ERR_OK
Success.
GF_ERR_IODISPLAY
The hardware doesn't support this functionality.

Classification:

QNX Graphics Framework

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also: