Blender Git Commit Log
Git Commits -> Revision 8d4a908
Revision 8d4a908 by Brecht Van Lommel (master) January 20, 2009, 21:55 (GMT) |
2.5: WIP commit for WM compositing. * Drawing code from wm_event_system.c split into separate wm_draw.c file. Now there's 3 different draw methods implemented, not sure what survives or will be added but is useful for debugging. * Draw All: redraws everything each time, for reference. * Draw Overlap All: what the code did before this commit, only draw regions marked for redraw, and anything that overlaps them. * Triple Buffer: copies/retores all area regions into a texture, and blits that before drawing. Menus, brushes, gestures, etc are redrawn always on top of that. Currently "Draw Overlap All" is set hardcoded to be used still. Triple Buffer code is not complete, it doesn't handle window resize yet. Cards that don't support non power of two textures can need quite large textures as well, this could be split into multiple smaller ones. |
Commit Details:
Full Hash: 8d4a9081cc65ab262448287c2875f534bc76f6aa
SVN Revision: 18597
Parent Commit: 5ddc9ed
Lines Changed: +535, -235
1 Added Path:
/source/blender/windowmanager/intern/wm_draw.c (+515, -0) (View)
7 Modified Paths:
/source/blender/blenloader/intern/readfile.c (+4, -0) (Diff)
/source/blender/editors/include/ED_screen.h (+1, -1) (Diff)
/source/blender/editors/screen/area.c (+9, -20) (Diff)
/source/blender/editors/screen/screen_edit.c (+0, -1) (Diff)
/source/blender/gpu/GPU_extensions.h (+2, -2) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+4, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+0, -211) (Diff)
/source/blender/editors/include/ED_screen.h (+1, -1) (Diff)
/source/blender/editors/screen/area.c (+9, -20) (Diff)
/source/blender/editors/screen/screen_edit.c (+0, -1) (Diff)
/source/blender/gpu/GPU_extensions.h (+2, -2) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+4, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+0, -211) (Diff)