diff options
author | Luca Barbieri <[email protected]> | 2010-01-18 01:02:55 +0100 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-04-12 23:36:21 +0200 |
commit | 9ad385fef95e8f8b9ecf89c85fb443e30196e9c2 (patch) | |
tree | 0a40214011a89573d2c48d92fb6939e4cdb25ace /include/GL | |
parent | 202760b4372fbe8488b0c6b93578697ae81fd430 (diff) |
nvfx: support an unlimited number of occlusion queries
Currently on nv30/nv40 an assert will be triggered once 32 queries are
outstanding.
This violates the OpenGL/Gallium interface, which requires support for
an unlimited number of fences.
This patch fixes the problem by putting queries in a linked list and
waiting on the oldest one if allocation fails.
nVidia seems to use a similar strategy, but with 1024 instead of 32 fences.
The next patch will improve this.
Diffstat (limited to 'include/GL')
0 files changed, 0 insertions, 0 deletions