[Bf-blender-cvs] [51dceb3] openvdb: Cycles: add some quick logging.

Kévin Dietrich noreply at git.blender.org
Fri Jun 5 14:06:19 CEST 2015


Commit: 51dceb32a8046f4cf14482b0fa65cdd416d2eb90
Author: Kévin Dietrich
Date:   Thu May 14 19:45:24 2015 +0200
Branches: openvdb
https://developer.blender.org/rB51dceb32a8046f4cf14482b0fa65cdd416d2eb90

Cycles: add some quick logging.

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

M	intern/cycles/render/openvdb.cpp

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

diff --git a/intern/cycles/render/openvdb.cpp b/intern/cycles/render/openvdb.cpp
index 2a18360..2ba468e 100644
--- a/intern/cycles/render/openvdb.cpp
+++ b/intern/cycles/render/openvdb.cpp
@@ -16,6 +16,7 @@
 
 #include "openvdb.h"
 #include "scene.h"
+#include "util_logging.h"
 #include "util_progress.h"
 
 CCL_NAMESPACE_BEGIN
@@ -159,6 +160,11 @@ void OpenVDBManager::device_update(Device *device, DeviceScene *dscene, Scene *s
 		return;
 	}
 
+	VLOG(1) << "VDB Samplers allocate: __vdb_float_samplers_p, " << float_samplers_p.size() * sizeof(vdb_fsampler_p) << " bytes";
+	VLOG(1) << "VDB Samplers allocate: __vdb_float_samplers_b, " << float_samplers_b.size() * sizeof(vdb_fsampler_b) << " bytes";
+	VLOG(1) << "VDB Samplers allocate: __vdb_vec3s_samplers_p, " << vec3s_samplers_p.size() * sizeof(vdb_vsampler_p) << " bytes";
+	VLOG(1) << "VDB Samplers allocate: __vdb_vec3s_samplers_b, " << vec3s_samplers_b.size() * sizeof(vdb_vsampler_b) << " bytes";
+
 	need_update = false;
 }




More information about the Bf-blender-cvs mailing list