Blender Git Loki

Git Commits -> Revision 33f85d0

Revision 33f85d0 by Mike Erwin (GPU_data_request)
April 16, 2015, 17:56 (GMT)
cache GPUx batches for performance++

WIP �?? developed on Mac, want to test on Linux & Windows so pushing
unfinished.

Everything needed for drawing is collected into a GPUxBatch. These are
generated per-object the first time drawn, then reused for subsequent
draws. Regenerated when DerivedMesh or draw mode changes.

TODO:
- actively reclaim memory (like gpu_buffers.c�??s pool)
- store a list of batches per DM, for complex drawing
- find cause of low perf on high poly OB_SOLID rendering

Commit Details:

Full Hash: 33f85d0fe2a52e94722f00e46472156e15451570
Parent Commit: 26e5c28
Lines Changed: +181, -58

5 Modified Paths:

/source/blender/blenkernel/BKE_DerivedMesh.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+7, -0) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+87, -58) (Diff)
/source/blender/gpu/GPUx_draw.h (+13, -0) (Diff)
/source/blender/gpu/intern/gpux_draw.c (+72, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021