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 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: 2015-03-31

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus