cancel
Showing results for 
Search instead for 
Did you mean: 

Why does animating an L8 image take significantly longer than a standard image?

scottSD
Lead

I have been experimenting with animating an image onto the screen. Because I want to reduce the amount of FLASH space required, I would like to use an L8 image (I do appreciate adding this format to the TouchGFX framework, by the way).

I am placing the image in a container and I have selected the MoveAnimator Mixin for that container.

However, I notice that the amount of time it takes to animate this container from off the screen to on the screen takes significantly longer when the image is formatted as an L8 (either L8_RGB565 or L8_ARGB888). When I say significant, I am saying it takes up to 50mS as compared to 12mS.

Am I doing something wrong? Is it possible that the DMA2D (ChromART) not working correctly for L8's?

I am using TouchGFX 4.13.0 and my processor is an Stm32H743.

67 REPLIES 67

Hi @Martin KJELDSEN​ 

Any ideas?

Hi @Roman Schläpfer​,

Hopefully i'll have some time to give you an update on this today.

nico's cat
Associate III

I have the same problem.

I did a finger drag image experiment.

When the picture is in L8 format , the setupDataCopy() will be never called . So is it completely done by the CPU?@Martin KJELDSEN

This is my interface:

0693W000001qlU6QAI.png

1: L8_RGB888

2: L8_RGB565

3: ARGB8888

When I drag image1 or image2 by finger , the setupDataCopy() will not be called.

When I drag image3 the setupDataCopy() will be called.

If you don't have the ChromartDMA class i shared in this community, then yes it's drawn by CPU. Working on adding support to the Generator so that it can generate L8 support for all MCUs in the TouchGFX DMA class.

/Martin

Where can I get it ?:smiling_face_with_smiling_eyes:

Thank you for your reply.:face_savoring_food:

Hi @Martin KJELDSEN​ 

Any news on this?

/jimmii

Hi @Martin KJELDSEN​ 

What's the ETA for "Side note: One of my teams tasks next sprint is to add support for L8 through TouchGFX Generator."?

It's not part of the 4.14.0 release, is it?

/jimmii

Hi Jimmii,

Partly, it is, but the most important feature is not in 4.14.0 - We've had to push some features because due to various reasons - But it's being worked on and i hope it'll make it for 4.15.0 (late september).

/Martin