TForm Repaint speed Android (Delphi 10.2 vs 10.1)
I'm programming a game and recently switched to Delphi 10.2. FPS dropped. After searching for some time I think it is becasue of TForm paint speed.
Here is my test:
1 Created a new Multi-Device application.
2 Put a TTimer on it.
3 Timer interval set to 1
4 Timer OnTimer event calls Form.Invalidate
5 Deploy on an Android Device (Samsung Note 10.1 2014 Edition)
6 Open Intel GPA System Analyzer and run the application.
If these steps are done using Delphi 10.2 CPU usage and GPU calls are seems normal but FPS is capped 48-50 (Vsync is on or off)
if these steps are done using Delphi 10.1 FPS is 230-240 (When VSync is deactivated)
(I also checked Timer speed without invalidate it seems to run @~1000Hz so timer is not the problem)
So why is that? Is this a bug?
-
Accepted Answer
0https://community.embarcadero.com/forum/ui/4087-tform-paint-speed-in-10-2-vs-10-1-android
This is a known issue. We are working on it:
RSP-17162
Currently I would recommend to use 10.1 Berlin....