Skip to main content
V.H
Senior
November 10, 2021
Solved

Questions About Animation Storage

  • November 10, 2021
  • 1 reply
  • 827 views

Hi,

virtual void setFrameBufferStartAddresses(void* frameBuffer, void* doubleBuffer, void* animationStorage)

1, Parameters frameBuffer and doubleBuffer can generated by CubeMX, animationStorage parameters can also be generated by CubeMX ?

2, I don't use the animationStorage parameter and the animation of the Icon will play normally, when will the animationStorage buffer be used ?

3, How to determine the size of parameter animationStorage, does it have to be equal to the frame cache size ?

This topic has been closed for replies.
Best answer by Romain DIELEMAN

Hi,

  1. The animationStorage cannot be generated by STM32CubeMX. If I remember correctly this was done to prevent malpractice since it is not necessary for most UIs and requires available memory.
  2. The animation storage is mostly used for the screen transition "Slide transition". It is not necessary for texture mapper animations.
  3. It must be the same size as a framebuffer, so Width * Height *bpp/8

/Romain

1 reply

Romain DIELEMAN
Romain DIELEMANBest answer
ST Employee
November 10, 2021

Hi,

  1. The animationStorage cannot be generated by STM32CubeMX. If I remember correctly this was done to prevent malpractice since it is not necessary for most UIs and requires available memory.
  2. The animation storage is mostly used for the screen transition "Slide transition". It is not necessary for texture mapper animations.
  3. It must be the same size as a framebuffer, so Width * Height *bpp/8

/Romain