Lines Matching defs:tmu

34     ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex);
69 if (c->textures.tmu[i].texture)
70 c->textures.tmu[i].texture->decStrong(c);
77 texture_unit_t& u(c->textures.tmu[i]);
112 void invalidate_texture(ogles_context_t* c, int tmu, uint8_t flags = 0xFF) {
113 c->textures.tmu[tmu].dirty = flags;
128 texture_unit_t& u(c->textures.tmu[i]);
156 texture_unit_t& u(c->textures.tmu[i]);
313 const GLuint name = c->textures.tmu[active].name;
316 texture_unit_t& u(c->textures.tmu[active]);
326 if (c->textures.tmu[i].texture == tex.get())
344 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex)
346 if (tex.get() == c->textures.tmu[tmu].texture)
350 texture_unit_t& u(c->textures.tmu[tmu]);
359 invalidate_texture(c, tmu);
369 const GLuint name = c->textures.tmu[active].name;
386 EGLTextureObject* tex = c->textures.tmu[active].texture;
622 EGLTextureObject* tex = c->textures.tmu[active].texture;
641 EGLTextureObject* textureObject = c->textures.tmu[c->textures.active].texture;
708 texture_unit_t& u(c->textures.tmu[i]);
710 // validate this tmu (bind, wrap, filter)
777 const int tmu = 0;
778 texture_unit_t& u(c->textures.tmu[tmu]);
787 c->rasterizer.procs.activeTexture(c, tmu);
913 if (c->textures.tmu[t].name == 0)
916 if (textures[i] && (textures[i] == c->textures.tmu[t].name)) {
917 // bind this tmu to texture 0
935 const int tmu = target-GL_TEXTURE0;
936 c->current.texture[tmu].S = gglFloatToFixed(s);
937 c->current.texture[tmu].T = gglFloatToFixed(t);
938 c->current.texture[tmu].R = gglFloatToFixed(r);
939 c->current.texture[tmu].Q = gglFloatToFixed(q);
950 const int tmu = target-GL_TEXTURE0;
951 c->current.texture[tmu].S = s;
952 c->current.texture[tmu].T = t;
953 c->current.texture[tmu].R = r;
954 c->current.texture[tmu].Q = q;
1020 EGLTextureObject* textureObject = c->textures.tmu[c->textures.active].texture;
1256 EGLTextureObject* tex = c->textures.tmu[active].texture;
1440 EGLTextureObject* tex = c->textures.tmu[active].texture;