diff options
author | Eric Anholt <eric@anholt.net> | 2012-08-23 10:18:47 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2012-08-26 10:40:28 -0700 |
commit | b765119c5d2cd41a7f47cce10fd1fdbcf162b03d (patch) | |
tree | d94b689df8707a17627b31da8f32f0c0f55c5112 /docs | |
parent | 6754ec831e5aaec516db929c8db6e7478a2f5540 (diff) | |
download | external_mesa3d-b765119c5d2cd41a7f47cce10fd1fdbcf162b03d.zip external_mesa3d-b765119c5d2cd41a7f47cce10fd1fdbcf162b03d.tar.gz external_mesa3d-b765119c5d2cd41a7f47cce10fd1fdbcf162b03d.tar.bz2 |
mesa: Add constants for the GL_QUERY_COUNTER_BITS per target.
Drivers need to be able to communicate their actual number of bits populated
in the field in order for applications to be able to properly handle rollover.
There's a small behavior change here: Instead of reporting the
GL_SAMPLES_PASSED bits for GL_ANY_SAMPLES_PASSED (which would also be valid),
just return 1, because more bits don't make any sense.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions