Lines Matching defs:mode
46 static void validate_arrays(ogles_context_t* c, GLenum mode);
400 void vertex_cache_t::dump_stats(GLenum mode)
406 switch (mode) {
1080 void validate_arrays(ogles_context_t* c, GLenum mode)
1090 c->perspective && mode!=GL_POINTS && (enables & GGL_ENABLE_TMUS);
1095 switch (mode) {
1110 (mode == GL_POINTS) ? GL_FLAT : c->lighting.shadeModel);
1341 void glDrawArrays(GLenum mode, GLint first, GLsizei count)
1348 switch (mode) {
1368 validate_arrays(c, mode);
1374 drawArraysPrims[mode](c, first, count);
1381 c->vc.dump_stats(mode);
1386 GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
1393 switch (mode) {
1422 validate_arrays(c, mode);
1434 drawElementsPrims[mode](c, count, indices);
1442 c->vc.dump_stats(mode);