16 #ifndef vtkOpenGLRenderTimerLog_h 17 #define vtkOpenGLRenderTimerLog_h 20 #include "vtkRenderingOpenGL2Module.h" 53 void PrintSelf(ostream &os,
vtkIndent indent) override;
55 bool IsSupported() override;
60 bool GetLoggingEnabled()
override {
return this->DoLogging(); }
62 void MarkFrame()
override;
65 void MarkEndEvent()
override;
67 bool FrameReady()
override;
69 Frame PopFirstReadyFrame()
override;
74 void ReleaseGraphicsResources()
override;
86 vtkSetMacro(MinTimerPoolSize,
size_t)
87 vtkGetMacro(MinTimerPoolSize,
size_t)
114 void ReleaseOGLFrame(
OGLFrame &frame);
115 void ReleaseOGLEvent(
OGLEvent &event);
117 void TrimTimerPool();
119 void CheckPendingFrames();
123 void ForceCloseFrame(
OGLFrame &frame);
124 void ForceCloseEvent(
OGLEvent &event);
131 #endif // vtkOpenGLRenderTimerLog_h std::vector< OGLEvent > Events
std::queue< vtkOpenGLRenderTimer * > TimerPool
std::queue< Frame > ReadyFrames
OpenGL2 override for vtkRenderTimerLog.
std::vector< OGLEvent > Events
std::deque< OGLFrame > PendingFrames
a simple class to control print indentation
Container for a frame's events.
vtkOpenGLRenderTimer * Timer
Container for a single timed event.
Asynchronously measures GPU execution time for a single event.
Asynchronously measures GPU execution times for a series of events.
VTKACCELERATORSVTKM_EXPORT vtkm::cont::Field Convert(vtkDataArray *input, int association)