Home
last modified time | relevance | path

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

/system/core/libpixelflinger/codeflinger/
Dtexturing.cpp272 texture_unit_t& tmu = mTextureMachine.tmu[i]; in decodeTMUNeeds() local
275 tmu.format_idx = 0; in decodeTMUNeeds()
276 tmu.mask = 0; in decodeTMUNeeds()
277 tmu.replaced = replaced; in decodeTMUNeeds()
280 tmu.format_idx = GGL_READ_NEEDS(T_FORMAT, needs.t[i]); in decodeTMUNeeds()
281 tmu.format = c->formats[tmu.format_idx]; in decodeTMUNeeds()
282 tmu.bits = tmu.format.size*8; in decodeTMUNeeds()
283 tmu.swrap = GGL_READ_NEEDS(T_S_WRAP, needs.t[i]); in decodeTMUNeeds()
284 tmu.twrap = GGL_READ_NEEDS(T_T_WRAP, needs.t[i]); in decodeTMUNeeds()
285 tmu.env = ggl_needs_to_env(GGL_READ_NEEDS(T_ENV, needs.t[i])); in decodeTMUNeeds()
[all …]
DGGLAssembler.h321 texture_unit_t tmu[GGL_TEXTURE_UNIT_COUNT]; member
368 const pixel_t& texel, int component, int tmu);
439 pixel_t& texel, const texture_unit_t& tmu,
444 pixel_t& texel, const texture_unit_t& tmu,
449 pixel_t& texel, const texture_unit_t& tmu,
454 pixel_t& texel, const texture_unit_t& tmu,
DGGLAssembler.cpp507 texture_unit_t& tmu = mTextureMachine.tmu[i]; in build_incoming_component() local
508 if ((tmu.format_idx) && in build_incoming_component()
607 const texture_unit_t& tmu = mTextureMachine.tmu[i]; in build_incoming_component() local
608 if ((tmu.mask & component_mask) && in build_incoming_component()
609 ((tmu.replaced & component_mask) == 0)) { in build_incoming_component()
/system/core/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
157 c->procs.activeTexture(c, tmu); in gglBitBlit()
160 uint32_t tmus = 1UL<<tmu; in gglBitBlit()
208 c->procs.texCoordGradScale8xv(c, tmu, texcoords); in gglBitBlit()
Dscanline.cpp1911 const texture_t& tmu = c->state.texture[i]; in scanline_perspective() local
1912 if (!tmu.enable) continue; in scanline_perspective()
1913 int32_t s = tmu.shade.is0 + in scanline_perspective()
1914 (tmu.shade.idsdy * ys) + (tmu.shade.idsdx * xs) + in scanline_perspective()
1915 ((tmu.shade.idsdx + tmu.shade.idsdy)>>1); in scanline_perspective()
1916 int32_t t = tmu.shade.it0 + in scanline_perspective()
1917 (tmu.shade.idtdy * ys) + (tmu.shade.idtdx * xs) + in scanline_perspective()
1918 ((tmu.shade.idtdx + tmu.shade.idtdy)>>1); in scanline_perspective()
1941 texture_t& tmu = c->state.texture[i]; in scanline_perspective() local
1942 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()