Home | History | Annotate | Download | only in GLESv2_enc

Lines Matching refs:pname

371 void GL2Encoder::s_glGetVertexAttribiv(void *self, GLuint index, GLenum pname, GLint *params)
376 if (!ctx->m_state->getVertexAttribParameter<GLint>(index, pname, params)) {
377 ctx->m_glGetVertexAttribiv_enc(self, index, pname, params);
381 void GL2Encoder::s_glGetVertexAttribfv(void *self, GLuint index, GLenum pname, GLfloat *params)
386 if (!ctx->m_state->getVertexAttribParameter<GLfloat>(index, pname, params)) {
387 ctx->m_glGetVertexAttribfv_enc(self, index, pname, params);
391 void GL2Encoder::s_glGetVertexAttribPointerv(void *self, GLuint index, GLenum pname, GLvoid **pointer)
1054 GLenum target, GLenum pname, GLfloat* params)
1061 ctx->m_glGetTexParameterfv_enc(ctx, GL_TEXTURE_2D, pname, params);
1064 ctx->m_glGetTexParameterfv_enc(ctx, target, pname, params);
1069 GLenum target, GLenum pname, GLint* params)
1074 switch (pname) {
1082 ctx->m_glGetTexParameteriv_enc(ctx, GL_TEXTURE_2D, pname, params);
1085 ctx->m_glGetTexParameteriv_enc(ctx, target, pname, params);
1091 static bool isValidTextureExternalParam(GLenum pname, GLenum param)
1093 switch (pname) {
1108 GLenum target, GLenum pname, GLfloat param)
1114 !isValidTextureExternalParam(pname, (GLenum)param)),
1119 ctx->m_glTexParameterf_enc(ctx, GL_TEXTURE_2D, pname, param);
1122 ctx->m_glTexParameterf_enc(ctx, target, pname, param);
1127 GLenum target, GLenum pname, const GLfloat* params)
1133 !isValidTextureExternalParam(pname, (GLenum)params[0])),
1138 ctx->m_glTexParameterfv_enc(ctx, GL_TEXTURE_2D, pname, params);
1141 ctx->m_glTexParameterfv_enc(ctx, target, pname, params);
1146 GLenum target, GLenum pname, GLint param)
1152 !isValidTextureExternalParam(pname, (GLenum)param)),
1157 ctx->m_glTexParameteri_enc(ctx, GL_TEXTURE_2D, pname, param);
1160 ctx->m_glTexParameteri_enc(ctx, target, pname, param);
1165 GLenum target, GLenum pname, const GLint* params)
1171 !isValidTextureExternalParam(pname, (GLenum)params[0])),
1176 ctx->m_glTexParameteriv_enc(ctx, GL_TEXTURE_2D, pname, params);
1179 ctx->m_glTexParameteriv_enc(ctx, target, pname, params);