Lines Matching refs:param
334 GGLint param) in ggl_texEnvi() argument
341 switch (param) { in ggl_texEnvi()
347 if (c->activeTMU->env != param) { in ggl_texEnvi()
348 c->activeTMU->env = param; in ggl_texEnvi()
391 GGLint param) in ggl_texParameteri() argument
399 if (param == GGL_CLAMP_TO_EDGE) in ggl_texParameteri()
400 param = GGL_CLAMP; in ggl_texParameteri()
405 if ((param == GGL_CLAMP) || in ggl_texParameteri()
406 (param == GGL_REPEAT)) { in ggl_texParameteri()
411 if ((param == GGL_CLAMP) || in ggl_texParameteri()
412 (param == GGL_REPEAT)) { in ggl_texParameteri()
417 if ((param == GGL_NEAREST) || in ggl_texParameteri()
418 (param == GGL_NEAREST_MIPMAP_NEAREST) || in ggl_texParameteri()
419 (param == GGL_NEAREST_MIPMAP_LINEAR)) { in ggl_texParameteri()
421 param = GGL_NEAREST; in ggl_texParameteri()
423 if ((param == GGL_LINEAR) || in ggl_texParameteri()
424 (param == GGL_LINEAR_MIPMAP_NEAREST) || in ggl_texParameteri()
425 (param == GGL_LINEAR_MIPMAP_LINEAR)) { in ggl_texParameteri()
427 param = GGL_LINEAR; in ggl_texParameteri()
431 if ((param == GGL_NEAREST) || in ggl_texParameteri()
432 (param == GGL_LINEAR)) { in ggl_texParameteri()
443 if (*what != param) { in ggl_texParameteri()
444 *what = param; in ggl_texParameteri()
477 static void ggl_texGeni(void* con, GGLenum coord, GGLenum pname, GGLint param) in ggl_texGeni() argument
490 if (*coord_ptr != uint32_t(param)) { in ggl_texGeni()
491 *coord_ptr = uint32_t(param); in ggl_texGeni()