Blender Git Loki

Git Commits -> Revision 5ec7987

Revision 5ec7987 by Jeroen Bakker (master)
May 2, 2019, 13:10 (GMT)
DrawManager: External Engine Depth Buffer

Only draw the depth buffer when overlays are enabled and scene
or view has changed.

When using Cycles in the viewport for every viewport draw call
the depth buffer was renewed. Draw calls happened when a sample
was finished or the status report was updated.

This could waist some CPU/GPU cycles. This change will check when
the depth buffer needs to be updated or when the last known depth
buffer could be reused.

Reviewers: brecht, fclem

Maniphest Tasks: T63525

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

Commit Details:

Full Hash: 5ec79879491331c499642ea6635a4bd456b84460
Parent Commit: 9fa0e58
Lines Changed: +103, -12

1 Modified Path:

/source/blender/draw/engines/external/external_engine.c (+103, -12) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021