Blender Git Loki
Git Commits -> Revision 5eddb80
Revision 5eddb80 by Mike Erwin (master) September 15, 2016, 16:41 (GMT) |
Extend Gawain to use Blender's built-in shaders Was already done for immediate mode, but rearranged code to make a clean separation. Cleaned up #includes for code that uses this feature. Added same for batched rendering. |
Commit Details:
Full Hash: 5eddb8051382aa4406f6fb33b3eb0f748c6d1911
Parent Commit: 39f7a81
Lines Changed: +122, -30
3 Added Paths:
/source/blender/gpu/intern/gpu_batch.c (+35, -0) (View)
/source/blender/gpu/intern/gpu_immediate.c (+35, -0) (View)
/source/blender/gpu/intern/gpu_shader_private.h (+40, -0) (View)
/source/blender/gpu/intern/gpu_immediate.c (+35, -0) (View)
/source/blender/gpu/intern/gpu_shader_private.h (+40, -0) (View)
9 Modified Paths:
/source/blender/editors/interface/interface_draw.c (+0, -1) (Diff)
/source/blender/editors/interface/interface_widgets.c (+0, -1) (Diff)
/source/blender/editors/screen/area.c (+0, -1) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+0, -1) (Diff)
/source/blender/gpu/CMakeLists.txt (+2, -0) (Diff)
/source/blender/gpu/GPU_batch.h (+4, -0) (Diff)
/source/blender/gpu/GPU_immediate.h (+5, -0) (Diff)
/source/blender/gpu/GPU_shader.h (+0, -4) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+1, -22) (Diff)
/source/blender/editors/interface/interface_widgets.c (+0, -1) (Diff)
/source/blender/editors/screen/area.c (+0, -1) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+0, -1) (Diff)
/source/blender/gpu/CMakeLists.txt (+2, -0) (Diff)
/source/blender/gpu/GPU_batch.h (+4, -0) (Diff)
/source/blender/gpu/GPU_immediate.h (+5, -0) (Diff)
/source/blender/gpu/GPU_shader.h (+0, -4) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+1, -22) (Diff)