3d - How To Calculate Frames Per Second in QT Graphics Application - Stack Overflow
3d - How To Calculate Frames Per Second in QT Graphics Application - Stack Overflow
my application draw same geometry for 16 times and then try to know the FPS.
2
How can I make sure glDrawElements() has finished its job ?
Is there any way to make the glDrawElements() synchronous or Pooling the glDrawElements()
complete?
qt 3d opengl-es-2.0
Share Improve this question Follow edited Mar 21, 2016 at 12:44 asked Mar 21, 2016 at 11:17
dtech user279505
48.7k 17 116 202 129 2 6
Do you intend to draw an animation? How do you update the scene? Can you show us some code (minimal
working example)? – Lukáš Bednařík Mar 21, 2016 at 11:41
https://stackoverflow.com/questions/36129607/how-to-calculate-frames-per-second-in-qt-graphics-application?rq=3 1/2
4/7/24, 4:14 PM 3d - How to calculate Frames per second in Qt Graphics Application - Stack Overflow
paintGL ()
{
draw_your_geometry();
++frameCount;
Share Improve this answer Follow edited Dec 4, 2017 at 0:43 answered Apr 9, 2016 at 9:12
eyllanesc user279505
239k 19 185 263 129 2 6
https://stackoverflow.com/questions/36129607/how-to-calculate-frames-per-second-in-qt-graphics-application?rq=3 2/2