cancel
Showing results for 
Search instead for 
Did you mean: 

Do I have to use Bitmap::setCache if Bitmap::registerBitmapDatabase is already called beforehand?

MarPan
Visitor

Hello,

I had a use case to add dynamic bitmaps in a project I joined, and I followed the documentation to make them work.
https://support.touchgfx.com/docs/development/ui-development/touchgfx-engine-features/dynamic-bitmaps

 

Surprisingly, I realized that the addresses of dynamic bitmaps are not as I would expect them. The code I added that called Bitmap::setCache seems to be ignored.

I dug into project internals and found that there is a call to registerBitmapDatabase during initialization, with cache parameter supplied, but there is not a lot about that function in the docs. Does this explain why my `setCache` was ignored?

0 REPLIES 0