Blender Git Commit Log
Git Commits -> Revision abd1934
Revision abd1934 by Mike Erwin (master) April 15, 2017, 22:06 (GMT) |
Gawain: use ShaderInterface to manage vertex attribs This eliminates tons of glGetAttribLocation calls from the drawing loop. Vast majority of code can keep making the same function calls. They're just faster now! |
Commit Details:
Full Hash: abd1934be6ebba0a5dbf0a1354d4badcb49cf192
Parent Commit: 2593ce9
Lines Changed: +34, -18
7 Modified Paths:
/intern/gawain/gawain/attrib_binding.h (+2, -1) (Diff)
/intern/gawain/gawain/shader_interface.h (+1, -0) (Diff)
/intern/gawain/src/attrib_binding.c (+4, -8) (Diff)
/intern/gawain/src/batch.c (+6, -6) (Diff)
/intern/gawain/src/immediate.c (+1, -1) (Diff)
/intern/gawain/src/shader_interface.c (+18, -0) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+2, -2) (Diff)
/intern/gawain/gawain/shader_interface.h (+1, -0) (Diff)
/intern/gawain/src/attrib_binding.c (+4, -8) (Diff)
/intern/gawain/src/batch.c (+6, -6) (Diff)
/intern/gawain/src/immediate.c (+1, -1) (Diff)
/intern/gawain/src/shader_interface.c (+18, -0) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+2, -2) (Diff)