Yes, all are made with awesome bgrabitmap, i want bring it to LAMW but i had a problem with latest bgrabitmap, it depend on GL or something, it already there but has a problem on compiling bgra on LAMW.
Hi Mongkey,
I've published a version (11.5.7) for you with the package for Android that has been recently added. It should compile without GL dependency. The name of the file is
bgrabitmappack4android.lpk.
https://forum.lazarus.freepascal.org/index.php/topic,24239.msg497907.html#msg497907Maybe you can save nito a temporary bitmap the static backgrounds and redraw only when needed.
Agreed. When the component is drawn, some parts never change unless the component is resized. You can store them in a bitmap, keep it in memory and reuse it each time the control rendered as a background.
For font rendering, you can try to use
TBGRAVectorizedFontRenderer for font rendering. This converts system font into polygons and it may be faster once the characters have already been converted. To use it, create an instance of
TBGRAVectorizedFontRenderer and then either assign it to your bitmap (then you don't have to free it yourself) or use it directly by calling its
TextOut functions (in this case you still need to free it when you free your component).
Warm regards