Blender Git Loki
Git Commits -> Revision 5a4fcef
Revision 5a4fcef by Sergey Sharybin (master) April 11, 2017, 14:49 (GMT) |
Make image drawing code working with core profile The issue was caused here by usage of deprecated GL_CURRENT_PROGRAM which was returning rubbish value. Now we use imm API and create vertex format prior to immBindProgram. This made us required to have some sort of state passed from setup function to actual drawing. |
Commit Details:
Full Hash: 5a4fceff1b10e18fffc1d536e71e47b27ed40402
Parent Commit: 35ee9db
Lines Changed: +109, -84
15 Modified Paths:
/source/blender/editors/include/BIF_glutil.h (+16, -6) (Diff)
/source/blender/editors/interface/interface_draw.c (+4, -4) (Diff)
/source/blender/editors/interface/interface_icons.c (+2, -2) (Diff)
/source/blender/editors/mask/mask_draw.c (+3, -3) (Diff)
/source/blender/editors/render/render_internal.c (+4, -4) (Diff)
/source/blender/editors/render/render_preview.c (+2, -2) (Diff)
/source/blender/editors/screen/glutil.c (+45, -31) (Diff)
/source/blender/editors/space_file/file_draw.c (+2, -2) (Diff)
/source/blender/editors/space_image/image_draw.c (+16, -16) (Diff)
/source/blender/editors/space_node/drawnode.c (+3, -3) (Diff)
/source/blender/editors/space_node/node_draw.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/view3d_draw_legacy.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_dragdrop.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_gesture.c (+4, -4) (Diff)
/source/blender/windowmanager/intern/wm_playanim.c (+2, -1) (Diff)
/source/blender/editors/interface/interface_draw.c (+4, -4) (Diff)
/source/blender/editors/interface/interface_icons.c (+2, -2) (Diff)
/source/blender/editors/mask/mask_draw.c (+3, -3) (Diff)
/source/blender/editors/render/render_internal.c (+4, -4) (Diff)
/source/blender/editors/render/render_preview.c (+2, -2) (Diff)
/source/blender/editors/screen/glutil.c (+45, -31) (Diff)
/source/blender/editors/space_file/file_draw.c (+2, -2) (Diff)
/source/blender/editors/space_image/image_draw.c (+16, -16) (Diff)
/source/blender/editors/space_node/drawnode.c (+3, -3) (Diff)
/source/blender/editors/space_node/node_draw.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/view3d_draw_legacy.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_dragdrop.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_gesture.c (+4, -4) (Diff)
/source/blender/windowmanager/intern/wm_playanim.c (+2, -1) (Diff)