Lines Matching refs:Query
47 if (!ctx->Extensions.NV_conditional_render || ctx->Query.CondRenderQuery ||
53 ASSERT(ctx->Query.CondRenderMode == GL_NONE);
81 ctx->Query.CondRenderQuery = q;
82 ctx->Query.CondRenderMode = mode;
96 if (!ctx->Extensions.NV_conditional_render || !ctx->Query.CondRenderQuery) {
102 ctx->Driver.EndConditionalRender(ctx, ctx->Query.CondRenderQuery);
104 ctx->Query.CondRenderQuery = NULL;
105 ctx->Query.CondRenderMode = GL_NONE;
124 struct gl_query_object *q = ctx->Query.CondRenderQuery;
127 /* no query in progress - draw normally */
131 switch (ctx->Query.CondRenderMode) {
148 _mesa_lookup_enum_by_nr(ctx->Query.CondRenderMode));