Blender Git Commit Log

Git Commits -> Revision 53ed7ef

Revision 53ed7ef by Sergey Sharybin (cycles-x)
March 26, 2021, 08:58 (GMT)
Cycles: Support CUDA Graphics Interoperability

Allows to update GPUDisplay using CUDA without need to copy pixels
from GPU to CPU and back to GPU.

Pretty much refactoring the old code to fit into the new GPUDisplay
and PathTraceWork.

Rendering on CUDA Titan V which is the display card here is about 10%
faster vieweport rendering of simple scene compared to the round trip.

The compute device RTC6000 is 17% slower that the round trip.
Would not consider this a stopper for this change as the similar timing
difference can be observed in the old DisplayBuffer style of drawing.

Commit Details:

Full Hash: 53ed7efe683f117078ed0103ccafd8c3bc799b6f
Parent Commit: b95e118
Lines Changed: +619, -105

2 Added Paths:

/intern/cycles/device/device_graphics_interop.cpp (+21, -0) (View)
/intern/cycles/device/device_graphics_interop.h (+52, -0) (View)

12 Modified Paths:

/intern/cycles/blender/blender_gpu_display.cpp (+111, -43) (Diff)
/intern/cycles/blender/blender_gpu_display.h (+23, -15) (Diff)
/intern/cycles/device/CMakeLists.txt (+2, -0) (Diff)
/intern/cycles/device/cuda/device_impl.cpp (+93, -0) (Diff)
/intern/cycles/device/cuda/device_impl.h (+4, -0) (Diff)
/intern/cycles/device/device.h (+24, -0) (Diff)
/intern/cycles/integrator/path_trace.cpp (+6, -1) (Diff)
/intern/cycles/integrator/path_trace_work_cpu.cpp (+1, -1) (Diff)
/intern/cycles/integrator/path_trace_work_gpu.cpp (+62, -13) (Diff)
/intern/cycles/integrator/path_trace_work_gpu.h (+19, -0) (Diff)
/intern/cycles/render/gpu_display.cpp (+116, -12) (Diff)
/intern/cycles/render/gpu_display.h (+85, -20) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021