Lines Matching defs:ids
544 * Create $n query objects and store them in *ids. Make them of type $target
548 create_queries(struct gl_context *ctx, GLenum target, GLsizei n, GLuint *ids,
561 if (_mesa_HashFindFreeKeys(ctx->Query.QueryObjects, ids, n)) {
565 = new_query_object(ctx, ids[i]);
574 _mesa_HashInsertLocked(ctx->Query.QueryObjects, ids[i], q, true);
580 _mesa_GenQueries(GLsizei n, GLuint *ids)
583 create_queries(ctx, 0, n, ids, false);
587 _mesa_CreateQueries(GLenum target, GLsizei n, GLuint *ids)
608 create_queries(ctx, target, n, ids, true);
613 _mesa_DeleteQueries(GLsizei n, const GLuint *ids)
628 if (ids[i] > 0) {
629 struct gl_query_object *q = _mesa_lookup_query_object(ctx, ids[i]);
641 _mesa_HashRemoveLocked(ctx->Query.QueryObjects, ids[i]);