Questions About Animation Storage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-09 5:03 PM
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 ?
Solved! Go to Solution.
- Labels:
-
STM32CubeMX
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-10 7:23 AM
Hi,
- 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.
- The animation storage is mostly used for the screen transition "Slide transition". It is not necessary for texture mapper animations.
- It must be the same size as a framebuffer, so Width * Height *bpp/8
/Romain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-10 7:23 AM
Hi,
- 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.
- The animation storage is mostly used for the screen transition "Slide transition". It is not necessary for texture mapper animations.
- It must be the same size as a framebuffer, so Width * Height *bpp/8
/Romain
