Cycles: optimization for 3D viewport border render with heavy scenes, the OpenGL
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Sun, 14 Apr 2013 21:42:58 +0000 (21:42 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Sun, 14 Apr 2013 21:42:58 +0000 (21:42 +0000)
commitc9a10b99ff2f25b6807cf43c3bfa827ba185e625
treecfac9bc40c5b1f2a039933882d18dfd7c4f6513a
parent77a78658eaf8903d359b23867ae00cf492d39f75
Cycles: optimization for 3D viewport border render with heavy scenes, the OpenGL
render of objects could slow things down when redrawing the view each time a new
sample is displayed.

Now it does a partial redraw of the viewport with only the render border area,
skipping OpenGL object drawing while the render is refining.
source/blender/editors/include/ED_screen.h
source/blender/editors/include/ED_view3d.h
source/blender/editors/screen/area.c
source/blender/editors/space_clip/clip_draw.c
source/blender/editors/space_image/image_draw.c
source/blender/editors/space_view3d/view3d_draw.c
source/blender/windowmanager/intern/wm_draw.c