cancel
Showing results for 
Search instead for 
Did you mean: 

Info about cacheable container

Bob Bailey
Senior

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

1 ACCEPTED SOLUTION

Accepted Solutions
Martin KJELDSEN
Chief III

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

View solution in original post

5 REPLIES 5
Martin KJELDSEN
Chief III

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

Bob Bailey
Senior

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
Chief III

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

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

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!