Lines Matching refs:param
71 void GLEncoder::s_glGetIntegerv(void *self, GLenum param, GLint *ptr) in s_glGetIntegerv() argument
77 switch (param) { in s_glGetIntegerv()
89 ctx->m_glGetIntegerv_enc(self, param, ptr); in s_glGetIntegerv()
107 if (!state->getClientStateParameter<GLint>(param,ptr)) { in s_glGetIntegerv()
108 ctx->m_glGetIntegerv_enc(self, param, ptr); in s_glGetIntegerv()
114 void GLEncoder::s_glGetFloatv(void *self, GLenum param, GLfloat *ptr) in s_glGetFloatv() argument
120 switch (param) { in s_glGetFloatv()
133 ctx->m_glGetFloatv_enc(self, param, ptr); in s_glGetFloatv()
146 if (!state->getClientStateParameter<GLfloat>(param,ptr)) { in s_glGetFloatv()
147 ctx->m_glGetFloatv_enc(self, param, ptr); in s_glGetFloatv()
153 void GLEncoder::s_glGetFixedv(void *self, GLenum param, GLfixed *ptr) in s_glGetFixedv() argument
159 switch (param) { in s_glGetFixedv()
172 ctx->m_glGetFixedv_enc(self, param, ptr); in s_glGetFixedv()
185 if (!state->getClientStateParameter<GLfixed>(param,ptr)) { in s_glGetFixedv()
186 ctx->m_glGetFixedv_enc(self, param, ptr); in s_glGetFixedv()
192 void GLEncoder::s_glGetBooleanv(void *self, GLenum param, GLboolean *ptr) in s_glGetBooleanv() argument
198 switch (param) { in s_glGetBooleanv()
220 if (!state->getClientStateParameter<GLboolean>(param,ptr)) { in s_glGetBooleanv()
221 ctx->m_glGetBooleanv_enc(self, param, ptr); in s_glGetBooleanv()
227 void GLEncoder::s_glGetPointerv(void * self, GLenum param, GLvoid **params) in s_glGetPointerv() argument
231 ctx->m_state->getClientStatePointer(param,params); in s_glGetPointerv()
263 void GLEncoder::s_glPixelStorei(void *self, GLenum param, GLint value) in s_glPixelStorei() argument
266 ctx->m_glPixelStorei_enc(ctx, param, value); in s_glPixelStorei()
268 ctx->m_state->setPixelStore(param, value); in s_glPixelStorei()
808 static bool isValidTextureExternalParam(GLenum pname, GLenum param) in isValidTextureExternalParam() argument
813 return param == GL_NEAREST || param == GL_LINEAR; in isValidTextureExternalParam()
817 return param == GL_CLAMP_TO_EDGE; in isValidTextureExternalParam()
820 return param == GL_FALSE; in isValidTextureExternalParam()
828 GLenum target, GLenum pname, GLfloat param) in s_glTexParameterf() argument
833 !isValidTextureExternalParam(pname, (GLenum)param)), in s_glTexParameterf()
838 ctx->m_glTexParameterf_enc(ctx, GL_TEXTURE_2D, pname, param); in s_glTexParameterf()
841 ctx->m_glTexParameterf_enc(ctx, target, pname, param); in s_glTexParameterf()
864 GLenum target, GLenum pname, GLint param) in s_glTexParameteri() argument
869 !isValidTextureExternalParam(pname, (GLenum)param)), in s_glTexParameteri()
874 ctx->m_glTexParameteri_enc(ctx, GL_TEXTURE_2D, pname, param); in s_glTexParameteri()
877 ctx->m_glTexParameteri_enc(ctx, target, pname, param); in s_glTexParameteri()
882 GLenum target, GLenum pname, GLfixed param) in s_glTexParameterx() argument
887 !isValidTextureExternalParam(pname, (GLenum)param)), in s_glTexParameterx()
892 ctx->m_glTexParameterx_enc(ctx, GL_TEXTURE_2D, pname, param); in s_glTexParameterx()
895 ctx->m_glTexParameterx_enc(ctx, target, pname, param); in s_glTexParameterx()