Blender Git Loki
Git Commits -> Revision 0c9a2de
Revision 0c9a2de by Campbell Barton (master) April 12, 2017, 09:51 (GMT) |
Draw Engine: remove hard coded limit on array sizes This removes MAX_STORAGE, MAX_BUFFERS, MAX_TEXTURES, MAX_PASSES limits. Actual memory saving isn't so important, it just means we don't need to manually bump these based on changes to engines. |
Commit Details:
Full Hash: 0c9a2def8b1e40a0b5a3ed348d1fd92cc13096ff
Parent Commit: b380f49
Lines Changed: +163, -109
22 Modified Paths:
/source/blender/draw/DRW_engine.h (+3, -0) (Diff)
/source/blender/draw/engines/clay/clay.c (+3, -4) (Diff)
/source/blender/draw/engines/eevee/eevee.c (+3, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+0, -4) (Diff)
/source/blender/draw/intern/draw_manager.c (+22, -1) (Diff)
/source/blender/draw/intern/DRW_render.h (+21, -0) (Diff)
/source/blender/draw/modes/edit_armature_mode.c (+6, -5) (Diff)
/source/blender/draw/modes/edit_curve_mode.c (+3, -4) (Diff)
/source/blender/draw/modes/edit_lattice_mode.c (+3, -4) (Diff)
/source/blender/draw/modes/edit_mesh_mode.c (+4, -5) (Diff)
/source/blender/draw/modes/edit_metaball_mode.c (+3, -4) (Diff)
/source/blender/draw/modes/edit_surface_mode.c (+3, -4) (Diff)
/source/blender/draw/modes/edit_text_mode.c (+3, -4) (Diff)
/source/blender/draw/modes/object_mode.c (+6, -7) (Diff)
/source/blender/draw/modes/paint_texture_mode.c (+3, -4) (Diff)
/source/blender/draw/modes/paint_vertex_mode.c (+3, -4) (Diff)
/source/blender/draw/modes/paint_weight_mode.c (+3, -4) (Diff)
/source/blender/draw/modes/particle_mode.c (+3, -4) (Diff)
/source/blender/draw/modes/pose_mode.c (+3, -4) (Diff)
/source/blender/draw/modes/sculpt_mode.c (+3, -4) (Diff)
/source/blender/gpu/GPU_viewport.h (+11, -9) (Diff)
/source/blender/gpu/intern/gpu_viewport.c (+51, -30) (Diff)
/source/blender/draw/engines/clay/clay.c (+3, -4) (Diff)
/source/blender/draw/engines/eevee/eevee.c (+3, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+0, -4) (Diff)
/source/blender/draw/intern/draw_manager.c (+22, -1) (Diff)
/source/blender/draw/intern/DRW_render.h (+21, -0) (Diff)
/source/blender/draw/modes/edit_armature_mode.c (+6, -5) (Diff)
/source/blender/draw/modes/edit_curve_mode.c (+3, -4) (Diff)
/source/blender/draw/modes/edit_lattice_mode.c (+3, -4) (Diff)
/source/blender/draw/modes/edit_mesh_mode.c (+4, -5) (Diff)
/source/blender/draw/modes/edit_metaball_mode.c (+3, -4) (Diff)
/source/blender/draw/modes/edit_surface_mode.c (+3, -4) (Diff)
/source/blender/draw/modes/edit_text_mode.c (+3, -4) (Diff)
/source/blender/draw/modes/object_mode.c (+6, -7) (Diff)
/source/blender/draw/modes/paint_texture_mode.c (+3, -4) (Diff)
/source/blender/draw/modes/paint_vertex_mode.c (+3, -4) (Diff)
/source/blender/draw/modes/paint_weight_mode.c (+3, -4) (Diff)
/source/blender/draw/modes/particle_mode.c (+3, -4) (Diff)
/source/blender/draw/modes/pose_mode.c (+3, -4) (Diff)
/source/blender/draw/modes/sculpt_mode.c (+3, -4) (Diff)
/source/blender/gpu/GPU_viewport.h (+11, -9) (Diff)
/source/blender/gpu/intern/gpu_viewport.c (+51, -30) (Diff)