MCPcopy Create free account
hub / github.com/Kitware/VTK / MarkEndEvent

Method MarkEndEvent

Rendering/OpenGL2/vtkOpenGLRenderTimerLog.cxx:71–87  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

69
70//------------------------------------------------------------------------------
71void vtkOpenGLRenderTimerLog::MarkEndEvent()
72{
73 if (!this->DoLogging())
74 {
75 return;
76 }
77
78 OGLEvent* event = this->DeepestOpenEvent();
79 if (event)
80 {
81 event->Timer->Stop();
82 }
83 else
84 {
85 vtkWarningMacro("No open events to end.");
86 }
87}
88
89//------------------------------------------------------------------------------
90bool vtkOpenGLRenderTimerLog::FrameReady()

Callers 2

UpdateGeometryMethod · 0.45
FrameMethod · 0.45

Calls 3

DoLoggingMethod · 0.95
DeepestOpenEventMethod · 0.95
StopMethod · 0.45

Tested by

no test coverage detected