Blender Git Commit Log
Git Commits -> Revision 223f7e7
Revision 223f7e7 by Clément Foucault (master) April 19, 2019, 13:19 (GMT) |
DRW: Add batch garbage collection This is only working for shading batches for the moment and only if some Custom data layer are not needed anymore. The collection rate is hardcoded at 60 sec but could be exposed to the user. This system can be extended and discard most unused batches in the future. This commit is in prevision of removing BKE_MESH_BATCH_DIRTY_SHADING when changing shader parameters. |
Commit Details:
Full Hash: 223f7e79f9fa221f60841afcff9a9ed8a97d9306
Parent Commit: 973e64c
Lines Changed: +95, -3
6 Modified Paths:
/source/blender/draw/DRW_engine.h (+3, -0) (Diff)
/source/blender/draw/intern/draw_cache.c (+21, -0) (Diff)
/source/blender/draw/intern/draw_cache_impl.h (+5, -0) (Diff)
/source/blender/draw/intern/draw_cache_impl_mesh.c (+25, -1) (Diff)
/source/blender/draw/intern/draw_manager.c (+40, -2) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+1, -0) (Diff)
/source/blender/draw/intern/draw_cache.c (+21, -0) (Diff)
/source/blender/draw/intern/draw_cache_impl.h (+5, -0) (Diff)
/source/blender/draw/intern/draw_cache_impl_mesh.c (+25, -1) (Diff)
/source/blender/draw/intern/draw_manager.c (+40, -2) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+1, -0) (Diff)