FabGL
ESP32 VGA Controller and Graphics Library
|
void fabgl::VGAControllerClass::enableBackgroundPrimitiveExecution | ( | bool | value | ) |
Enable or disable drawings inside vertical retracing time.
When vertical retracing occurs (on Vertical Sync) an interrupt is trigged. Inside this interrupt primitives like line, circles, glyphs, etc.. are painted. This method can disable (or reenable) this behavior, making drawing instantaneous. Flickering may occur when drawings are executed out of retracing time. When background executing is disabled the queue is emptied executing all pending primitives.
value | When true drawings are done during vertical retracing, when false drawings are executed instantly. |