Lines Matching defs:ids
257 * Create $n query objects and store them in *ids. Make them of type $target
261 create_queries(struct gl_context *ctx, GLenum target, GLsizei n, GLuint *ids,
274 if (_mesa_HashFindFreeKeys(ctx->Query.QueryObjects, ids, n)) {
278 = ctx->Driver.NewQueryObject(ctx, ids[i]);
287 _mesa_HashInsertLocked(ctx->Query.QueryObjects, ids[i], q, true);
293 _mesa_GenQueries(GLsizei n, GLuint *ids)
296 create_queries(ctx, 0, n, ids, false);
300 _mesa_CreateQueries(GLenum target, GLsizei n, GLuint *ids)
321 create_queries(ctx, target, n, ids, true);
326 _mesa_DeleteQueries(GLsizei n, const GLuint *ids)
341 if (ids[i] > 0) {
342 struct gl_query_object *q = _mesa_lookup_query_object(ctx, ids[i]);
354 _mesa_HashRemoveLocked(ctx->Query.QueryObjects, ids[i]);