diff options
author | Brian Paul <[email protected]> | 2016-08-31 18:28:00 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-09-17 10:09:00 -0600 |
commit | 581292a78c67335814a3ffb33409f7a62ecedd79 (patch) | |
tree | 87a0a6dee430a41713431a752d44624ec6f0d035 /scons/gallium.py | |
parent | ee5f5e226906ff4e18f34d0e7d41aa82dcf51f70 (diff) |
svga: try to emit fewer buffer rebind commands
If a consecutive sequence of drawing commands references the same
vertex/index buffers, there should be no need to rebind the surfaces
for the second and subsequent drawing commands.
Apps that use multiple display lists benefit from this since the vertex
data for several display lists is often stored in one buffer.
In the case of the legacy E&S Glaze demo, this reduces the size of our
command buffers from 91KB to 44KB. One WSI Fusion trace shows a 33%
reduction in command buffer sizes.
Tested with full piglit run.
Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'scons/gallium.py')
0 files changed, 0 insertions, 0 deletions