Login  Register

Re: over 80% of time is in AWTAnimatorImpl.display() & GLDrawableHelper.displayImpl()

Posted by rtayek on Sep 08, 2012; 5:34pm
URL: https://forum.jogamp.org/over-80-of-time-is-in-AWTAnimatorImpl-display-GLDrawableHelper-displayImpl-tp4026033p4026043.html

here is a self contained example: http://stackoverflow.com/questions/12324994/how-do-i-get-more-frames-per-second-from-this-jogl-program that reports render and frame times. it is the same as the code in http://forum.jogamp.org/vbo-DrawArrays-threading-question-td4026028.html without the update code on the timer and without the time reporting.

i am using windows 7 x64 with an intel i3 that has on-chip graphics, so that may be part of the problem.

running the code from http://stackoverflow.com/questions/12324994/how-do-i-get-more-frames-per-second-from-this-jogl-program show about .3 ms. to wrap the opengl calls in display, but the actual frame rate is only about 70 fps.

thanks