Lines Matching refs:API
139 (ctx->API == API_OPENGL_CORE) ? " (Core Profile)" :
140 (ctx->API == API_OPENGL_COMPAT && ctx->Version >= 32) ?
147 * Override the context's version and/or API type if the environment variables
180 /* Modify the API and context flags as needed. */
198 if (_mesa_override_gl_version_contextless(&ctx->Const, &ctx->API,
200 /* We need to include API in version string for OpenGL ES, otherwise
602 ctx->Version = _mesa_get_version(&ctx->Extensions, &ctx->Const, ctx->API);
631 switch (ctx->API) {
655 if (ctx->API == API_OPENGL_COMPAT && ctx->Version >= 31)
668 if (ctx->API == API_OPENGL_COMPAT) {
765 if ((ctx->API == API_OPENGLES2 && ctx->Version >= 32) ||
772 if (ctx->API == API_OPENGLES2 || ctx->Extensions.ARB_ES2_compatibility)