touchgfx::Application::cacheDrawOperations() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXtouchgfx::Application::cacheDrawOperations()

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.

Syntax

virtual void cacheDrawOperations(bool enableCache);

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.

References

LocationText
Application.hpp:215
virtual void cacheDrawOperations(bool enableCache);