Lines Matching refs:queries
86 queries. The application begins an occlusion test and ends it;
91 an application wishes to perform many queries, and it eliminates
96 and it encapsulates occlusion queries in "query objects" that allow
97 applications to issue many queries before asking for the result of
119 - Occlusion queries can replace glReadPixels of the depth buffer to
133 additional types of queries.
181 Should there be a limit on how many queries can be outstanding?
186 internal limit on the number of outstanding queries, it is not
223 occlusion queries will always return that zero samples passed the
224 occlusion test, and so an application should not use occlusion queries
274 Is it guaranteed that occlusion queries return in order?
328 a problem beyond simple occlusion queries, this extension creates
329 a framework useful for future queries.
372 Using bounding box occlusion queries may either help or hurt in
380 In multipass rendering situations, however, occlusion queries can
386 occlusion queries, especially as it relates to invariance?
389 queries. If occlusion queries go through a different code path
419 using occlusion queries, it is best to be careful about the near
440 occlusion queries by almost a factor of N.
445 Do occlusion queries make other visibility algorithms obsolete?
449 Occlusion queries are helpful, but they are not a cure-all. They
488 (modify fourth paragraph, p. 4) It also means that queries and
505 Occlusion queries can be used to track the number of fragments or
508 Occlusion queries are associated with query objects. The command
639 query is available, the result for all previous queries must also be
645 If multiple queries are issued on the same target and id prior to
647 from the last query issued. The results from any queries before the
702 n*4 LISTofCARD32 queries
878 GLuint queries[N];
886 // render scene without using occlusion queries
889 glGenQueriesARB(N, queries);
896 glBeginQueryARB(GL_SAMPLES_PASSED_ARB, queries[i]);
903 // Do other work until "most" of the queries are back, to avoid
908 glGetQueryObjectivARB(queries[i],
917 glGetQueryObjectuivARB(queries[i], GL_QUERY_RESULT_ARB,
925 application that does not use occlusion queries.
944 Here is the previous example, enhanced using occlusion queries.
946 GLuint queries[N];
949 glGenQueriesARB(N, queries);
957 glBeginQueryARB(GL_SAMPLES_PASSED_ARB, queries[i]);
969 glGetQueryObjectuivARB(queries[i], GL_QUERY_RESULT_ARB,