Go to the documentation of this file.
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(); }
86 vtkSetMacro(MinTimerPoolSize,
size_t)
87 vtkGetMacro(MinTimerPoolSize,
size_t)
97 size_t MinTimerPoolSize;
117 void TrimTimerPool();
119 void CheckPendingFrames();
131 #endif // vtkOpenGLRenderTimerLog_h
bool FrameReady() override
Returns true if there are any frames ready with complete timing info.
std::vector< OGLEvent > Events
OpenGL2 override for vtkRenderTimerLog.
static vtkOpenGLRenderTimerLog * New()
void MarkFrame() override
Call to mark the start of a new frame, or the end of an old one.
vtkOpenGLRenderTimer * Timer
VTKACCELERATORSVTKM_EXPORT vtkm::cont::Field Convert(vtkDataArray *input, int association)
Frame PopFirstReadyFrame() override
Retrieve the first available frame's timing info.
Asynchronously measures GPU execution time for a single event.
std::vector< OGLEvent > Events
void ReleaseGraphicsResources() override
Releases any resources allocated on the graphics device.
a simple class to control print indentation
void MarkEndEvent() override
Mark the beginning or end of an event.
Container for a frame's events.
Asynchronously measures GPU execution times for a series of events.
void MarkStartEvent(const std::string &name) override
Mark the beginning or end of an event.
Container for a single timed event.