blender/intern/cycles
Sergey Sharybin e4b7d52fe4 Fix graphics interop resources leak in Cycles
When new display driver is given to the PathTrace ensure that there are
no GPU resources used from it by the work. This solves graphics interop
descriptors leak.

This aqlso fixes Invalid graphics context in cuGraphicsUnregisterResource
error when doing final render on the display GPU.

Fixes T95837: Regression: GPU memory accumulation in Cycles render
Fixes T95733: Cycles Cuda/Optix error message with multi GPU devices. (Invalid graphics context in cuGraphicsUnregisterResource)
Fixes T95651: GPU error (Invalid graphics context in cuGraphicsUnregisterResource)
Fixes T95631: VRAM is not being freed when rendering (Invalid graphics context in cuGraphicsUnregisterResource)
Fixes T89747: Cycles Render - Textures Disappear then Crashes the Render

Maniphest Tasks: T95837, T95733, T95651, T95631, T89747

Differential Revision: https://developer.blender.org/D14146
2022-02-18 15:26:15 +01:00
..
app Cycles: restore basic standalone GUI, now using SDL 2022-02-16 15:30:43 +01:00
blender Fix graphics interop resources leak in Cycles 2022-02-18 15:26:15 +01:00
bvh Fix size_t -> int -> size_t round trip in Cycles 2022-02-10 12:39:41 +01:00
cmake Cycles: restore basic standalone GUI, now using SDL 2022-02-16 15:30:43 +01:00
device Cycles: restore basic standalone GUI, now using SDL 2022-02-16 15:30:43 +01:00
doc Cleanup: fix typos in comments and docs 2021-11-19 13:02:16 +01:00
graph Cleanup: capitalize NOTE tag 2021-11-30 10:15:17 +11:00
integrator Fix graphics interop resources leak in Cycles 2022-02-18 15:26:15 +01:00
kernel Cleanup: clang-format 2022-02-15 01:05:25 +01:00
scene Fix build error on some compilers after recent bugfix 2022-02-17 20:30:19 +01:00
session Fix Cycles assert in debug mode after recent changes 2022-02-14 15:45:11 +01:00
subd Cycles: remove prefix from source code file names 2021-10-26 15:37:04 +02:00
test Build: remove usage of link_directories 2022-01-13 10:40:38 +01:00
util Cycles: restore basic standalone GUI, now using SDL 2022-02-16 15:30:43 +01:00
CMakeLists.txt Cycles: add build option to enable a debugging feature for MIS 2021-11-17 18:03:56 +01:00