Blender Git Commit Log
Git Commits -> Revision 95947c6
Revision 95947c6 by Julian Eisel (viewport_generic_engine) October 8, 2016, 17:33 (GMT) |
Implement generic draw-modes and draw-plates for viewport engines Also made the new viewport use these (at least a default mode with a number of default plates). This draw-plate design is more generic then the previous hardcoded one, it stores the plates in mutable lists which can be stored as presets (draw-modes). We can further add sub-plates and process callbacks for plates that need additional data processing or don't do any drawing. |
Commit Details:
Full Hash: 95947c65761c140227d7e99147d1b711d9852997
Parent Commit: 1c104bb
Lines Changed: +175, -63
6 Modified Paths:
/source/blender/editors/space_view3d/view3d_draw_legacy.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_intern.h (+2, -1) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+1, -1) (Diff)
/source/blender/viewport/intern/blender_viewport/blender_viewport.c (+57, -51) (Diff)
/source/blender/viewport/intern/engine_api.c (+81, -5) (Diff)
/source/blender/viewport/VP_engine_API.h (+33, -4) (Diff)
/source/blender/editors/space_view3d/view3d_intern.h (+2, -1) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+1, -1) (Diff)
/source/blender/viewport/intern/blender_viewport/blender_viewport.c (+57, -51) (Diff)
/source/blender/viewport/intern/engine_api.c (+81, -5) (Diff)
/source/blender/viewport/VP_engine_API.h (+33, -4) (Diff)