Blender Git Commit Log

Git Commits -> Revision fd3589e

Revision fd3589e by Campbell Barton (master)
June 29, 2017, 10:11 (GMT)
DwM: optimize mesh batch conversion

- Replace GWN_vertbuf_attr_set with Gwn_VertBufRaw & GWN_vertbuf_raw_step
to avoid intermediate copy.
- Avoid extra conversion step with: float[3] -> short[3] -> Gwn_PackedNormal.
We can skip the short[3].

Gives approx 6% speedup here.

Commit Details:

Full Hash: fd3589e4c969d2e08b864e0e60c8c25f23e50145
Parent Commit: 34566aa
Lines Changed: +94, -104

1 Modified Path:

/source/blender/draw/intern/draw_cache_impl_mesh.c (+94, -104) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021