diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-07-14 17:48:23 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-07-14 17:48:23 +0300 |
commit | 107e34407d0ae4120cc7a12fdb208986a0b47d8e (patch) | |
tree | ad19f330d4caa5d60d994b7bec9c1e2067e3bd75 /source/blender/gpu/GPU_draw.h | |
parent | 1b8b9063f8d086b51f7e2b0ee9ca640903283cb1 (diff) |
Display optimizations part 1.
This patch changes the way we draw meshes by introducing
indexed drawing. This makes it possible to easily
upload and rearrange faces ad lib according to any criteria.
Currently we use material sorting but textured sorting and
hiding will be added to optimize textured drawing and skip
per face testing.
It also adds support for vertex buffers for subsurf
modifiers (Except from GLSL drawing), making drawing of
subsurf much faster without need for bogus modifiers.
Tests show that we gain approximately 20-25% performance
by that for solid mode drawing with up to 50% gains for
material drawing. Textured drawing should also have a
small performance gain, but more substantial optimizations
are possible there.
Reviewers: campbellbarton
Differential Revision: https://developer.blender.org/D1406
Diffstat (limited to 'source/blender/gpu/GPU_draw.h')
0 files changed, 0 insertions, 0 deletions