/system/core/libpixelflinger/codeflinger/ |
texturing.cpp | 270 texture_unit_t& tmu = mTextureMachine.tmu[i]; local 272 // all components are replaced, skip this TMU. 273 tmu.format_idx = 0; 274 tmu.mask = 0; 275 tmu.replaced = replaced; 278 tmu.format_idx = GGL_READ_NEEDS(T_FORMAT, needs.t[i]); 279 tmu.format = c->formats[tmu.format_idx]; 280 tmu.bits = tmu.format.size*8 341 const texture_unit_t& tmu = mTextureMachine.tmu[i]; local 414 const texture_unit_t& tmu = mTextureMachine.tmu[i]; local 439 const texture_unit_t& tmu = mTextureMachine.tmu[i]; local 661 const texture_unit_t& tmu = mTextureMachine.tmu[i]; local 986 texture_unit_t& tmu = mTextureMachine.tmu[i]; local [all...] |
GGLAssembler.cpp | 508 texture_unit_t& tmu = mTextureMachine.tmu[i]; local 509 if ((tmu.format_idx) && 608 const texture_unit_t& tmu = mTextureMachine.tmu[i]; local 609 if ((tmu.mask & component_mask) && 610 ((tmu.replaced & component_mask) == 0)) { [all...] |
GGLAssembler.h | 335 texture_unit_t tmu[GGL_TEXTURE_UNIT_COUNT]; member in struct:android::GGLAssembler::texture_machine_t 382 const pixel_t& texel, int component, int tmu); 453 pixel_t& texel, const texture_unit_t& tmu, 458 pixel_t& texel, const texture_unit_t& tmu, 463 pixel_t& texel, const texture_unit_t& tmu, 468 pixel_t& texel, const texture_unit_t& tmu,
|
/system/core/libpixelflinger/ |
pixelflinger.cpp | 102 static void ggl_bindTextureLod(void* con, GGLuint tmu,const GGLSurface* surface) 106 ggl_set_surface(c, &c->state.texture[tmu].surface, surface); 449 static void ggl_texCoordGradScale8xv(void* con, GGLint tmu, const int32_t* grad) 452 texture_t& u = c->state.texture[tmu]; 499 static void ggl_activeTexture(void* con, GGLuint tmu) 502 if (tmu >= GGLuint(GGL_TEXTURE_UNIT_COUNT)) { 506 c->activeTMUIndex = tmu; 507 c->activeTMU = &(c->state.texture[tmu]); 714 const uint32_t tmu = c->activeTMUIndex; local 716 const uint32_t mask = 1UL << tmu; [all...] |
scanline.cpp | 456 // only one TMU enabled 1929 const texture_t& tmu = c->state.texture[i]; local 1959 texture_t& tmu = c->state.texture[i]; local 2013 texture_t& tmu = c->state.texture[i]; local [all...] |
/frameworks/native/opengl/libagl/ |
texture.cpp | 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 769 const int tmu = 0; local 927 const int tmu = target-GL_TEXTURE0; local 942 const int tmu = target-GL_TEXTURE0; local [all...] |
array.cpp | 146 memcpy(v, c->current.texture[c->arrays.tmu].v, sizeof(vec4_t)); 436 const int tmu = c->arrays.activeTexture; local 441 case GL_TEXTURE_COORD_ARRAY: a = &c->arrays.texture[tmu]; break; 1319 const int tmu = c->arrays.activeTexture; local [all...] |
primitives.cpp | 492 int width = c->textures.tmu[i].texture->surface.width; 497 int height = c->textures.tmu[i].texture->surface.height; 704 const int w = c->textures.tmu[i].texture->surface.width; 705 const int h = c->textures.tmu[i].texture->surface.height; 721 const texture_t& tmu = c->rasterizer.state.texture[i]; local 722 if (!tmu.enable) 733 const GLenum min_filter = c->textures.tmu[i].texture->min_filter; 737 &c->textures.tmu[i].texture->mip(lod)); 741 if (tmu.s_wrap == GGL_CLAMP) { 742 const int width = tmu.surface.width 778 const texture_t& tmu = c->rasterizer.state.texture[i]; local [all...] |
context.h | 207 uint8_t tmu; member in struct:android::gl::array_machine_t 360 texture_unit_t tmu[GGL_TEXTURE_UNIT_COUNT]; member in struct:android::gl::texture_state_t 361 int active; // active tmu
|