Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/api/gf_draw_finish.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/api/gf_draw_finish.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/api/gf_draw_finish.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/api/gf_draw_finish.html on line 8

gf_draw_finish()

Wait for the rendering hardware to finish

Synopsis:

#include <gf/gf.h>

int gf_draw_finish( gf_context_t context );

Arguments:

context
The handle for the draw context to wait on.

Library:

gf

Description:

This function waits until all draw operations have actually been carried out. It's blocking and will not return until the hardware becomes idle.

This function flushes out buffered commands prior to waiting for them to be processed. Therefore, you do not need to call gf_draw_flush() explicitly prior to calling gf_draw_finish().


Note: Don't confuse this function with gf_draw_end(). If you want to call it, call it between gf_draw_begin() and gf_draw_end().

Returns:

GF_ERR_OK
Success.
GF_ERR_NOLOCK
The hardware isn't locked; check to ensure gf_draw_begin() was called successfully.

Classification:

QNX Graphics Framework

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

gf_draw_begin(), gf_draw_end()


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/api/gf_draw_finish.html on line 126

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/api/gf_draw_finish.html on line 126