Searched refs:tmu (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/opengl/libagl/ |
D | texture.cpp | 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() [all …]
|
D | primitives.cpp | 493 int width = c->textures.tmu[i].texture->surface.width; in primitive_point() 498 int height = c->textures.tmu[i].texture->surface.height; in primitive_point() 705 const int w = c->textures.tmu[i].texture->surface.width; in compute_lod() 706 const int h = c->textures.tmu[i].texture->surface.height; in compute_lod() 722 const texture_t& tmu = c->rasterizer.state.texture[i]; in lerp_texcoords() local 723 if (!tmu.enable) in lerp_texcoords() 734 const GLenum min_filter = c->textures.tmu[i].texture->min_filter; in lerp_texcoords() 738 &c->textures.tmu[i].texture->mip(lod)); in lerp_texcoords() 742 if (tmu.s_wrap == GGL_CLAMP) { in lerp_texcoords() 743 const int width = tmu.surface.width; in lerp_texcoords() [all …]
|
D | array.cpp | 143 memcpy(v, c->current.texture[c->arrays.tmu].v, sizeof(vec4_t)); in currentTexCoord() 434 const int tmu = c->arrays.activeTexture; in enableDisableClientState() local 439 case GL_TEXTURE_COORD_ARRAY: a = &c->arrays.texture[tmu]; break; in enableDisableClientState() 1201 am.tmu = i; in validate_arrays() 1317 const int tmu = c->arrays.activeTexture; in glTexCoordPointer() local 1318 c->arrays.texture[tmu].init(size, type, stride, pointer, in glTexCoordPointer()
|
D | context.h | 207 uint8_t tmu; member 360 texture_unit_t tmu[GGL_TEXTURE_UNIT_COUNT]; member
|