Double Buffering Functions

Microchip Graphics Library

Microchip Graphics Library
Double Buffering Functions
Functions
 
Name 
Description 
 
Switches off the double buffering. All rendering will be performed on the frame buffer. Calls to UpdateDisplayNow() or RequestDisplayUpdate() will have no effect. 
 
Switches on the double buffering. Double buffering utilizes two buffers. The frame buffer and the draw buffer. The frame buffer is the buffer that is being displayed while the draw buffer is used for all rendering. When this function is called, it copies the contents of the frame buffer to the draw buffer once and all succeeding rendering will be performed on the draw buffer. To update the frame buffer with newly drawn items on the draw buffer call UpdateDisplayNow() or RequestDisplayUpdate(). 
 
Invalidates the specified rectangular area. This increments the number of invalidated areas and if the number of invalidated areas exceed the GFX_MAX_INVALIDATE_AREAS, the whole frame buffer is invalidated. 
 
Synchronizes the draw and frame buffers at next VBlank 
 
Synchronizes the draw and frame buffers immediately. 
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved