Skip to main content
Klemens_Pleiner_STE
Associate II
October 20, 2020
Question

Does TextureMapper support dynamic bitmaps?

  • October 20, 2020
  • 5 replies
  • 1370 views

I'm using a texture mapper to rotate an arrow inside a circle. That works perfectly well as long as the arrow is included as image asset and this image is directly set as image in the texture mapper.

As soon as I remove the arrow from the assets and place it on the SD card to have it dynamically loaded as dynamic bitmap, the following happens:

  • The dynamic bitmap is displayed without any problems by an Image widget.
  • The dynamic bitmap is NOT displayed by the TextureMapper widget.

This happens for RGB, ARGB as well as L8 images (it does not matter if alpha is included in the clut or not). Dynamic bitmaps do not seem to be supported by TextureMapper.

Is this a bug?

Is there a plan in which version the TouchGFX TextureMapper supports dynamic bitmaps?

Kind regards,

Klemens Pleiner

This topic has been closed for replies.

5 replies

Martin KJELDSEN
Principal III
October 23, 2020

A Dynamic Bitmap is also just a bitmap, so it should work. Is TextureMapper feature enabled for the format you want? In "Config" tab of the designer.

Klemens_Pleiner_STE
Associate II
November 10, 2020

Hello Martin,

thanks for the answer!

I've switched to TouchGFX 4.15 and the problem still persists. In the TouchGFX Designer on Config => Framework Features ALL checkboxes are checked. So the TextureMapper should be able to use dynamic L8ARGB images. But obviously it doesn't.

It still works, as long as the image is included as image asset :(

Maybe the problem is triggered by the place where my dynamic bitmap cache is located:

I'm using the STM32L4R9I Discovery board and I've created the dynamic bitmap cache in the PSRAM of this board. Maybe that's the problem?

(I was unable to put the display buffer into the PSRAM. Thus I have the display buffer still in the internal RAM, but the dynamic bitmap cache must be located in the PSRAM as I don't have plenty of internal RAM left.)