Blender Git Commit Log
Git Commits -> Revision b028426
Revision b028426 by Sergey Sharybin (cycles-x) March 19, 2021, 18:15 (GMT) |
Cycles: Avoid temporary buffer allocation for GPUDisplay update on CPU The idea is to request GPUDisplay to map memory, so that the film conversion can happen directly into that memory. Additionally, move away from task to a kernel call. In an own tests here the full viewport render time on a very simple file is now about 6% faster, although is unclear whether it is due to TBB or due to avoiding extra memory copy. Still nice. The GPU part still needs work, and will be handled separately. |
Commit Details:
Full Hash: b0284265cfba225a2b68f6a5410acc8376f3a4d3
Parent Commit: a832bab
Lines Changed: +164, -31
10 Modified Paths:
/intern/cycles/blender/blender_gpu_display.cpp (+24, -6) (Diff)
/intern/cycles/blender/blender_gpu_display.h (+3, -0) (Diff)
/intern/cycles/integrator/path_trace.cpp (+8, -25) (Diff)
/intern/cycles/integrator/path_trace_work.h (+4, -0) (Diff)
/intern/cycles/integrator/path_trace_work_cpu.cpp (+38, -0) (Diff)
/intern/cycles/integrator/path_trace_work_cpu.h (+2, -0) (Diff)
/intern/cycles/integrator/path_trace_work_gpu.cpp (+38, -0) (Diff)
/intern/cycles/integrator/path_trace_work_gpu.h (+2, -0) (Diff)
/intern/cycles/render/gpu_display.cpp (+26, -0) (Diff)
/intern/cycles/render/gpu_display.h (+19, -0) (Diff)
/intern/cycles/blender/blender_gpu_display.h (+3, -0) (Diff)
/intern/cycles/integrator/path_trace.cpp (+8, -25) (Diff)
/intern/cycles/integrator/path_trace_work.h (+4, -0) (Diff)
/intern/cycles/integrator/path_trace_work_cpu.cpp (+38, -0) (Diff)
/intern/cycles/integrator/path_trace_work_cpu.h (+2, -0) (Diff)
/intern/cycles/integrator/path_trace_work_gpu.cpp (+38, -0) (Diff)
/intern/cycles/integrator/path_trace_work_gpu.h (+2, -0) (Diff)
/intern/cycles/render/gpu_display.cpp (+26, -0) (Diff)
/intern/cycles/render/gpu_display.h (+19, -0) (Diff)