Lines Matching refs:texture
299 void GLEncoder::s_glClientActiveTexture(void *self, GLenum texture) in s_glClientActiveTexture() argument
303 ctx->m_state->setActiveTexture(texture - GL_TEXTURE0); in s_glClientActiveTexture()
642 void GLEncoder::s_glActiveTexture(void* self, GLenum texture) in s_glActiveTexture() argument
648 if ((err = state->setActiveTextureUnit(texture)) != GL_NO_ERROR) { in s_glActiveTexture()
654 ctx->m_glActiveTexture_enc(ctx, texture); in s_glActiveTexture()
657 void GLEncoder::s_glBindTexture(void* self, GLenum target, GLuint texture) in s_glBindTexture() argument
664 if ((err = state->bindTexture(target, texture, &firstUse)) != GL_NO_ERROR) { in s_glBindTexture()
671 ctx->m_glBindTexture_enc(ctx, target, texture); in s_glBindTexture()
679 ctx->m_glBindTexture_enc(ctx, GL_TEXTURE_2D, texture); in s_glBindTexture()
694 ctx->m_glBindTexture_enc(ctx, GL_TEXTURE_2D, texture); in s_glBindTexture()
988 GLenum textarget, GLuint texture, GLint level) { in s_glFramebufferTexture2DOES() argument
992 state->attachTextureObject(target, attachment, texture); in s_glFramebufferTexture2DOES()
994 ctx->m_glFramebufferTexture2DOES_enc(self, target, attachment, textarget, texture, level); in s_glFramebufferTexture2DOES()
999 GLenum textarget, GLuint texture, GLint level, GLsizei samples) { in s_glFramebufferTexture2DMultisampleIMG() argument
1003 state->attachTextureObject(target, attachment, texture); in s_glFramebufferTexture2DMultisampleIMG()
1005 …ctx->m_glFramebufferTexture2DMultisampleIMG_enc(self, target, attachment, textarget, texture, leve… in s_glFramebufferTexture2DMultisampleIMG()