FabGL
ESP32 VGA Controller and Graphics Library

◆ suspendBackgroundPrimitiveExecution()

void fabgl::VGAControllerClass::suspendBackgroundPrimitiveExecution ( )

Suspend drawings.

Suspends drawings disabling vertical sync interrupt. After call to suspendBackgroundPrimitiveExecution() adding new primitives may cause a deadlock. To avoid it a call to "processPrimitives()" should be performed very often. This method maintains a counter so can be nested.