HomeSort by relevance Sort by last modified time
    Searched refs:tmu (Results 1 - 14 of 14) sorted by null

  /system/core/libpixelflinger/codeflinger/
texturing.cpp 269 texture_unit_t& tmu = mTextureMachine.tmu[i]; local
271 // all components are replaced, skip this TMU.
272 tmu.format_idx = 0;
273 tmu.mask = 0;
274 tmu.replaced = replaced;
277 tmu.format_idx = GGL_READ_NEEDS(T_FORMAT, needs.t[i]);
278 tmu.format = c->formats[tmu.format_idx];
279 tmu.bits = tmu.format.size*8
338 const texture_unit_t& tmu = mTextureMachine.tmu[i]; local
407 const texture_unit_t& tmu = mTextureMachine.tmu[i]; local
431 const texture_unit_t& tmu = mTextureMachine.tmu[i]; local
652 const texture_unit_t& tmu = mTextureMachine.tmu[i]; local
977 texture_unit_t& tmu = mTextureMachine.tmu[i]; local
    [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,
GGLAssembler.cpp 505 texture_unit_t& tmu = mTextureMachine.tmu[i]; local
506 if ((tmu.format_idx) &&
605 const texture_unit_t& tmu = mTextureMachine.tmu[i]; local
606 if ((tmu.mask & component_mask) &&
607 ((tmu.replaced & component_mask) == 0)) {
    [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
765 const int tmu = 0; local
923 const int tmu = target-GL_TEXTURE0; local
938 const int tmu = target-GL_TEXTURE0; local
    [all...]
primitives.cpp 493 int width = c->textures.tmu[i].texture->surface.width;
498 int height = c->textures.tmu[i].texture->surface.height;
705 const int w = c->textures.tmu[i].texture->surface.width;
706 const int h = c->textures.tmu[i].texture->surface.height;
722 const texture_t& tmu = c->rasterizer.state.texture[i]; local
723 if (!tmu.enable)
734 const GLenum min_filter = c->textures.tmu[i].texture->min_filter;
738 &c->textures.tmu[i].texture->mip(lod));
742 if (tmu.s_wrap == GGL_CLAMP) {
743 const int width = tmu.surface.width
779 const texture_t& tmu = c->rasterizer.state.texture[i]; local
    [all...]
array.cpp 143 memcpy(v, c->current.texture[c->arrays.tmu].v, sizeof(vec4_t));
434 const int tmu = c->arrays.activeTexture; local
439 case GL_TEXTURE_COORD_ARRAY: a = &c->arrays.texture[tmu]; break;
1317 const int tmu = c->arrays.activeTexture; 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
  /external/mesa3d/src/gallium/drivers/vc4/kernel/
vc4_validate_shaders.c 153 int tmu)
166 &validation_state->tmu_setup[tmu],
173 validation_state->tmu_setup[tmu].p_offset[i] = ~0;
189 int tmu = waddr > QPU_W_TMU0_B; local
191 bool is_direct = submit && validation_state->tmu_write_count[tmu] == 0;
199 DRM_ERROR("direct TMU read used small immediate\n");
208 DRM_ERROR("direct TMU load wasn't an add\n");
219 DRM_ERROR("direct TMU load wasn't clamped\n");
225 DRM_ERROR("direct TMU load wasn't clamped\n");
232 validation_state->tmu_setup[tmu].p_offset[1]
    [all...]
  /system/core/libpixelflinger/
raster.cpp 146 GGLint gglBitBlit(GGLContext* con, int tmu, GGLint crop[4], GGLint where[4])
155 // exclsively enable this tmu
156 c->procs.activeTexture(c, tmu);
159 uint32_t tmus = 1UL<<tmu;
207 c->procs.texCoordGradScale8xv(c, tmu, texcoords);
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...]
  /system/core/libpixelflinger/include/pixelflinger/
pixelflinger.h 217 void (*activeTexture)(void* c, GGLuint tmu);
222 void (*bindTextureLod)(void* c, GGLuint tmu, const GGLSurface* surface);
271 void (*texCoordGradScale8xv)(void* c, GGLint tmu, const int32_t* grad8);
320 int tmu,
  /external/mesa3d/src/gallium/drivers/r300/compiler/
radeon_program_tex.c 36 int tmu)
42 compiler->state.unit[tmu].texture_swizzle);
47 int tmu)
53 compiler->state.unit[tmu].texture_swizzle);
  /external/mesa3d/src/gallium/drivers/vc4/
vc4_program.c 486 struct qinst *tmu; local
488 tmu = qir_MOV_dest(c, qir_reg(QFILE_TEX_R, 0), r);
489 tmu->src[qir_get_tex_uniform_src(tmu)] =
495 tmu = qir_MOV_dest(c, qir_reg(QFILE_TEX_R, 0),
498 tmu->src[qir_get_tex_uniform_src(tmu)] =
510 tmu = qir_MOV_dest(c, qir_reg(QFILE_TEX_T, 0), t);
511 tmu->src[qir_get_tex_uniform_src(tmu)]
    [all...]

Completed in 292 milliseconds