summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shared.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2020-03-21 21:36:28 -0400
committerMarek Olšák <[email protected]>2020-04-06 10:28:53 -0400
commite630271e0ec3eee7d921d76d3924873f6ee6b59b (patch)
tree28f71d8b21fbf1805325178c71233209920cdcd8 /src/mesa/main/shared.h
parenta0a0c68150b4dbba469c62159a327ae9465f6016 (diff)
mesa: don't ever set NullBufferObj in gl_vertex_array_binding
This improves performance by 5% in the game "torcs", FPS: 98.83 -> 103.73 It does a lot of glPush/PopClientAttrib, which exacerbates the overhead of setting NullBufferObj. Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4466>
Diffstat (limited to 'src/mesa/main/shared.h')
0 files changed, 0 insertions, 0 deletions