[Mesa-dev] [PATCH 3/4] queryobj: Add IsQuery flag, making ISQuery() return false before BeginQuery()

Carl Worth cworth at cworth.org
Wed Dec 19 16:06:51 PST 2012


Matt Turner <mattst88 at gmail.com> writes:
> The 4.2 and 4.3 specs say
>
> ... but no object is associated with them until the first time they
> are used by BeginQuery, BeginQueryIndexed, or QueryCounter.
>
> BeginQuery vs BeginQueryIndexed are no problem, since _mesa_BeginQuery
> internally is implemented with the -Indexed version. Is the
> QueryCounter change actually a change in behavior or should be be
> implementing that now too?

I think that's a useful clarification in the specification, and I'll fix
my patch to update the IsQuery flag there as well.

(I was working from the 3.1 specification which doesn't have
QueryCounter. The 3.3 specification adds QueryCounter, and didn't change
this sentence, but probably should have, which was fixed by the time of
4.2.)

Thanks for the catch,

-Carl

-- 
carl.d.worth at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20121219/56ddb996/attachment.pgp>


More information about the mesa-dev mailing list