Flush the draw buffer
#include <gf/gf.h> int gf_draw_flush( gf_context_t context );
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.
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()