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