16 #ifndef vtkOpenGLRenderTimerLog_h 17 #define vtkOpenGLRenderTimerLog_h 20 #include "vtkRenderingOpenGL2Module.h" 57 void MarkFrame() VTK_OVERRIDE;
59 void MarkStartEvent(const std::
string &
name) VTK_OVERRIDE;
60 void MarkEndEvent() VTK_OVERRIDE;
62 bool FrameReady() VTK_OVERRIDE;
64 Frame PopFirstReadyFrame() VTK_OVERRIDE;
69 void ReleaseGraphicsResources() VTK_OVERRIDE;
82 vtkGetMacro(MinTimerPoolSize,
size_t)
92 size_t MinTimerPoolSize;
109 void ReleaseOGLFrame(
OGLFrame &frame);
110 void ReleaseOGLEvent(
OGLEvent &event);
112 void TrimTimerPool();
114 void CheckPendingFrames();
118 void ForceCloseFrame(
OGLFrame &frame);
119 void ForceCloseEvent(
OGLEvent &event);
126 #endif // vtkOpenGLRenderTimerLog_h std::vector< OGLEvent > Events
OpenGL2 override for vtkRenderTimerLog.
std::vector< OGLEvent > Events
static vtkRenderTimerLog * New()
virtual bool IsSupported()
Returns true if stream timings are implemented for the current graphics backend.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Container for a frame's events.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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)