IPC@CHIP® Graphics Library – API Documentation

Header image

Main page


GcErrorCode gcFlush ( void   ) 

Call this function at the end of a set of drawing functions. It makes sure that all hardware-accelerated drawing functions have finished. If double buffering is enabled it switches the frame buffers and thus eventually causes everything drawn since the last gcFlush() call to be displayed.

Returns:
One of the following error codes is returned:
Note:
When double buffering is activated, gcFlush() uses an RTOS sleep function to synchronise the switching of the frame buffers with the display refresh rate. You should not wake up a task, that uses gcFlush(), because this may disturb the synchronisation mechanism and lead to flickering.
Since:
1.00
Targets:

GC01

GC04

X

X

Examples:
example00.c, example01.c, example02.c, and example05.c.





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Tue Jun 27 14:21:34 2017 by Doxygen 1.6.1