Home
last modified time | relevance | path

Searched refs:TexGenEnabled (Results 1 – 19 of 19) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_texstate.c765 GLuint tmp = rmesa->TexGenEnabled; in disable_tex_obj_state()
767 rmesa->TexGenEnabled &= ~(RADEON_TEXGEN_TEXMAT_0_ENABLE<<unit); in disable_tex_obj_state()
768 rmesa->TexGenEnabled &= ~(RADEON_TEXMAT_0_ENABLE<<unit); in disable_tex_obj_state()
769 rmesa->TexGenEnabled &= ~(RADEON_TEXGEN_INPUT_MASK<<inputshift); in disable_tex_obj_state()
771 rmesa->TexGenEnabled |= in disable_tex_obj_state()
774 if (tmp != rmesa->TexGenEnabled) { in disable_tex_obj_state()
855 rmesa->TexGenEnabled |= RADEON_TEXMAT_0_ENABLE << unit; in set_texgen_matrix()
866 GLuint tmp = rmesa->TexGenEnabled; in radeon_validate_texgen()
873 rmesa->TexGenEnabled &= ~(RADEON_TEXGEN_TEXMAT_0_ENABLE << unit); in radeon_validate_texgen()
874 rmesa->TexGenEnabled &= ~(RADEON_TEXMAT_0_ENABLE << unit); in radeon_validate_texgen()
[all …]
Dradeon_context.h415 GLuint TexGenEnabled; member
Dradeon_maos_arrays.c269 if ( (ctx->Texture.Unit[unit].TexGenEnabled & (R_BIT | Q_BIT)) ) in radeonEmitArrays()
Dradeon_maos_verts.c354 if ( (ctx->Texture.Unit[unit].TexGenEnabled & (R_BIT | Q_BIT)) ) in radeonEmitArrays()
Dradeon_state.c1944 if (rmesa->TexGenEnabled & (RADEON_TEXMAT_0_ENABLE << unit)) { in update_texturematrix()
1957 else if (rmesa->TexGenEnabled & (RADEON_TEXMAT_0_ENABLE << unit)) { in update_texturematrix()
1964 !ctx->Texture.Unit[unit].TexGenEnabled ); in update_texturematrix()
1969 tpc = (texMatEnabled | rmesa->TexGenEnabled); in update_texturematrix()
/external/mesa3d/src/mesa/tnl/
Dt_vb_texgen.c360 out->flags |= (in->flags & VEC_SIZE_FLAGS) | texUnit->TexGenEnabled; in texgen()
363 copy = (all_bits[in->size] & ~texUnit->TexGenEnabled); in texgen()
367 if (texUnit->TexGenEnabled & S_BIT) { in texgen()
400 if (texUnit->TexGenEnabled & T_BIT) { in texgen()
433 if (texUnit->TexGenEnabled & R_BIT) { in texgen()
462 if (texUnit->TexGenEnabled & Q_BIT) { in texgen()
496 if (texUnit->TexGenEnabled) { in run_texgen_stage()
520 if (texUnit->TexGenEnabled) { in validate_texgen_stage()
523 if (texUnit->TexGenEnabled & Q_BIT) in validate_texgen_stage()
525 else if (texUnit->TexGenEnabled & R_BIT) in validate_texgen_stage()
[all …]
Dt_rasterpos.c278 if (texUnit->TexGenEnabled & S_BIT) { in compute_texgen()
301 if (texUnit->TexGenEnabled & T_BIT) { in compute_texgen()
324 if (texUnit->TexGenEnabled & R_BIT) { in compute_texgen()
344 if (texUnit->TexGenEnabled & Q_BIT) { in compute_texgen()
465 if (ctx->Texture.Unit[u].TexGenEnabled) { in _tnl_RasterPos()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_texstate.c1057 GLuint tmp = rmesa->TexGenEnabled; in disable_tex_obj_state()
1059 rmesa->TexGenEnabled &= ~(R200_TEXGEN_TEXMAT_0_ENABLE<<unit); in disable_tex_obj_state()
1060 rmesa->TexGenEnabled &= ~(R200_TEXMAT_0_ENABLE<<unit); in disable_tex_obj_state()
1064 if (tmp != rmesa->TexGenEnabled) { in disable_tex_obj_state()
1132 rmesa->TexGenEnabled |= R200_TEXMAT_0_ENABLE<<unit; in set_texgen_matrix()
1200 rmesa->TexGenEnabled &= ~(R200_TEXGEN_TEXMAT_0_ENABLE<<unit); in r200_validate_texgen()
1201 rmesa->TexGenEnabled &= ~(R200_TEXMAT_0_ENABLE<<unit); in r200_validate_texgen()
1211 if (texUnit->TexGenEnabled & S_BIT) { in r200_validate_texgen()
1217 if (texUnit->TexGenEnabled & T_BIT) { in r200_validate_texgen()
1223 if (texUnit->TexGenEnabled & R_BIT) { in r200_validate_texgen()
[all …]
Dr200_context.h608 GLuint TexGenEnabled; member
Dr200_state.c2179 if (rmesa->TexGenEnabled & (R200_TEXMAT_0_ENABLE << unit)) { in update_texturematrix()
2193 else if (rmesa->TexGenEnabled & (R200_TEXMAT_0_ENABLE << unit)) { in update_texturematrix()
2199 tpc = (rmesa->TexMatEnabled | rmesa->TexGenEnabled); in update_texturematrix()
/external/mesa3d/src/mesa/main/
Dtexstate.c84 dst->Texture.Unit[u].TexGenEnabled = src->Texture.Unit[u].TexGenEnabled; in _mesa_copy_texture_state()
649 if (texUnit->TexGenEnabled) { in update_texture_state()
650 if (texUnit->TexGenEnabled & S_BIT) { in update_texture_state()
653 if (texUnit->TexGenEnabled & T_BIT) { in update_texture_state()
656 if (texUnit->TexGenEnabled & R_BIT) { in update_texture_state()
659 if (texUnit->TexGenEnabled & Q_BIT) { in update_texture_state()
761 texUnit->TexGenEnabled = 0x0; in init_texture_unit()
Denable.c698 GLbitfield newenabled = texUnit->TexGenEnabled & ~coordBit; in _mesa_set_enable()
701 if (texUnit->TexGenEnabled == newenabled) in _mesa_set_enable()
704 texUnit->TexGenEnabled = newenabled; in _mesa_set_enable()
720 texUnit->TexGenEnabled & ~STR_BITS; in _mesa_set_enable()
723 if (texUnit->TexGenEnabled == newenabled) in _mesa_set_enable()
726 texUnit->TexGenEnabled = newenabled; in _mesa_set_enable()
1436 return (texUnit->TexGenEnabled & coordBit) ? GL_TRUE : GL_FALSE; in _mesa_IsEnabled()
1449 return (texUnit->TexGenEnabled & STR_BITS) == STR_BITS in _mesa_IsEnabled()
Dattrib.c321 attr->TexGen[i] = ctx->Texture.Unit[i].TexGenEnabled; in _mesa_PushAttrib()
657 if (ctx->Texture.Unit[i].TexGenEnabled != genEnabled) { in pop_enable_group()
727 _mesa_set_enable(ctx, GL_TEXTURE_GEN_S, !!(unit->TexGenEnabled & S_BIT)); in pop_texture_group()
728 _mesa_set_enable(ctx, GL_TEXTURE_GEN_T, !!(unit->TexGenEnabled & T_BIT)); in pop_texture_group()
729 _mesa_set_enable(ctx, GL_TEXTURE_GEN_R, !!(unit->TexGenEnabled & R_BIT)); in pop_texture_group()
730 _mesa_set_enable(ctx, GL_TEXTURE_GEN_Q, !!(unit->TexGenEnabled & Q_BIT)); in pop_texture_group()
Dffvertex_prog.c255 if (texUnit->TexGenEnabled) { in make_state_key()
259 translate_texgen( texUnit->TexGenEnabled & (1<<0), in make_state_key()
262 translate_texgen( texUnit->TexGenEnabled & (1<<1), in make_state_key()
265 translate_texgen( texUnit->TexGenEnabled & (1<<2), in make_state_key()
268 translate_texgen( texUnit->TexGenEnabled & (1<<3), in make_state_key()
Dget.c660 offsetof(struct gl_texture_unit, TexGenEnabled), NO_EXTRA },
947 offsetof(struct gl_texture_unit, TexGenEnabled), NO_EXTRA },
949 offsetof(struct gl_texture_unit, TexGenEnabled), NO_EXTRA },
951 offsetof(struct gl_texture_unit, TexGenEnabled), NO_EXTRA },
953 offsetof(struct gl_texture_unit, TexGenEnabled), NO_EXTRA },
Dmtypes.h1397 GLbitfield TexGenEnabled; /**< Bitwise-OR of [STRQ]_BIT values */ member
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_state_tex.c46 if (nctx->fallback == HWTNL && (unit->TexGenEnabled & 1 << j)) { in nv10_emit_tex_gen()
Dnv20_state_tex.c46 if (nctx->fallback == HWTNL && (unit->TexGenEnabled & 1 << j)) { in nv20_emit_tex_gen()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c161 GLbitfield TexGenEnabled[MAX_TEXTURE_UNITS]; member
667 save->TexGenEnabled[u] = ctx->Texture.Unit[u].TexGenEnabled; in _mesa_meta_begin()
669 ctx->Texture.Unit[u].TexGenEnabled) { in _mesa_meta_begin()
1035 if (ctx->Texture.Unit[u].TexGenEnabled != save->TexGenEnabled[u]) { in _mesa_meta_end()
1037 ctx->Texture.Unit[u].TexGenEnabled = save->TexGenEnabled[u]; in _mesa_meta_end()