Provide a callback that will be called to draw a single frame.
GLVIEW_API int glview_display_once(display_once_callback display_once_callback)
The callback that will be fired to draw a single frame. This is the callback_data specified during the call to glview_set_callback_data().
Library:libglview (For the qcc command, use the -l glview option to link against this library)
When the app has been put into the background (due to idle timeout, or by user action) rendering no longer occurs in the glview execution loop. This function allows the app to draw a pause screen (or anything else the app wishes to display). The callback will be invoked immediately, and once the function completes glview will swap the buffers to immediately display what was drawn.
- Whenever the app wishes to display something prior to entering the glview_loop()function.
- To display some kind of loading indicator while the app's thread is performing a long-running operation.
Last modified: 2014-09-30