blender/intern/cycles/render
Sergey Sharybin 6eec49ed20 Cycles: memory usage report
This commit adds memory usage information while rendering.

It reports memory used by device, meaning:

- For CPU it'll report real memory consumption
- For GPU rendering it'll report GPU memory consumption, but it'll
  also mean the same memory is used from host side.

This information displays information about memory requested by Cycles,
not memory really allocated on a device. Real memory usage might be
higher because of memory fragmentation or optimistic memory allocator.

There's really nothing we can do against this.

Also in contrast with blender internal's render cycles memory usage
does not include memory used by scene, only memory needed by cycles
itself will be displayed. So don't freak out if memory usage reported
by cycles would be much lower than blender internal's.

This commit also adds RenderEngine.update_memory_stats callback which
is used to tell memory consumption from external engine to blender.
This information is used to generate information line after rendering
is finished.
2012-11-05 08:04:57 +00:00
..
attribute.cpp Cycles: use mikktspace now for computing tangents from UV maps. This avoids ugly 2012-11-03 15:36:02 +00:00
attribute.h Fix for Cycles (CUDA) compilation (again ...). Moved the AttributeStandard enum typedef and the attribute_standard_name mapping function to util_attribute/util_types headers, so they can properly be used by kernel and render files alike. This should avoid any std C includes which are not available in CUDA. Thanks to Sergey for help! 2012-09-07 11:06:45 +00:00
background.cpp Cycles: add render layer use environment option to disable world lighting on 2012-04-13 12:58:12 +00:00
background.h Cycles: add render layer use environment option to disable world lighting on 2012-04-13 12:58:12 +00:00
buffers.cpp Cycles: memory usage report 2012-11-05 08:04:57 +00:00
buffers.h Cycles: merge of changes from tomato branch. 2012-09-04 13:29:07 +00:00
camera.cpp More fixes related to #32900, motion blur with cuda sm 2.0 still disabled. 2012-10-18 12:45:27 +00:00
camera.h Cycles: fix some update issues with camera motion blur, and do some more work 2012-10-15 21:12:58 +00:00
CMakeLists.txt code cleanup: 2012-10-17 04:13:03 +00:00
film.cpp Fix #31883: cycles vectors pass rendering crash with some render layers using 2012-06-20 14:24:52 +00:00
film.h Fix #31883: cycles vectors pass rendering crash with some render layers using 2012-06-20 14:24:52 +00:00
filter.cpp style cleanup: assignment & indentation. 2012-06-09 18:56:12 +00:00
filter.h Cycles: 2011-08-28 13:55:59 +00:00
graph.cpp Cycles: per-BSDF normal input and new Bump node. 2012-10-10 15:56:43 +00:00
graph.h Integer socket support in Cycles. Int values are already supported natively in OSL, but were not used as actual ints on the SVM stack. This patch implements all the necessary functionality to support reading input values from RNA properties and convert between SHADER_SOCKET_INT and other types. 2012-10-20 13:11:45 +00:00
image.cpp Fix #32618: cycles multithreaded image loading could crash with CUDA, was a 2012-09-27 17:42:09 +00:00
image.h Fix #32618: cycles multithreaded image loading could crash with CUDA, was a 2012-09-27 17:42:09 +00:00
integrator.cpp Fix #32018: non-progressive integrator crash. 2012-09-19 17:09:11 +00:00
integrator.h Cycles: first step for implementation of non-progressive sampler that handles 2012-06-13 11:44:48 +00:00
light.cpp Fix #32815: cycles environment render as lamp crash with resolution >= 1024. 2012-10-08 12:15:18 +00:00
light.h Cycles: first step for implementation of non-progressive sampler that handles 2012-06-13 11:44:48 +00:00
mesh_displace.cpp Cycles: support for motion vector and UV passes. 2012-04-30 12:49:26 +00:00
mesh.cpp Cycles: improve Anisotropic BSDF node, changing the Roughness U/V inputs to 2012-11-04 22:31:32 +00:00
mesh.h Cycles: threading optimizations 2012-05-05 19:44:33 +00:00
nodes.cpp Cycles: improve Anisotropic BSDF node, changing the Roughness U/V inputs to 2012-11-04 22:31:32 +00:00
nodes.h Cycles: improve Anisotropic BSDF node, changing the Roughness U/V inputs to 2012-11-04 22:31:32 +00:00
object.cpp Attempts to fix CUDA issues on sm 2.0 cards, still no luck getting motion blur 2012-10-17 22:48:29 +00:00
object.h Fix cycles motion blur not working correct with shutter time > 2.0. The soft 2012-10-17 17:27:30 +00:00
osl.cpp Cycles OSL: shader script node 2012-11-03 14:32:35 +00:00
osl.h Cycles OSL: shader script node 2012-11-03 14:32:35 +00:00
particles.cpp Cycles fix: don't skip particle device update when there are no particle systems. The device texture always contains at least one dummy particle in case particle info node is used for non-instance objects, this must be initialized in any case. 2012-09-01 11:30:19 +00:00
particles.h Added a bunch of additional particle state attributes to the Cycles particle info node: 2012-08-31 19:38:59 +00:00
scene.cpp Cycles: fix some update issues with camera motion blur, and do some more work 2012-10-15 21:12:58 +00:00
scene.h Cycles: fix some update issues with camera motion blur, and do some more work 2012-10-15 21:12:58 +00:00
session.cpp Cycles: memory usage report 2012-11-05 08:04:57 +00:00
session.h Cycles: memory usage report 2012-11-05 08:04:57 +00:00
shader.cpp Cycles: optimization to not compile shaders and load images that are not 2012-10-30 11:51:17 +00:00
shader.h Cycles OSL: shader script node 2012-11-03 14:32:35 +00:00
sobol.cpp Fix #29528: crash adding subsurf modifier in a particular scene with viewport render. 2011-12-08 21:55:35 +00:00
sobol.h Fix #29528: crash adding subsurf modifier in a particular scene with viewport render. 2011-12-08 21:55:35 +00:00
svm.cpp Cycles: optimization to not compile shaders and load images that are not 2012-10-30 11:51:17 +00:00
svm.h Cycles: support for motion vector and UV passes. 2012-04-30 12:49:26 +00:00
tile.cpp Cycles: use simplier strategy in next_tile for viewport rendering 2012-10-25 12:03:36 +00:00
tile.h Cycles: use simplier strategy in next_tile for viewport rendering 2012-10-25 12:03:36 +00:00