Lines Matching refs:numQueries
91 queryid_valid(const struct gl_context *ctx, unsigned numQueries, GLuint queryid) in queryid_valid() argument
98 return queryid != 0 && queryid_to_index(queryid) < numQueries; in queryid_valid()
133 unsigned numQueries; in _mesa_GetFirstPerfQueryIdINTEL() local
145 numQueries = init_performance_query_info(ctx); in _mesa_GetFirstPerfQueryIdINTEL()
153 if (numQueries == 0) { in _mesa_GetFirstPerfQueryIdINTEL()
168 unsigned numQueries; in _mesa_GetNextPerfQueryIdINTEL() local
186 numQueries = init_performance_query_info(ctx); in _mesa_GetNextPerfQueryIdINTEL()
188 if (!queryid_valid(ctx, numQueries, queryId)) { in _mesa_GetNextPerfQueryIdINTEL()
194 if (queryid_valid(ctx, numQueries, ++queryId)) in _mesa_GetNextPerfQueryIdINTEL()
205 unsigned numQueries; in _mesa_GetPerfQueryIdByNameINTEL() local
229 numQueries = init_performance_query_info(ctx); in _mesa_GetPerfQueryIdByNameINTEL()
231 for (i = 0; i < numQueries; ++i) { in _mesa_GetPerfQueryIdByNameINTEL()
257 unsigned numQueries = init_performance_query_info(ctx); in _mesa_GetPerfQueryInfoINTEL() local
264 if (!queryid_valid(ctx, numQueries, queryId)) { in _mesa_GetPerfQueryInfoINTEL()
318 unsigned numQueries = init_performance_query_info(ctx); in _mesa_GetPerfCounterInfoINTEL() local
333 if (!queryid_valid(ctx, numQueries, queryId)) { in _mesa_GetPerfCounterInfoINTEL()
412 unsigned numQueries = init_performance_query_info(ctx); in _mesa_CreatePerfQueryINTEL() local
421 if (!queryid_valid(ctx, numQueries, queryId)) { in _mesa_CreatePerfQueryINTEL()