Home | History | Annotate | Download | only in main

Lines Matching refs:API

401  * _mesa_init_get_hash(), we only add the enums for the API we're
1395 print_table_stats(int api)
1407 api_name = api < Elements(api_names) ? api_names[api] : "N/A";
1409 mask = Elements(table[api]) - 1;
1412 for (i = 0; i < Elements(table[api]); i++) {
1413 if (!table[api][i])
1416 d = &values[table[api][i]];
1420 if (values[table[api][hash & mask]].pname == d->pname)
1442 * Initialize the enum hash for a given API
1445 * are valid for the API in question into the enum hash table.
1447 * \param the current context, for determining the API in question
1452 int api;
1455 api = ctx->API;
1457 mask = Elements(table[api]) - 1;
1458 api_bit = 1 << api;
1471 if (!table[api][index]) {
1472 table[api][index] = i;
1908 if (ctx->API == API_OPENGLES2) {
2003 int api;
2005 api = ctx->API;
2006 mask = Elements(table[api]) - 1;
2009 d = &values[table[api][hash & mask]];
2012 * which is the API mask entry at the beginning of values[]. */