Blender Git Commit Log

Git Commits -> Revision 7cdd5ed

Revision 7cdd5ed by Clément Foucault (master)
May 30, 2019, 11:43 (GMT)
DRW: Add unit_state to avoid lots of DRWCallState duplication

A lot of drawcalls don't use the object's properties and don't
need a dedicated DRWCallState. We allocate a unique one at
the begining and use it for all calls that uses the default
unit matrix.

Commit Details:

Full Hash: 7cdd5ed7bd228d46b5eecc3355b01d00f26d1ca2
Parent Commit: 9f2e154
Lines Changed: +35, -10

3 Modified Paths:

/source/blender/draw/intern/draw_manager.c (+28, -0) (Diff)
/source/blender/draw/intern/draw_manager.h (+2, -0) (Diff)
/source/blender/draw/intern/draw_manager_data.c (+5, -10) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021