The purpose of the animation storage is to provide memory for taking a snapshot of the current contents of the frame buffer and use it during animations in TouchGFX. Currently it is only used when employing
SlideTransitions where a snapshot of the “old” view is used in the sliding animation. If no animation storage is allocated,
SlideTransition will behave like
NoTransition, ie. an non-animated change of screens.
In TouchGFX, animation storage is an optional storage placed in external RAM beside the frame buffer(s). If enabled, the storage will take up the exact same amount of memory as a frame buffer (ie.
The animation storage is configured along with the starting address of the frame buffer via the
HAL::setFrameBufferStartAddress method. Animation storage is enabled by default.