Blender Git Loki
Git Commits -> Revision 8665323
Revision 8665323 by Antonis Ryakiotakis (master) April 9, 2015, 18:20 (GMT) |
Fix T31546 fragment program gets created every frame That was really crappy indeed. Now we have a separate API for low level OpenGL programs, plus a nice interface for GPU, also removes some GL calls from main code as a plus :) The source for the programs is also moved to nice external .glsl files (not sure which extension convention GPU assemply uses) |
Commit Details:
Full Hash: 866532360c75298c88dc51724e878255295b98df
Parent Commit: 7ea4163
Lines Changed: +215, -95
2 Added Paths:
/source/blender/gpu/shaders/gpu_program_smoke_color_frag.glsl (+32, -0) (View)
/source/blender/gpu/shaders/gpu_program_smoke_frag.glsl (+27, -0) (View)
/source/blender/gpu/shaders/gpu_program_smoke_frag.glsl (+27, -0) (View)
6 Modified Paths:
/SConstruct (+3, -0) (Diff)
/source/blender/editors/space_view3d/drawvolume.c (+12, -89) (Diff)
/source/blender/gpu/CMakeLists.txt (+5, -0) (Diff)
/source/blender/gpu/GPU_extensions.h (+23, -2) (Diff)
/source/blender/gpu/intern/gpu_extensions.c (+111, -4) (Diff)
/source/blender/gpu/SConscript (+2, -0) (Diff)
/source/blender/editors/space_view3d/drawvolume.c (+12, -89) (Diff)
/source/blender/gpu/CMakeLists.txt (+5, -0) (Diff)
/source/blender/gpu/GPU_extensions.h (+23, -2) (Diff)
/source/blender/gpu/intern/gpu_extensions.c (+111, -4) (Diff)
/source/blender/gpu/SConscript (+2, -0) (Diff)