Blender Git Loki
Git Commits -> Revision 50e3d32
August 8, 2013, 01:19 (GMT) |
cleaned up basic shader state handling somewhat. lighting seems accurate now Added automatic GPU_BASIC_TEXTURE_2D disablement if there is no texture bound. Also, added texture binding to texture object 0 where I could so this actually works. There may be cases where the bound texture gets cleared across a function call, this should manifest as a white space where I texture should be, but I haven't seen it happen yet. |
Commit Details:
Full Hash: 50e3d32c56e68ae3c4dca49c3eaffdaa93fe88c7
SVN Revision: 59007
Parent Commit: 7f9a651
Lines Changed: +422, -612
30 Modified Paths:
/source/blender/blenfont/intern/blf.c (+4, -15) (Diff)
/source/blender/blenfont/intern/blf_font.c (+7, -1) (Diff)
/source/blender/blenfont/intern/blf_glyph.c (+0, -5) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+19, -25) (Diff)
/source/blender/blenkernel/intern/editderivedmesh.c (+19, -19) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+15, -17) (Diff)
/source/blender/editors/interface/interface_draw.c (+20, -28) (Diff)
/source/blender/editors/interface/interface_icons.c (+8, -24) (Diff)
/source/blender/editors/interface/interface_widgets.c (+6, -12) (Diff)
/source/blender/editors/screen/glutil.c (+4, -17) (Diff)
/source/blender/editors/sculpt_paint/paint_cursor.c (+12, -14) (Diff)
/source/blender/editors/space_file/file_draw.c (+2, -2) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+9, -18) (Diff)
/source/blender/editors/space_view3d/drawanimviz.c (+3, -4) (Diff)
/source/blender/editors/space_view3d/drawarmature.c (+21, -38) (Diff)
/source/blender/editors/space_view3d/drawmesh.c (+39, -66) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+79, -120) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+6, -11) (Diff)
/source/blender/editors/uvedit/uvedit_draw.c (+4, -6) (Diff)
/source/blender/gpu/intern/gpu_basic_shader.c (+27, -19) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+24, -16) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+32, -64) (Diff)
/source/blender/gpu/intern/gpu_extensions.c (+15, -22) (Diff)
/source/blender/gpu/intern/gpu_immediate_gl.c (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_pixels.c (+6, -2) (Diff)
/source/blender/gpu/shaders/gpu_shader_basic_frag.glsl (+29, -29) (Diff)
/source/blender/makesrna/intern/rna_image_api.c (+2, -0) (Diff)
/source/blender/windowmanager/intern/wm_dragdrop.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_draw.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+5, -13) (Diff)
/source/blender/blenfont/intern/blf_font.c (+7, -1) (Diff)
/source/blender/blenfont/intern/blf_glyph.c (+0, -5) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+19, -25) (Diff)
/source/blender/blenkernel/intern/editderivedmesh.c (+19, -19) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+15, -17) (Diff)
/source/blender/editors/interface/interface_draw.c (+20, -28) (Diff)
/source/blender/editors/interface/interface_icons.c (+8, -24) (Diff)
/source/blender/editors/interface/interface_widgets.c (+6, -12) (Diff)
/source/blender/editors/screen/glutil.c (+4, -17) (Diff)
/source/blender/editors/sculpt_paint/paint_cursor.c (+12, -14) (Diff)
/source/blender/editors/space_file/file_draw.c (+2, -2) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+9, -18) (Diff)
/source/blender/editors/space_view3d/drawanimviz.c (+3, -4) (Diff)
/source/blender/editors/space_view3d/drawarmature.c (+21, -38) (Diff)
/source/blender/editors/space_view3d/drawmesh.c (+39, -66) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+79, -120) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+6, -11) (Diff)
/source/blender/editors/uvedit/uvedit_draw.c (+4, -6) (Diff)
/source/blender/gpu/intern/gpu_basic_shader.c (+27, -19) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+24, -16) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+32, -64) (Diff)
/source/blender/gpu/intern/gpu_extensions.c (+15, -22) (Diff)
/source/blender/gpu/intern/gpu_immediate_gl.c (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_pixels.c (+6, -2) (Diff)
/source/blender/gpu/shaders/gpu_shader_basic_frag.glsl (+29, -29) (Diff)
/source/blender/makesrna/intern/rna_image_api.c (+2, -0) (Diff)
/source/blender/windowmanager/intern/wm_dragdrop.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_draw.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+5, -13) (Diff)