Blender Git Loki
Git Commits -> Revision cdbda1c
Revision cdbda1c by Clément Foucault (master) June 7, 2018, 10:02 (GMT) |
GPUPass: Refactor gpupass caching system to allow fast gpumaterial creation. This is part of the work needed to refactor the material parameters update. Now the gpupass cache is polled before adding the gpumaterial to the deferred compilation queue. We store gpupasses in a single linked list grouped based on their hashes. This is not the most efficient way but it can be improved upon later. |
Commit Details:
Full Hash: cdbda1c3d8017b994366b101b34c79a5df58902f
Parent Commit: 366ac88
Lines Changed: +214, -111
7 Modified Paths:
/source/blender/draw/intern/draw_manager_data.c (+11, -4) (Diff)
/source/blender/draw/intern/draw_manager_shader.c (+14, -23) (Diff)
/source/blender/gpu/GPU_material.h (+4, -3) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+129, -62) (Diff)
/source/blender/gpu/intern/gpu_codegen.h (+7, -9) (Diff)
/source/blender/gpu/intern/gpu_material.c (+47, -10) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+2, -0) (Diff)
/source/blender/draw/intern/draw_manager_shader.c (+14, -23) (Diff)
/source/blender/gpu/GPU_material.h (+4, -3) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+129, -62) (Diff)
/source/blender/gpu/intern/gpu_codegen.h (+7, -9) (Diff)
/source/blender/gpu/intern/gpu_material.c (+47, -10) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+2, -0) (Diff)