diff options
author | Mathias Fröhlich <[email protected]> | 2011-12-29 13:10:01 +0100 |
---|---|---|
committer | Mathias Fröhlich <[email protected]> | 2012-01-20 07:24:20 +0100 |
commit | 7a1e941ebee43cb97a2c77fd2269999b202308a2 (patch) | |
tree | f5fbbc32120ab01c039599236ca628131380a002 /src/mesa/main/pixelstore.h | |
parent | 2a207c4bf95312b68093280b97229cc4316f5724 (diff) |
mesa: Fix and speedup gl_array_object::_MaxElement computation.
Use a bitmask approach to compute gl_array_object::_MaxElement.
To make this work correctly depending on the shader type actually used,
make use of the newly introduced typed bitmask getters.
With this change I gain about 5% draw time on some osgviewer examples.
Signed-off-by: Mathias Fröhlich <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/pixelstore.h')
0 files changed, 0 insertions, 0 deletions