Lines Matching refs:tmu
36 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex);
71 if (c->textures.tmu[i].texture) in ogles_uninit_texture()
72 c->textures.tmu[i].texture->decStrong(c); in ogles_uninit_texture()
79 texture_unit_t& u(c->textures.tmu[i]); in validate_tmu()
114 void invalidate_texture(ogles_context_t* c, int tmu, uint8_t flags = 0xFF) { in invalidate_texture() argument
115 c->textures.tmu[tmu].dirty = flags; in invalidate_texture()
130 texture_unit_t& u(c->textures.tmu[i]); in ogles_lock_textures()
152 texture_unit_t& u(c->textures.tmu[i]); in ogles_unlock_textures()
305 const GLuint name = c->textures.tmu[active].name; in getAndBindActiveTextureObject()
308 texture_unit_t& u(c->textures.tmu[active]); in getAndBindActiveTextureObject()
318 if (c->textures.tmu[i].texture == tex.get()) in getAndBindActiveTextureObject()
336 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex) in bindTextureTmu() argument
338 if (tex.get() == c->textures.tmu[tmu].texture) in bindTextureTmu()
342 texture_unit_t& u(c->textures.tmu[tmu]); in bindTextureTmu()
351 invalidate_texture(c, tmu); in bindTextureTmu()
374 EGLTextureObject* tex = c->textures.tmu[active].texture; in createTextureSurface()
610 EGLTextureObject* tex = c->textures.tmu[active].texture; in generateMipmap()
629 EGLTextureObject* textureObject = c->textures.tmu[c->textures.active].texture; in texParameterx()
696 texture_unit_t& u(c->textures.tmu[i]); in drawTexxOESImp()
765 const int tmu = 0; in drawTexiOES() local
766 texture_unit_t& u(c->textures.tmu[tmu]); in drawTexiOES()
775 c->rasterizer.procs.activeTexture(c, tmu); in drawTexiOES()
901 if (c->textures.tmu[t].name == 0) in glDeleteTextures()
904 if (textures[i] && (textures[i] == c->textures.tmu[t].name)) { in glDeleteTextures()
923 const int tmu = target-GL_TEXTURE0; in glMultiTexCoord4f() local
924 c->current.texture[tmu].S = gglFloatToFixed(s); in glMultiTexCoord4f()
925 c->current.texture[tmu].T = gglFloatToFixed(t); in glMultiTexCoord4f()
926 c->current.texture[tmu].R = gglFloatToFixed(r); in glMultiTexCoord4f()
927 c->current.texture[tmu].Q = gglFloatToFixed(q); in glMultiTexCoord4f()
938 const int tmu = target-GL_TEXTURE0; in glMultiTexCoord4x() local
939 c->current.texture[tmu].S = s; in glMultiTexCoord4x()
940 c->current.texture[tmu].T = t; in glMultiTexCoord4x()
941 c->current.texture[tmu].R = r; in glMultiTexCoord4x()
942 c->current.texture[tmu].Q = q; in glMultiTexCoord4x()
1008 EGLTextureObject* textureObject = c->textures.tmu[c->textures.active].texture; in glTexParameteriv()
1243 EGLTextureObject* tex = c->textures.tmu[active].texture; in glTexSubImage2D()
1426 EGLTextureObject* tex = c->textures.tmu[active].texture; in glCopyTexSubImage2D()