gallium: fix PIPE_QUERY_TIMESTAMP_DISJOINT
authorRoland Scheidegger <sroland@vmware.com>
Wed, 19 Jun 2013 21:25:39 +0000 (23:25 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Wed, 19 Jun 2013 21:47:35 +0000 (23:47 +0200)
commitcdf89d0b5c3fccefe573d5adf731dd8fb900b74e
treeaf4babc7d296b84ecee7ec7d248ab24691e1ca64
parenta0a40805ddeb77d3062780418efc26605d2a5b64
gallium: fix PIPE_QUERY_TIMESTAMP_DISJOINT

The semantics didn't really make sense, not really matching neither d3d9
(though the docs are all broken there) nor d3d10. So make it match d3d10
semantics, which actually gives meaning to the "disjoint" part.
Drivers are fixed up in a very primitive way, I have no idea what could
actually cause the counter to become unreliable so just always return
FALSE for the disjoint part.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/docs/source/context.rst
src/gallium/drivers/nv50/nv50_query.c
src/gallium/drivers/nvc0/nvc0_query.c