Blender Git Commit Log

Git Commits -> Revision 1653bbc

Revision 1653bbc by Mike Erwin (GPU_data_request)
April 22, 2015, 06:59 (GMT)
reduce VRAM usage for flat normals

Reduce number of GL verts from (3 * tess_tri_ct) to (1 * loop_ct).
Attribute data formats unchanged.

stock Suzanne mesh
507 verts, 1005 edges, 500 polys, 500 faces, 1968 loops

mode = NORMAL_DRAW_FLAT

(3 * tri_ct) verts, vec3s normals (+padding)
GPUx batch size: 63886 bytes

(3 * tri_ct) verts, vec3s normals (no padding)
GPUx batch size: 58080 bytes

loop_ct verts, vec3s normals (+padding)
GPUx batch size: 45166 bytes

loop_ct verts, vec3s normals (no padding)
GPUx batch size: 41232 bytes

Commit Details:

Full Hash: 1653bbc778d5e6afa5f068a2118858c03749e964
Parent Commit: 27fe135
Lines Changed: +13, -17

1 Modified Path:

/source/blender/editors/space_view3d/drawobject.c (+13, -17) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021