Blender Git Loki

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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021