Initialize glview for use.
GLVIEW_API int glview_initialize(glview_api_t api, frame_callback frame_callback)
The version of OpenGL ES the app intends to use.
The callback that is fired to draw the frame. This callback is mandatory, and cannot be NULL.
Library:libglview (For the qcc command, use the -l glview option to link against this library)
This call must be made prior to calling any other glview function. After initialization callbacks can be registered to hook into various phases of the execution loop. Call the glview_loop() function in your app to start the glview execution loop.
- EPERM: glview has already been initialized.
- EFAULT: frame_callback is NULL.
Last modified: 2014-05-14