touchgfx::Application::cacheDrawOperations() method
@fn virtual void Application::cacheDrawOperations(bool enableCache); This functions allows for deferring draw operations to a later time. This functions allows for deferring draw operations to a later time. If active, calls to draw will simply note that the specified area is dirty, but not perform any actual drawing. When disabling the draw cache, the dirty area will be flushed (drawn) immediately.
Arguments
enableCache
if true, all future draw operations will be cached. If false draw caching is disabled, and the current cache (if not empty) is drawn immediately.