Lines Matching refs:pname

431 void GL2Encoder::s_glGetVertexAttribiv(void *self, GLuint index, GLenum pname, GLint *params)  in s_glGetVertexAttribiv()  argument
439 if (!ctx->m_state->getVertexAttribParameter<GLint>(index, pname, params)) { in s_glGetVertexAttribiv()
440 ctx->m_glGetVertexAttribiv_enc(self, index, pname, params); in s_glGetVertexAttribiv()
444 void GL2Encoder::s_glGetVertexAttribfv(void *self, GLuint index, GLenum pname, GLfloat *params) in s_glGetVertexAttribfv() argument
452 if (!ctx->m_state->getVertexAttribParameter<GLfloat>(index, pname, params)) { in s_glGetVertexAttribfv()
453 ctx->m_glGetVertexAttribfv_enc(self, index, pname, params); in s_glGetVertexAttribfv()
457 void GL2Encoder::s_glGetVertexAttribPointerv(void *self, GLuint index, GLenum pname, GLvoid **point… in s_glGetVertexAttribPointerv() argument
464 SET_ERROR_IF(pname != GL_VERTEX_ATTRIB_ARRAY_POINTER, GL_INVALID_ENUM); in s_glGetVertexAttribPointerv()
466 (void)pname; in s_glGetVertexAttribPointerv()
1308 GLenum target, GLenum pname, GLfloat* params) in s_glGetTexParameterfv() argument
1315 ctx->m_glGetTexParameterfv_enc(ctx, GL_TEXTURE_2D, pname, params); in s_glGetTexParameterfv()
1318 ctx->m_glGetTexParameterfv_enc(ctx, target, pname, params); in s_glGetTexParameterfv()
1323 GLenum target, GLenum pname, GLint* params) in s_glGetTexParameteriv() argument
1328 switch (pname) { in s_glGetTexParameteriv()
1336 ctx->m_glGetTexParameteriv_enc(ctx, GL_TEXTURE_2D, pname, params); in s_glGetTexParameteriv()
1339 ctx->m_glGetTexParameteriv_enc(ctx, target, pname, params); in s_glGetTexParameteriv()
1345 static bool isValidTextureExternalParam(GLenum pname, GLenum param) in isValidTextureExternalParam() argument
1347 switch (pname) { in isValidTextureExternalParam()
1362 GLenum target, GLenum pname, GLfloat param) in s_glTexParameterf() argument
1368 !isValidTextureExternalParam(pname, (GLenum)param)), in s_glTexParameterf()
1373 ctx->m_glTexParameterf_enc(ctx, GL_TEXTURE_2D, pname, param); in s_glTexParameterf()
1376 ctx->m_glTexParameterf_enc(ctx, target, pname, param); in s_glTexParameterf()
1381 GLenum target, GLenum pname, const GLfloat* params) in s_glTexParameterfv() argument
1387 !isValidTextureExternalParam(pname, (GLenum)params[0])), in s_glTexParameterfv()
1392 ctx->m_glTexParameterfv_enc(ctx, GL_TEXTURE_2D, pname, params); in s_glTexParameterfv()
1395 ctx->m_glTexParameterfv_enc(ctx, target, pname, params); in s_glTexParameterfv()
1400 GLenum target, GLenum pname, GLint param) in s_glTexParameteri() argument
1406 !isValidTextureExternalParam(pname, (GLenum)param)), in s_glTexParameteri()
1411 ctx->m_glTexParameteri_enc(ctx, GL_TEXTURE_2D, pname, param); in s_glTexParameteri()
1414 ctx->m_glTexParameteri_enc(ctx, target, pname, param); in s_glTexParameteri()
1456 GLenum target, GLenum pname, const GLint* params) in s_glTexParameteriv() argument
1462 !isValidTextureExternalParam(pname, (GLenum)params[0])), in s_glTexParameteriv()
1467 ctx->m_glTexParameteriv_enc(ctx, GL_TEXTURE_2D, pname, params); in s_glTexParameteriv()
1470 ctx->m_glTexParameteriv_enc(ctx, target, pname, params); in s_glTexParameteriv()