[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [51115] branches/soc-2008-mxcurioni/source /blender/freestyle/intern/application/Controller.cpp: Split time measurement for temporary scene generation from that for stroke rendering .
Tamito Kajiyama
rd6t-kjym at asahi-net.or.jp
Sat Oct 6 16:08:27 CEST 2012
Revision: 51115
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51115
Author: kjym3
Date: 2012-10-06 14:08:26 +0000 (Sat, 06 Oct 2012)
Log Message:
-----------
Split time measurement for temporary scene generation from that for stroke rendering.
Modified Paths:
--------------
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/application/Controller.cpp
Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/application/Controller.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/application/Controller.cpp 2012-10-06 14:06:40 UTC (rev 51114)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/application/Controller.cpp 2012-10-06 14:08:26 UTC (rev 51115)
@@ -773,8 +773,11 @@
_Chrono.start();
BlenderStrokeRenderer* blenderRenderer = new BlenderStrokeRenderer(re, ++_render_count);
_Canvas->Render( blenderRenderer );
+ real d = _Chrono.stop();
+ cout << "Temporary scene generation: " << d << endl;
+ _Chrono.start();
Render* freestyle_render = blenderRenderer->RenderScene(re);
- real d = _Chrono.stop();
+ d = _Chrono.stop();
cout << "Stroke rendering : " << d << endl;
delete blenderRenderer;
More information about the Bf-blender-cvs
mailing list