Lines Matching refs:param

175 void GL2Encoder::s_glPixelStorei(void *self, GLenum param, GLint value)  in s_glPixelStorei()  argument
178 ctx->m_glPixelStorei_enc(ctx, param, value); in s_glPixelStorei()
180 ctx->m_state->setPixelStore(param, value); in s_glPixelStorei()
236 void GL2Encoder::s_glGetIntegerv(void *self, GLenum param, GLint *ptr) in s_glGetIntegerv() argument
242 switch (param) { in s_glGetIntegerv()
263 ctx->m_glGetIntegerv_enc(self, param, ptr); in s_glGetIntegerv()
275 if (!ctx->m_state->getClientStateParameter<GLint>(param, ptr)) { in s_glGetIntegerv()
276 ctx->m_glGetIntegerv_enc(self, param, ptr); in s_glGetIntegerv()
283 void GL2Encoder::s_glGetFloatv(void *self, GLenum param, GLfloat *ptr) in s_glGetFloatv() argument
289 switch (param) { in s_glGetFloatv()
311 ctx->m_glGetFloatv_enc(self, param, ptr); in s_glGetFloatv()
323 if (!ctx->m_state->getClientStateParameter<GLfloat>(param, ptr)) { in s_glGetFloatv()
324 ctx->m_glGetFloatv_enc(self, param, ptr); in s_glGetFloatv()
331 void GL2Encoder::s_glGetBooleanv(void *self, GLenum param, GLboolean *ptr) in s_glGetBooleanv() argument
337 switch (param) { in s_glGetBooleanv()
365 if (!ctx->m_state->getClientStateParameter<GLboolean>(param, ptr)) { in s_glGetBooleanv()
366 ctx->m_glGetBooleanv_enc(self, param, ptr); in s_glGetBooleanv()
1154 static bool isValidTextureExternalParam(GLenum pname, GLenum param) in isValidTextureExternalParam() argument
1159 return param == GL_NEAREST || param == GL_LINEAR; in isValidTextureExternalParam()
1163 return param == GL_CLAMP_TO_EDGE; in isValidTextureExternalParam()
1171 GLenum target, GLenum pname, GLfloat param) in s_glTexParameterf() argument
1177 !isValidTextureExternalParam(pname, (GLenum)param)), in s_glTexParameterf()
1182 ctx->m_glTexParameterf_enc(ctx, GL_TEXTURE_2D, pname, param); in s_glTexParameterf()
1185 ctx->m_glTexParameterf_enc(ctx, target, pname, param); in s_glTexParameterf()
1209 GLenum target, GLenum pname, GLint param) in s_glTexParameteri() argument
1215 !isValidTextureExternalParam(pname, (GLenum)param)), in s_glTexParameteri()
1220 ctx->m_glTexParameteri_enc(ctx, GL_TEXTURE_2D, pname, param); in s_glTexParameteri()
1223 ctx->m_glTexParameteri_enc(ctx, target, pname, param); in s_glTexParameteri()