/third_party/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_texstate.c | 697 GLuint tmp = rmesa->TexGenEnabled; in disable_tex_obj_state() 699 rmesa->TexGenEnabled &= ~(RADEON_TEXGEN_TEXMAT_0_ENABLE<<unit); in disable_tex_obj_state() 700 rmesa->TexGenEnabled &= ~(RADEON_TEXMAT_0_ENABLE<<unit); in disable_tex_obj_state() 701 rmesa->TexGenEnabled &= ~(RADEON_TEXGEN_INPUT_MASK<<inputshift); in disable_tex_obj_state() 703 rmesa->TexGenEnabled |= in disable_tex_obj_state() 706 if (tmp != rmesa->TexGenEnabled) { in disable_tex_obj_state() 787 rmesa->TexGenEnabled |= RADEON_TEXMAT_0_ENABLE << unit; in set_texgen_matrix() 799 GLuint tmp = rmesa->TexGenEnabled; in radeon_validate_texgen() 806 rmesa->TexGenEnabled &= ~(RADEON_TEXGEN_TEXMAT_0_ENABLE << unit); in radeon_validate_texgen() 807 rmesa->TexGenEnabled &= ~(RADEON_TEXMAT_0_ENABLE << unit); in radeon_validate_texgen() [all …]
|
D | radeon_context.h | 414 GLuint TexGenEnabled; member
|
D | radeon_maos_arrays.c | 268 if ( (ctx->Texture.Unit[unit].TexGenEnabled & (R_BIT | Q_BIT)) ) in radeonEmitArrays()
|
D | radeon_maos_verts.c | 354 if ( (ctx->Texture.FixedFuncUnit[unit].TexGenEnabled & (R_BIT | Q_BIT)) ) in radeonEmitArrays()
|
D | radeon_state.c | 1873 if (rmesa->TexGenEnabled & (RADEON_TEXMAT_0_ENABLE << unit)) { in update_texturematrix() 1886 else if (rmesa->TexGenEnabled & (RADEON_TEXMAT_0_ENABLE << unit)) { in update_texturematrix() 1893 !ctx->Texture.FixedFuncUnit[unit].TexGenEnabled ); in update_texturematrix() 1898 tpc = (texMatEnabled | rmesa->TexGenEnabled); in update_texturematrix()
|
/third_party/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_texstate.c | 961 GLuint tmp = rmesa->TexGenEnabled; in disable_tex_obj_state() 963 rmesa->TexGenEnabled &= ~(R200_TEXGEN_TEXMAT_0_ENABLE<<unit); in disable_tex_obj_state() 964 rmesa->TexGenEnabled &= ~(R200_TEXMAT_0_ENABLE<<unit); in disable_tex_obj_state() 968 if (tmp != rmesa->TexGenEnabled) { in disable_tex_obj_state() 1036 rmesa->TexGenEnabled |= R200_TEXMAT_0_ENABLE<<unit; in set_texgen_matrix() 1105 rmesa->TexGenEnabled &= ~(R200_TEXGEN_TEXMAT_0_ENABLE<<unit); in r200_validate_texgen() 1106 rmesa->TexGenEnabled &= ~(R200_TEXMAT_0_ENABLE<<unit); in r200_validate_texgen() 1116 if (texUnit->TexGenEnabled & S_BIT) { in r200_validate_texgen() 1122 if (texUnit->TexGenEnabled & T_BIT) { in r200_validate_texgen() 1128 if (texUnit->TexGenEnabled & R_BIT) { in r200_validate_texgen() [all …]
|
D | r200_context.h | 602 GLuint TexGenEnabled; member
|
D | r200_state.c | 2104 if (rmesa->TexGenEnabled & (R200_TEXMAT_0_ENABLE << unit)) { in update_texturematrix() 2118 else if (rmesa->TexGenEnabled & (R200_TEXMAT_0_ENABLE << unit)) { in update_texturematrix() 2124 tpc = (rmesa->TexMatEnabled | rmesa->TexGenEnabled); in update_texturematrix()
|
/third_party/mesa3d/src/mesa/tnl/ |
D | t_vb_texgen.c | 360 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() 497 if (texUnit->TexGenEnabled) { in run_texgen_stage() 521 if (texUnit->TexGenEnabled) { in validate_texgen_stage() 524 if (texUnit->TexGenEnabled & Q_BIT) in validate_texgen_stage() 526 else if (texUnit->TexGenEnabled & R_BIT) in validate_texgen_stage() [all …]
|
/third_party/mesa3d/src/mesa/main/ |
D | texstate.c | 108 dst->Texture.FixedFuncUnit[u].TexGenEnabled = src->Texture.FixedFuncUnit[u].TexGenEnabled; in _mesa_copy_texture_state() 631 if (texUnit->TexGenEnabled) { in update_texgen() 632 if (texUnit->TexGenEnabled & S_BIT) { in update_texgen() 635 if (texUnit->TexGenEnabled & T_BIT) { in update_texgen() 638 if (texUnit->TexGenEnabled & R_BIT) { in update_texgen() 641 if (texUnit->TexGenEnabled & Q_BIT) { in update_texgen() 1074 texUnit->TexGenEnabled = 0x0; in _mesa_init_texture()
|
D | rastpos.c | 308 if (texUnit->TexGenEnabled & S_BIT) { in compute_texgen() 331 if (texUnit->TexGenEnabled & T_BIT) { in compute_texgen() 354 if (texUnit->TexGenEnabled & R_BIT) { in compute_texgen() 374 if (texUnit->TexGenEnabled & Q_BIT) { in compute_texgen() 510 if (ctx->Texture.FixedFuncUnit[u].TexGenEnabled) { in _mesa_RasterPos()
|
D | enable.c | 938 GLbitfield newenabled = texUnit->TexGenEnabled & ~coordBit; in _mesa_set_enable() 941 if (texUnit->TexGenEnabled == newenabled) in _mesa_set_enable() 946 texUnit->TexGenEnabled = newenabled; in _mesa_set_enable() 961 texUnit->TexGenEnabled & ~STR_BITS; in _mesa_set_enable() 964 if (texUnit->TexGenEnabled == newenabled) in _mesa_set_enable() 968 texUnit->TexGenEnabled = newenabled; in _mesa_set_enable() 1779 return (texUnit->TexGenEnabled & coordBit) ? GL_TRUE : GL_FALSE; in _mesa_IsEnabled() 1792 return (texUnit->TexGenEnabled & STR_BITS) == STR_BITS in _mesa_IsEnabled()
|
D | ffvertex_prog.c | 249 if (texUnit->TexGenEnabled) { in make_state_key() 253 translate_texgen( texUnit->TexGenEnabled & (1<<0), in make_state_key() 256 translate_texgen( texUnit->TexGenEnabled & (1<<1), in make_state_key() 259 translate_texgen( texUnit->TexGenEnabled & (1<<2), in make_state_key() 262 translate_texgen( texUnit->TexGenEnabled & (1<<3), in make_state_key()
|
D | attrib.c | 193 attr->TexGen[i] = ctx->Texture.FixedFuncUnit[i].TexGenEnabled; in _mesa_PushAttrib() 498 const GLbitfield old_gen_enabled = unit->TexGenEnabled; in pop_enable_group() 586 _mesa_set_enable(ctx, GL_TEXTURE_GEN_S, !!(unit->TexGenEnabled & S_BIT)); in pop_texture_group() 587 _mesa_set_enable(ctx, GL_TEXTURE_GEN_T, !!(unit->TexGenEnabled & T_BIT)); in pop_texture_group() 588 _mesa_set_enable(ctx, GL_TEXTURE_GEN_R, !!(unit->TexGenEnabled & R_BIT)); in pop_texture_group() 589 _mesa_set_enable(ctx, GL_TEXTURE_GEN_Q, !!(unit->TexGenEnabled & Q_BIT)); in pop_texture_group()
|
D | mtypes.h | 1229 GLbitfield8 TexGenEnabled; /**< Bitwise-OR of [STRQ]_BIT values */ member
|
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nv10_state_tex.c | 47 if (nctx->fallback == HWTNL && (unit->TexGenEnabled & 1 << j)) { in nv10_emit_tex_gen()
|
D | nv20_state_tex.c | 47 if (nctx->fallback == HWTNL && (unit->TexGenEnabled & 1 << j)) { in nv20_emit_tex_gen()
|
/third_party/mesa3d/src/mesa/drivers/common/ |
D | meta.h | 152 GLbitfield TexGenEnabled[MAX_TEXTURE_UNITS]; member
|
D | meta.c | 659 save->TexGenEnabled[u] = ctx->Texture.FixedFuncUnit[u].TexGenEnabled; in _mesa_meta_begin() 661 ctx->Texture.FixedFuncUnit[u].TexGenEnabled) { in _mesa_meta_begin() 1096 if (ctx->Texture.FixedFuncUnit[u].TexGenEnabled != save->TexGenEnabled[u]) { in _mesa_meta_end() 1098 ctx->Texture.FixedFuncUnit[u].TexGenEnabled = save->TexGenEnabled[u]; in _mesa_meta_end()
|