Home | History | Annotate | Download | only in main

Lines Matching refs:API

47  * Other modules are responsible for API dispatch, vertex transformation,
423 /* per-API one-time init */
424 if (!(api_init_mask & (1 << ctx->API))) {
433 if (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES2)
437 api_init_mask |= 1 << ctx->API;
642 else if (ctx->API == API_OPENGLES2) {
645 else if (ctx->API == API_OPENGLES) {
898 * is allocated, and increase its reference count. Setups the GL API dispatch
904 * \param api the GL API type to create the context for
914 gl_api api,
927 ctx->API = api;
964 /* setup the API dispatch tables */
965 switch (ctx->API) {
979 _mesa_problem(ctx, "unknown or unsupported API");
1008 switch (ctx->API) {
1056 * \param api the GL API type to create the context for
1066 _mesa_create_context(gl_api api,
1081 if (_mesa_initialize_context(ctx, api, visual, share_list,
1593 * Get context's current API dispatch table.