[Bf-blender-cvs] [5fa0ec97c69] cycles_texture_cache: Cycles: Writing texture cache stats through VLOG not std::cout.

Stefan Werner noreply at git.blender.org
Fri May 21 15:47:44 CEST 2021


Commit: 5fa0ec97c69e721ebcd6f1abc62346914d8722a2
Author: Stefan Werner
Date:   Tue May 18 22:31:20 2021 +0200
Branches: cycles_texture_cache
https://developer.blender.org/rB5fa0ec97c69e721ebcd6f1abc62346914d8722a2

Cycles: Writing texture cache stats through VLOG not std::cout.

===================================================================

M	intern/cycles/render/shader.cpp

===================================================================

diff --git a/intern/cycles/render/shader.cpp b/intern/cycles/render/shader.cpp
index f35ae53f371..ab471f13f2a 100644
--- a/intern/cycles/render/shader.cpp
+++ b/intern/cycles/render/shader.cpp
@@ -33,6 +33,7 @@
 #include "render/tables.h"
 
 #include "util/util_foreach.h"
+#include "util/util_logging.h"
 #include "util/util_murmurhash.h"
 #include "util/util_task.h"
 #include "util/util_transform.h"
@@ -789,7 +790,7 @@ void ShaderManager::texture_system_init()
 
 void ShaderManager::texture_system_free()
 {
-  std::cout << ts->getstats(2) << std::endl;
+  VLOG(1) << ts->getstats(2);
   ts->reset_stats();
   ts->invalidate_all(true);
   TextureSystem::destroy(ts);



More information about the Bf-blender-cvs mailing list