Blender Git Commit Log
Git Commits -> Revision 69310fb
Revision 69310fb by Brecht Van Lommel (master) January 23, 2009, 03:52 (GMT) |
2.5: WM Compositing * Triple Buffer is now more complete: - Proper handling of window resize, duplicate, etc. - It now uses 3x3 textures (or less) if the power of two sizes do not match well. That still has a worst case wast of 23.4%, but better than 300%. - It can also use the ARB/NV/EXT_texture_rectangle extension now, which may be supported on hardware that does not support ARB_texture_non_power_of_two. - Gesture, menu and brushe redraws now require no redraws at all from the area regions. So even on a high poly scene just moving the paint cursor or opening a menu should be fast. * Testing can be done by setting the "Window Draw Method" in the User Preferences in the outliner. "Overlap" is still default, since "Triple Buffer" has not been tested on computers other than mine, would like to avoid crashing Blender on startup in case there is a common bug, but it's ready for testing now. - For reference "Full" draws the full window each time. - "Triple Buffer" should work for both swap copy and swap exchange systems, the latter still need the -E command line option for "Overlap". - Resizing and going fullscreen still gives flicker here but no more than "Full" drawing. * Partial Redraw was added. ED_region_tag_redraw_partial takes a rect in window coordinates to define a subarea of the region. On region draw it will then set glScissor to a smaller area, and ar->drawrct will always be set to either the partial or full window rect. The latter can then be used for clipping in the 3D view or clipping interface drawing. Neither is implemented yet. |
Commit Details:
Full Hash: 69310fb1076b040b75b681f3e48c1fed15dd000a
SVN Revision: 18632
Parent Commit: 9872e58
Lines Changed: +461, -149
1 Added Path:
/source/blender/windowmanager/wm_draw.h (+42, -0) (View)
17 Modified Paths:
/source/blender/blenloader/intern/readfile.c (+6, -2) (Diff)
/source/blender/editors/include/ED_screen.h (+2, -0) (Diff)
/source/blender/editors/interface/interface_regions.c (+3, -4) (Diff)
/source/blender/editors/screen/area.c (+35, -3) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+4, -2) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+7, -0) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+2, -3) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+11, -0) (Diff)
/source/blender/windowmanager/intern/wm.c (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_draw.c (+293, -118) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+11, -4) (Diff)
/source/blender/windowmanager/intern/wm_gesture.c (+5, -2) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+12, -5) (Diff)
/source/blender/windowmanager/intern/wm_subwindow.c (+16, -4) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+9, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+2, -1) (Diff)
/source/blender/windowmanager/wm_event_system.h (+0, -1) (Diff)
/source/blender/editors/include/ED_screen.h (+2, -0) (Diff)
/source/blender/editors/interface/interface_regions.c (+3, -4) (Diff)
/source/blender/editors/screen/area.c (+35, -3) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+4, -2) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+7, -0) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+2, -3) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+11, -0) (Diff)
/source/blender/windowmanager/intern/wm.c (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_draw.c (+293, -118) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+11, -4) (Diff)
/source/blender/windowmanager/intern/wm_gesture.c (+5, -2) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+12, -5) (Diff)
/source/blender/windowmanager/intern/wm_subwindow.c (+16, -4) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+9, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+2, -1) (Diff)
/source/blender/windowmanager/wm_event_system.h (+0, -1) (Diff)