Lines Matching refs:u
76 texture_unit_t& u(c->textures.tmu[i]); in validate_tmu() local
77 if (u.dirty) { in validate_tmu()
78 u.dirty = 0; in validate_tmu()
80 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); in validate_tmu()
86 GGL_TEXTURE_WRAP_S, u.texture->wraps); in validate_tmu()
88 GGL_TEXTURE_WRAP_T, u.texture->wrapt); in validate_tmu()
90 GGL_TEXTURE_MIN_FILTER, u.texture->min_filter); in validate_tmu()
92 GGL_TEXTURE_MAG_FILTER, u.texture->mag_filter); in validate_tmu()
95 if (!u.texture->isComplete()) { in validate_tmu()
127 texture_unit_t& u(c->textures.tmu[i]); in ogles_lock_textures() local
128 ANativeWindowBuffer* native_buffer = u.texture->buffer; in ogles_lock_textures()
144 u.texture->setImageBits(vaddr); in ogles_lock_textures()
145 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); in ogles_lock_textures()
155 texture_unit_t& u(c->textures.tmu[i]); in ogles_unlock_textures() local
156 ANativeWindowBuffer* native_buffer = u.texture->buffer; in ogles_unlock_textures()
167 u.texture->setImageBits(NULL); in ogles_unlock_textures()
168 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); in ogles_unlock_textures()
315 texture_unit_t& u(c->textures.tmu[active]); in getAndBindActiveTextureObject() local
316 if (u.texture) in getAndBindActiveTextureObject()
317 u.texture->decStrong(c); in getAndBindActiveTextureObject()
335 u.texture = tex.get(); in getAndBindActiveTextureObject()
336 u.texture->incStrong(c); in getAndBindActiveTextureObject()
337 u.name = name; in getAndBindActiveTextureObject()
349 texture_unit_t& u(c->textures.tmu[tmu]); in bindTextureTmu() local
350 if (u.texture) in bindTextureTmu()
351 u.texture->decStrong(c); in bindTextureTmu()
355 u.texture = tex.get(); in bindTextureTmu()
356 u.texture->incStrong(c); in bindTextureTmu()
357 u.name = texture; in bindTextureTmu()
707 texture_unit_t& u(c->textures.tmu[i]); in drawTexxOESImp() local
716 u.dirty = 0xFF; // XXX: should be more subtle in drawTexxOESImp()
718 EGLTextureObject* textureObject = u.texture; in drawTexxOESImp()
777 texture_unit_t& u(c->textures.tmu[tmu]); in drawTexiOES() local
778 EGLTextureObject* textureObject = u.texture; in drawTexiOES()
785 if (u.dirty) { in drawTexiOES()
787 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); in drawTexiOES()
789 GGL_TEXTURE_MIN_FILTER, u.texture->min_filter); in drawTexiOES()
791 GGL_TEXTURE_MAG_FILTER, u.texture->mag_filter); in drawTexiOES()
797 u.dirty = 0xFF; // XXX: should be more subtle in drawTexiOES()