Blender Git Loki

Git Commits -> Revision 038f9b7

Revision 038f9b7 by Sergey Sharybin (master)
August 24, 2021, 14:20 (GMT)
Render: Lazily allocate render passes pixels storage

The idea is to only allocate pixel storage only when there is an actual
data to be written to them.

This moves the code forward a better support of high-res rendering when
pixel storage is not allocated until render engine is ready to provide
pixel data.

Is expected to be no functional changes for neither users no external
engines. The only difference is that the motion and depth passes will
be displayed as transparent for until render engine provides any tile
result (at which point the pixels will be allocated and initialized to
infinite depth).

Differential Revision: https://developer.blender.org/D12195

Commit Details:

Full Hash: 038f9b7f4a0e58da671079fd09aecdb926f12b0f
Parent Commit: 7aff40f
Lines Changed: +100, -52

7 Modified Paths:

/source/blender/draw/engines/image/image_engine.c (+38, -23) (Diff)
/source/blender/editors/space_image/image_edit.c (+9, -1) (Diff)
/source/blender/render/intern/engine.c (+11, -0) (Diff)
/source/blender/render/intern/pipeline.c (+1, -0) (Diff)
/source/blender/render/intern/render_result.c (+37, -28) (Diff)
/source/blender/render/intern/render_result.h (+2, -0) (Diff)
/source/blender/render/RE_pipeline.h (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021