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_flush.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_flush.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_flush.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_flush.html on line 8
Flush the draw buffer
#include <gf/gf.h>
int gf_draw_flush( gf_context_t context );
- context
- The handle of the draw context to flush.
gf
This function flushes the draw buffer to the surface. Some graphics hardware puts draw events into a queue that must be explicitly flushed before the draw events are rendered.
Call this function when you need to know that all previous draw commands have been rendered, for example before you wait for user input based on a rendered image. You do not normally need to call this function, and should call it only when required.
- GF_ERR_OK
- Success.
- GF_ERR_NOLOCK
- The hardware isn't locked; check to ensure gf_draw_begin() was called successfully.
QNX Graphics Framework
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |
gf_draw_bitmap(),
gf_draw_blit1(),
gf_draw_blit2(),
gf_draw_blitscaled(),
gf_draw_poly_fill(),
gf_draw_polyline(),
gf_draw_rect()
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_flush.html on line 119
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_flush.html on line 119