DD::Image::TopDownGraphObserver Class Reference

Inherited by DD::Image::DebugTopDownGraphObserver.

Public Member Functions

virtual void graphStarted (OpTask *rootTask, Op *rootOp, OpTasks &opTaskMap)
 
virtual void graphStarted (TopDownGraphEvaluator *graph)
 Called when a topdown render has started.
 
virtual void graphEnded (TopDownGraphEvaluator *graph)
 Called when a topdown render has finished.
 
virtual void taskSpawned (OpTask *task, bool leaf=false)
 Called when a task is spawned.
 
virtual void taskStarted (OpTask *task)
 Called when a task has started executing.
 
virtual void taskEnded (OpTask *task, float milliseconds)
 Called when a task has finished executing.
 
virtual void regionStarted (OpTask *task, int y)
 Called when a scanline op has started rendering the region starting at position y.
 
virtual void regionEnded (OpTask *task, int y)
 Called when a scanline op has finished rendering the region ending at position y.
 

Detailed Description

TopDownGraphObserver is an abstract base class for defining observers that can be used to track various topdown rendering events. It is primarily intended as a debugging tool for recording and analysing topdown rendering performance. Observers must be registered with the topdown system in order to receive rendering events.

Member Function Documentation

virtual void DD::Image::TopDownGraphObserver::graphStarted ( OpTask rootTask,
Op rootOp,
OpTasks &  opTaskMap 
)
inlinevirtual

Called when a topdown render has started. This version can be used by observers that need access to the full set of tasks that will be executed.



©2022 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.thefoundry.co.uk