Tutorial: Draw and perform vsync operations using blits, pixmaps, and buffers

This section describes how you can create the familiar hourglass and bar example using pixmaps, buffers, and blits.

The samples in this documentation demonstrate that you can accomplish tasks using a variety of techniques. The result is usually a moving blue bar over a yellow background with an hourglass positioned at the top left of the application.

This sample show you how you can create such a simple application by copying pixmaps to buffers, using the screen_blit() function to move data among buffers, and finally making the images visible on a display.

Screen showing the result of the blit-vsync sample application.

Last modified: 2013-12-21

comments powered by Disqus