diff options
author | Eric Anholt <eric@anholt.net> | 2009-01-30 13:23:12 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-02-02 12:00:39 -0800 |
commit | dd1c68f15123a889a3ce9d2afe724e272d163e32 (patch) | |
tree | e0d930f14cc5e164a67a48346b49481d82a7dc7c /src/glx/x11/indirect_vertex_array.c | |
parent | 92ced46eaf1f389108ed8d3d788498d799f0b385 (diff) |
dri2: Avoid round-tripping on DRI2GetBuffers for the same set of buffers.
We only wanted to request when asked for the same set of buffers when a resize
has happened. We can just watch the protocol stream for a ConfigureNotify
and flag to do it then.
This is about a 5% win from doing two glViewport()s per frame in openarena.
Diffstat (limited to 'src/glx/x11/indirect_vertex_array.c')
0 files changed, 0 insertions, 0 deletions