Reimplemented from OglGui::Window. Definition at line 235 of file VideoJpgPlayer.h. References OglGui::Window::DisplayFunc(), mFrameNr, mIncrement, mLastTime, mListener, mListenerData, mNewFrame, mNormalSpeed, mOglView, mPlaying, mTimePerFrame, NextFrame(), and Impala::Visualization::VideoJpgPlayerListener::OnNewFrame(). 00236 { 00237 double cpuTime = OglClock(); 00238 00239 if (mPlaying && mOglView){ 00240 if (!mNormalSpeed || (cpuTime-mLastTime) > mTimePerFrame) 00241 { 00242 mLastTime = cpuTime; 00243 NextFrame(mIncrement); 00244 } 00245 } 00246 Window::DisplayFunc(); 00247 if (mNewFrame && mListener) 00248 mListener->OnNewFrame(this, mFrameNr, mListenerData); 00249 mNewFrame = false; 00250 }
Here is the call graph for this function:
|