Blender Git Loki
Git Commits -> Revision 62a03ea
Revision 62a03ea by Ton Roosendaal (master) December 19, 2008, 14:14 (GMT) |
2.5 All of the view3d drawing code is now 'Context' free. The idea is: - ED_region_do_draw() sets and freezes drawing context - regiontype draw() callback then can pass on other relevant context stuff as function args. Also cleaned up the WM opengl wrappers, to mimic opengl state; no reason to give window pointer anymore. |
Commit Details:
Full Hash: 62a03ea1b6ef84ac80e40ab092393214c6032b88
SVN Revision: 17949
Parent Commit: 63195b0
Lines Changed: +210, -210
16 Modified Paths:
/source/blender/editors/include/ED_screen.h (+3, -2) (Diff)
/source/blender/editors/interface/interface_regions.c (+1, -1) (Diff)
/source/blender/editors/interface/view2d.c (+6, -8) (Diff)
/source/blender/editors/screen/area.c (+7, -7) (Diff)
/source/blender/editors/screen/screen_edit.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/drawmesh.c (+0, -1) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+38, -39) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+39, -40) (Diff)
/source/blender/editors/space_view3d/view3d_edit.c (+4, -5) (Diff)
/source/blender/editors/space_view3d/view3d_intern.h (+6, -7) (Diff)
/source/blender/editors/space_view3d/view3d_view.c (+13, -14) (Diff)
/source/blender/windowmanager/intern/wm_gesture.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_subwindow.c (+67, -61) (Diff)
/source/blender/windowmanager/WM_api.h (+23, -21) (Diff)
/source/blender/windowmanager/wm_subwindow.h (+0, -1) (Diff)
/source/blender/editors/interface/interface_regions.c (+1, -1) (Diff)
/source/blender/editors/interface/view2d.c (+6, -8) (Diff)
/source/blender/editors/screen/area.c (+7, -7) (Diff)
/source/blender/editors/screen/screen_edit.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/drawmesh.c (+0, -1) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+38, -39) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+39, -40) (Diff)
/source/blender/editors/space_view3d/view3d_edit.c (+4, -5) (Diff)
/source/blender/editors/space_view3d/view3d_intern.h (+6, -7) (Diff)
/source/blender/editors/space_view3d/view3d_view.c (+13, -14) (Diff)
/source/blender/windowmanager/intern/wm_gesture.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_subwindow.c (+67, -61) (Diff)
/source/blender/windowmanager/WM_api.h (+23, -21) (Diff)
/source/blender/windowmanager/wm_subwindow.h (+0, -1) (Diff)