Home
last modified time | relevance | path

Searched refs:tmu (Results 1 – 7 of 7) sorted by relevance

/system/core/libpixelflinger/codeflinger/
Dtexturing.cpp269 texture_unit_t& tmu = mTextureMachine.tmu[i]; in decodeTMUNeeds() local
272 tmu.format_idx = 0; in decodeTMUNeeds()
273 tmu.mask = 0; in decodeTMUNeeds()
274 tmu.replaced = replaced; in decodeTMUNeeds()
277 tmu.format_idx = GGL_READ_NEEDS(T_FORMAT, needs.t[i]); in decodeTMUNeeds()
278 tmu.format = c->formats[tmu.format_idx]; in decodeTMUNeeds()
279 tmu.bits = tmu.format.size*8; in decodeTMUNeeds()
280 tmu.swrap = GGL_READ_NEEDS(T_S_WRAP, needs.t[i]); in decodeTMUNeeds()
281 tmu.twrap = GGL_READ_NEEDS(T_T_WRAP, needs.t[i]); in decodeTMUNeeds()
282 tmu.env = ggl_needs_to_env(GGL_READ_NEEDS(T_ENV, needs.t[i])); in decodeTMUNeeds()
[all …]
DGGLAssembler.h335 texture_unit_t tmu[GGL_TEXTURE_UNIT_COUNT]; member
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,
DGGLAssembler.cpp505 texture_unit_t& tmu = mTextureMachine.tmu[i]; in build_incoming_component() local
506 if ((tmu.format_idx) && in build_incoming_component()
605 const texture_unit_t& tmu = mTextureMachine.tmu[i]; in build_incoming_component() local
606 if ((tmu.mask & component_mask) && in build_incoming_component()
607 ((tmu.replaced & component_mask) == 0)) { in build_incoming_component()
/system/core/libpixelflinger/include/pixelflinger/
Dpixelflinger.h217 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,
/system/core/libpixelflinger/
Draster.cpp146 GGLint gglBitBlit(GGLContext* con, int tmu, GGLint crop[4], GGLint where[4]) in gglBitBlit() argument
156 c->procs.activeTexture(c, tmu); in gglBitBlit()
159 uint32_t tmus = 1UL<<tmu; in gglBitBlit()
207 c->procs.texCoordGradScale8xv(c, tmu, texcoords); in gglBitBlit()
Dscanline.cpp1929 const texture_t& tmu = c->state.texture[i]; in scanline_perspective() local
1930 if (!tmu.enable) continue; in scanline_perspective()
1931 int32_t s = tmu.shade.is0 + in scanline_perspective()
1932 (tmu.shade.idsdy * ys) + (tmu.shade.idsdx * xs) + in scanline_perspective()
1933 ((tmu.shade.idsdx + tmu.shade.idsdy)>>1); in scanline_perspective()
1934 int32_t t = tmu.shade.it0 + in scanline_perspective()
1935 (tmu.shade.idtdy * ys) + (tmu.shade.idtdx * xs) + in scanline_perspective()
1936 ((tmu.shade.idtdx + tmu.shade.idtdy)>>1); in scanline_perspective()
1959 texture_t& tmu = c->state.texture[i]; in scanline_perspective() local
1960 if (!tmu.enable) continue; in scanline_perspective()
[all …]
Dpixelflinger.cpp102 static void ggl_bindTextureLod(void* con, GGLuint tmu,const GGLSurface* surface) in ggl_bindTextureLod() argument
106 ggl_set_surface(c, &c->state.texture[tmu].surface, surface); in ggl_bindTextureLod()
449 static void ggl_texCoordGradScale8xv(void* con, GGLint tmu, const int32_t* grad) in ggl_texCoordGradScale8xv() argument
452 texture_t& u = c->state.texture[tmu]; in ggl_texCoordGradScale8xv()
499 static void ggl_activeTexture(void* con, GGLuint tmu) in ggl_activeTexture() argument
502 if (tmu >= GGLuint(GGL_TEXTURE_UNIT_COUNT)) { in ggl_activeTexture()
506 c->activeTMUIndex = tmu; in ggl_activeTexture()
507 c->activeTMU = &(c->state.texture[tmu]); in ggl_activeTexture()
714 const uint32_t tmu = c->activeTMUIndex; in ggl_enable_texture2d() local
716 const uint32_t mask = 1UL << tmu; in ggl_enable_texture2d()