Blender Git Commit Log
Git Commits -> Revision b02786a
Revision b02786a by Mike Erwin (master) April 13, 2017, 05:07 (GMT) |
Gawain: use ShaderInterface to manage uniforms This eliminates tons of glGetUniformLocation calls from the drawing loop. Vast majority of code can keep making the same function calls. They're just faster now! - Batch_Uniform* - immUniform* - gpuBindMatrices - and others |
Commit Details:
Full Hash: b02786ae6be71d3b7581b672b7896005f68c8b63
Parent Commit: 6bfb9b7
Lines Changed: +130, -206
12 Modified Paths:
/intern/gawain/gawain/batch.h (+3, -1) (Diff)
/intern/gawain/gawain/immediate.h (+2, -1) (Diff)
/intern/gawain/src/batch.c (+23, -56) (Diff)
/intern/gawain/src/immediate.c (+36, -84) (Diff)
/intern/opencolorio/ocio_impl_glsl.cc (+27, -21) (Diff)
/source/blender/draw/intern/draw_manager.c (+1, -1) (Diff)
/source/blender/gpu/GPU_matrix.h (+2, -1) (Diff)
/source/blender/gpu/intern/gpu_batch.c (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_compositing.c (+11, -11) (Diff)
/source/blender/gpu/intern/gpu_immediate.c (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_matrix.c (+22, -27) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+1, -1) (Diff)
/intern/gawain/gawain/immediate.h (+2, -1) (Diff)
/intern/gawain/src/batch.c (+23, -56) (Diff)
/intern/gawain/src/immediate.c (+36, -84) (Diff)
/intern/opencolorio/ocio_impl_glsl.cc (+27, -21) (Diff)
/source/blender/draw/intern/draw_manager.c (+1, -1) (Diff)
/source/blender/gpu/GPU_matrix.h (+2, -1) (Diff)
/source/blender/gpu/intern/gpu_batch.c (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_compositing.c (+11, -11) (Diff)
/source/blender/gpu/intern/gpu_immediate.c (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_matrix.c (+22, -27) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+1, -1) (Diff)