RenderEngine api: support for viewport rendering, details here:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 2 Nov 2011 18:20:53 +0000 (18:20 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 2 Nov 2011 18:20:53 +0000 (18:20 +0000)
commit97a0ae3e1b7eea3c069da8c6d3c7a3535734059d
tree139a1b118140779120ed16c45ed319588596477e
parenta59f7e02f8c8b2527e6a23e440ca61a9b9992373
RenderEngine api: support for viewport rendering, details here:
http://wiki.blender.org/index.php/Dev:2.6/Source/Render/RenderEngineAPI

* This adds a Rendered draw type in the 3D view, only available when
  the render engine implements the view_draw callback.
* 3D view now stores a pointer to a RenderEngine.

* view_draw() callback will do OpenGL drawing instead of the viewport.
* view_update() callback is called after depsgraph updates.
16 files changed:
source/blender/blenloader/intern/readfile.c
source/blender/editors/include/ED_render.h
source/blender/editors/render/render_update.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/makesdna/DNA_object_types.h
source/blender/makesdna/DNA_view3d_types.h
source/blender/makesrna/intern/rna_render.c
source/blender/makesrna/intern/rna_scene.c
source/blender/makesrna/intern/rna_space.c
source/blender/render/extern/include/RE_engine.h
source/blender/render/intern/source/external_engine.c
source/blender/windowmanager/intern/wm_draw.c
source/blender/windowmanager/intern/wm_event_system.c
source/blenderplayer/bad_level_call_stubs/stubs.c