screen_wait_vsync()

Block the calling thread until the next vsync happens on the specified display.

Synopsis:

#include <screen/screen.h>
 
int screen_wait_vsync(screen_display_t display)

Since:

BlackBerry 10.0.0

Arguments:

display

An instance of the display on which to perform the the vsync operation.

Library:

libscreen (For the qcc command, use the -l screen option to link against this library)

Description:

Function Type: Immediate Execution

This function blocks the calling thread and returns when the next vsync operation occurs on the specified display.

Returns:

0 if a vsync operation occurred, or -1 of an error occurred (errno is set).

Last modified: 2014-11-17



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus