QEvent::UpdateRequest is too slow
Solved
Mobile and Embedded
-
I have a
QWidgets
(C++) android application (qt 6.4.3
). I am trying to optimize it to work smoothly on 120hz phones, but I have noticed theQEvent::UpdateRequest
of the main widget is taking about 14ms on my phone which makes it impossible to achieve 120hz. The app only has a handful of simple widgets (buttons, text area, etc.) and a single customQOpenGLWidget
. I have timed thepaintGL
of this widget and it takes less than 1ms.My question is, is there any way to optimize
UpdateRequest
speed? And do you have any pointers on what the culprit of this poor performance might be? -