Lines Matching defs:tmu

36     ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex);
71 if (c->textures.tmu[i].texture)
72 c->textures.tmu[i].texture->decStrong(c);
79 texture_unit_t& u(c->textures.tmu[i]);
114 void invalidate_texture(ogles_context_t* c, int tmu, uint8_t flags = 0xFF) {
115 c->textures.tmu[tmu].dirty = flags;
130 texture_unit_t& u(c->textures.tmu[i]);
152 texture_unit_t& u(c->textures.tmu[i]);
305 const GLuint name = c->textures.tmu[active].name;
308 texture_unit_t& u(c->textures.tmu[active]);
318 if (c->textures.tmu[i].texture == tex.get())
336 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex)
338 if (tex.get() == c->textures.tmu[tmu].texture)
342 texture_unit_t& u(c->textures.tmu[tmu]);
351 invalidate_texture(c, tmu);
361 const GLuint name = c->textures.tmu[active].name;
378 EGLTextureObject* tex = c->textures.tmu[active].texture;
614 EGLTextureObject* tex = c->textures.tmu[active].texture;
633 EGLTextureObject* textureObject = c->textures.tmu[c->textures.active].texture;
700 texture_unit_t& u(c->textures.tmu[i]);
702 // validate this tmu (bind, wrap, filter)
769 const int tmu = 0;
770 texture_unit_t& u(c->textures.tmu[tmu]);
779 c->rasterizer.procs.activeTexture(c, tmu);
905 if (c->textures.tmu[t].name == 0)
908 if (textures[i] && (textures[i] == c->textures.tmu[t].name)) {
909 // bind this tmu to texture 0
927 const int tmu = target-GL_TEXTURE0;
928 c->current.texture[tmu].S = gglFloatToFixed(s);
929 c->current.texture[tmu].T = gglFloatToFixed(t);
930 c->current.texture[tmu].R = gglFloatToFixed(r);
931 c->current.texture[tmu].Q = gglFloatToFixed(q);
942 const int tmu = target-GL_TEXTURE0;
943 c->current.texture[tmu].S = s;
944 c->current.texture[tmu].T = t;
945 c->current.texture[tmu].R = r;
946 c->current.texture[tmu].Q = q;
1012 EGLTextureObject* textureObject = c->textures.tmu[c->textures.active].texture;
1248 EGLTextureObject* tex = c->textures.tmu[active].texture;
1432 EGLTextureObject* tex = c->textures.tmu[active].texture;