Searched refs:tmu (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/opengl/libagl/ |
D | texture.cpp | 34 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex); 69 if (c->textures.tmu[i].texture) in ogles_uninit_texture() 70 c->textures.tmu[i].texture->decStrong(c); in ogles_uninit_texture() 77 texture_unit_t& u(c->textures.tmu[i]); in validate_tmu() 112 void invalidate_texture(ogles_context_t* c, int tmu, uint8_t flags = 0xFF) { in invalidate_texture() argument 113 c->textures.tmu[tmu].dirty = flags; in invalidate_texture() 128 texture_unit_t& u(c->textures.tmu[i]); in ogles_lock_textures() 156 texture_unit_t& u(c->textures.tmu[i]); in ogles_unlock_textures() 313 const GLuint name = c->textures.tmu[active].name; in getAndBindActiveTextureObject() 316 texture_unit_t& u(c->textures.tmu[active]); in getAndBindActiveTextureObject() [all …]
|
D | primitives.cpp | 492 int width = c->textures.tmu[i].texture->surface.width; in primitive_point() 497 int height = c->textures.tmu[i].texture->surface.height; in primitive_point() 704 const int w = c->textures.tmu[i].texture->surface.width; in compute_lod() 705 const int h = c->textures.tmu[i].texture->surface.height; in compute_lod() 721 const texture_t& tmu = c->rasterizer.state.texture[i]; in lerp_texcoords() local 722 if (!tmu.enable) in lerp_texcoords() 733 const GLenum min_filter = c->textures.tmu[i].texture->min_filter; in lerp_texcoords() 737 &c->textures.tmu[i].texture->mip(lod)); in lerp_texcoords() 741 if (tmu.s_wrap == GGL_CLAMP) { in lerp_texcoords() 742 const int width = tmu.surface.width; in lerp_texcoords() [all …]
|
D | array.cpp | 146 memcpy(v, c->current.texture[c->arrays.tmu].v, sizeof(vec4_t)); in currentTexCoord() 432 const int tmu = c->arrays.activeTexture; in enableDisableClientState() local 437 case GL_TEXTURE_COORD_ARRAY: a = &c->arrays.texture[tmu]; break; in enableDisableClientState() 1199 am.tmu = i; in validate_arrays() 1315 const int tmu = c->arrays.activeTexture; in glTexCoordPointer() local 1316 c->arrays.texture[tmu].init(size, type, stride, pointer, in glTexCoordPointer()
|
/frameworks/base/opengl/libagl2/src/ |
D | gles2context.h | 141 void UpdateSampler(GGLInterface * iface, unsigned tmu);
|
D | texture.cpp | 69 void GLES2Context::TextureState::UpdateSampler(GGLInterface * iface, unsigned tmu) in UpdateSampler() argument 72 if (tmu == sampler2tmu[i]) in UpdateSampler() 73 iface->SetSampler(iface, i, tmus[tmu]); in UpdateSampler()
|
/frameworks/base/include/private/opengles/ |
D | gl_context.h | 202 uint8_t tmu; member 355 texture_unit_t tmu[GGL_TEXTURE_UNIT_COUNT]; member
|