summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/tests/dispatch_sanity.cpp
diff options
context:
space:
mode:
authorFredrik Höglund <[email protected]>2015-03-02 18:25:45 +0100
committerFredrik Höglund <[email protected]>2015-05-08 15:31:02 +0200
commit6c37acfbedb88b460d2997f8b2d7b0e04a8782df (patch)
tree26ea46a6f300968164e5d52f39da95860c668579 /src/mesa/main/tests/dispatch_sanity.cpp
parent2830c2fbeb9601c1760a9fffe45cd04f8c635d25 (diff)
mesa: Keep track of the last looked-up VAO
This saves the cost of repeated hash table lookups when the same vertex array object is referenced in a sequence of calls such as: glVertexArrayAttribFormat(vao, ...); glVertexArrayAttribBinding(vao, ...); glEnableVertexArrayAttrib(vao, ...); ... Note that VAO's are container objects that are not shared between contexts. Reviewed-by: Laura Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/main/tests/dispatch_sanity.cpp')
0 files changed, 0 insertions, 0 deletions