FabGL
ESP32 Display Controller and Graphics Library

◆ suspendBackgroundPrimitiveExecution()

virtual void suspendBackgroundPrimitiveExecution ( )
pure virtual

Suspends 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.

Implemented in TFTController, SSD1306Controller, VGAController, and VGAPalettedController.