2.5
authorTon Roosendaal <ton@blender.org>
Fri, 19 Dec 2008 14:14:43 +0000 (14:14 +0000)
committerTon Roosendaal <ton@blender.org>
Fri, 19 Dec 2008 14:14:43 +0000 (14:14 +0000)
commit62a03ea1b6ef84ac80e40ab092393214c6032b88
treeb77ebd05c5cceb6eb6d79db65b73f22780fcdd4a
parent63195b01794e42243b1bcac01de43eccaa89fade
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.
16 files changed:
source/blender/editors/include/ED_screen.h
source/blender/editors/interface/interface_regions.c
source/blender/editors/interface/view2d.c
source/blender/editors/screen/area.c
source/blender/editors/screen/screen_edit.c
source/blender/editors/space_view3d/drawmesh.c
source/blender/editors/space_view3d/drawobject.c
source/blender/editors/space_view3d/space_view3d.c
source/blender/editors/space_view3d/view3d_draw.c
source/blender/editors/space_view3d/view3d_edit.c
source/blender/editors/space_view3d/view3d_intern.h
source/blender/editors/space_view3d/view3d_view.c
source/blender/windowmanager/WM_api.h
source/blender/windowmanager/intern/wm_gesture.c
source/blender/windowmanager/intern/wm_subwindow.c
source/blender/windowmanager/wm_subwindow.h