Commit cd9a3df5 authored by Allison Vacanti's avatar Allison Vacanti

Add some more annotation points to vtkEDLShading.

parent d0b36972
......@@ -743,10 +743,12 @@ void vtkEDLShading::Render(const vtkRenderState *s)
// 5. EDL SHADING PASS - FULL RESOLUTION
//
#if EDL_HIGH_RESOLUTION_ON
annotate("Start vtkEDLShading::ShadeHigh");
if(! this->EDLShadeHigh(s2,renWin) )
{
this->ProjectionFBO->RestorePreviousBindingsAndBuffers();
}
annotate("End vtkEDLShading::ShadeHigh");
#endif // EDL_HIGH_RESOLUTION_ON
//////////////////////////////////////////////////////
......@@ -754,13 +756,17 @@ void vtkEDLShading::Render(const vtkRenderState *s)
// 6. EDL SHADING PASS - LOW RESOLUTION + blur pass
//
#if EDL_LOW_RESOLUTION_ON
annotate("Start vtkEDLShading::ShadeLow");
if(! this->EDLShadeLow(s2, renWin) )
{
this->ProjectionFBO->RestorePreviousBindingsAndBuffers();
}
annotate("End vtkEDLShading::ShadeLow");
if (this->EDLIsFiltered)
{
annotate("Start vtkEDLShading::BlurLow");
this->EDLBlurLow(s2, renWin);
annotate("End vtkEDLShading::BlurLow");
}
#endif // EDL_LOW_RESOLUTION_ON
......@@ -774,10 +780,12 @@ void vtkEDLShading::Render(const vtkRenderState *s)
}
this->ProjectionFBO->RestorePreviousBindingsAndBuffers();
annotate("Start vtkEDLShading::Compose");
if( ! this->EDLCompose(s, renWin))
{
return;
}
annotate("End vtkEDLShading::Compose");
}
else
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment