nngxCheckVSync Function
NNGX_APICALL GLint NNGX_APIENTRY nngxCheckVSync(
GLenum display
);
| Name | Description | |
|---|---|---|
| in | display | Screen for which to get a counter |
Gets the V-Sync counter.
The V-Sync counter is incremented for each V-Sync interrupt.
For the V-Sync count on the upper screen, specify display as NN_GX_DISPLAY0. For the lower screen, specify NN_GX_DISPLAY1, and for both screens specify NN_GX_DISPLAY_BOTH. The counter obtained by specifying NN_GX_DISPLAY_BOTH is incremented when both screen 0 and screen 1 have been updated.
The internal counter for the return value will reset to 0 if the implementation-dependent maximum count is exceeded. This maximum value may be changed without notice in the future when the driver is updated. The maximum value is currently set to 0x7FFFFFFE.
This function generates the following errors.
| GL_ERROR_8019_DMP | A value other than the ones listed above was specified for the display argument. The return value in this case is undefined. |
|---|
CONFIDENTIAL