Skip to main content
Bob Bailey
Senior
January 28, 2020
Solved

Info about cacheable container

  • January 28, 2020
  • 5 replies
  • 3716 views

This is one of the big features in 4.12 according to the release notes. How is it enabled/controlled/configured?

Any example code? How about just the source code for this:

https://vimeo.com/365563335

Secondary question: What improvements, enhancements are in the 4.13 version?

Thanks!

Bob

This topic has been closed for replies.
Best answer by Martin KJELDSEN

Here's an article:

https://touchgfx.zendesk.com/hc/en-us/articles/360007902520-Achieving-better-performance-with-CacheableContainer

I'll see about digging out the source code for that demo you're showing.

Changelog for 4.13.0 attached. Overall: Introduction of X-CUBE-TOUCHGFX 4.13.0 with TouchGFX Generator for CubeMX 5.5.0-> for TouchGFX HAL Development, serious TextureMapper performance improvements and optimizations to code size, improvements to Arabic text rendering, bugfixes and performance in designer.

And more =) Take a look

/Martin

5 replies

Martin KJELDSEN
Martin KJELDSENBest answer
Principal III
January 29, 2020

Here's an article:

https://touchgfx.zendesk.com/hc/en-us/articles/360007902520-Achieving-better-performance-with-CacheableContainer

I'll see about digging out the source code for that demo you're showing.

Changelog for 4.13.0 attached. Overall: Introduction of X-CUBE-TOUCHGFX 4.13.0 with TouchGFX Generator for CubeMX 5.5.0-> for TouchGFX HAL Development, serious TextureMapper performance improvements and optimizations to code size, improvements to Arabic text rendering, bugfixes and performance in designer.

And more =) Take a look

/Martin

DDi S.1
Associate III
July 13, 2023

HI Martin, but is it possible that there is no documentation with an example for such an important thing as cacheable containers? Can you provide the sample video code that is on the net? Please, it's urgent!

Bob Bailey
Senior
January 30, 2020

can the swipe container be cached? I was thinking it would just take re-creating the swipe container code as its own separate class, based on the cacheable container.

I guess the first step is to implement all the manual steps for assigning the caches for regular screens with containers , the article has a bare-minimum of detail (complete, but with no example code, so where to put the cache updates and stuff like that is left to the (inexperienced (with TouchGFX, not so much C++) ) user )

once that works, the lessons learned can be applied to creating the cacheable swipe container class.

Bob

Martin KJELDSEN
Principal III
January 31, 2020

Hi Bob,

We're currently writing doc for a new platform, moving away from zendesk, so i expect we'll update the article to be more thorough. I agree that it only covers some parts.

You can cache any container, yes.

/Martin

Bob Bailey
Senior
February 17, 2020

@Martin KJELDSEN​  were you able to locate the source code for that demo?