Home
last modified time | relevance | path

Searched refs:MAT_ATTRIB_FRONT_AMBIENT (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/mesa/program/
Dprog_statevars.c62 ASSERT(MAT_ATTRIB_FRONT_AMBIENT + 1 == MAT_ATTRIB_BACK_AMBIENT); in _mesa_fetch_state()
69 COPY_4V(value, mat->Attrib[MAT_ATTRIB_FRONT_AMBIENT + face]); in _mesa_fetch_state()
151 * ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_AMBIENT][i] in _mesa_fetch_state()
177 ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_AMBIENT+face][i]; in _mesa_fetch_state()
180 value[3] = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_AMBIENT+face][3]; in _mesa_fetch_state()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_state.c664 ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_AMBIENT]); in update_global_ambient()
709 for (i = MAT_ATTRIB_FRONT_AMBIENT; i < MAT_ATTRIB_FRONT_INDEXES; i+=2) in check_twoside_fallback()
808 fcmd[MTL_AMBIENT_RED] = mat[MAT_ATTRIB_FRONT_AMBIENT][0]; in radeonUpdateMaterial()
809 fcmd[MTL_AMBIENT_GREEN] = mat[MAT_ATTRIB_FRONT_AMBIENT][1]; in radeonUpdateMaterial()
810 fcmd[MTL_AMBIENT_BLUE] = mat[MAT_ATTRIB_FRONT_AMBIENT][2]; in radeonUpdateMaterial()
811 fcmd[MTL_AMBIENT_ALPHA] = mat[MAT_ATTRIB_FRONT_AMBIENT][3]; in radeonUpdateMaterial()
/external/mesa3d/src/mesa/main/
Dlight.c647 mat[MAT_ATTRIB_FRONT_AMBIENT]); in _mesa_update_material()
661 ACC_SCALE_3V( ctx->Light._BaseColor[0], mat[MAT_ATTRIB_FRONT_AMBIENT], in _mesa_update_material()
1169 ASSIGN_4V( m->Attrib[MAT_ATTRIB_FRONT_AMBIENT], 0.2F, 0.2F, 0.2F, 1.0F ); in init_material()
Dmtypes.h575 #define MAT_ATTRIB_FRONT_AMBIENT 0 macro
589 #define MAT_ATTRIB_AMBIENT(f) (MAT_ATTRIB_FRONT_AMBIENT+(f))
600 #define MAT_BIT_FRONT_AMBIENT (1<<MAT_ATTRIB_FRONT_AMBIENT)
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_state.c849 ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_AMBIENT]); in update_global_ambient()
1005 fcmd[MTL_AMBIENT_RED] = mat[MAT_ATTRIB_FRONT_AMBIENT][0]; in r200UpdateMaterial()
1006 fcmd[MTL_AMBIENT_GREEN] = mat[MAT_ATTRIB_FRONT_AMBIENT][1]; in r200UpdateMaterial()
1007 fcmd[MTL_AMBIENT_BLUE] = mat[MAT_ATTRIB_FRONT_AMBIENT][2]; in r200UpdateMaterial()
1008 fcmd[MTL_AMBIENT_ALPHA] = mat[MAT_ATTRIB_FRONT_AMBIENT][3]; in r200UpdateMaterial()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_state_tnl.c331 SCALE_3V(c_scene, mat[MAT_ATTRIB_FRONT_AMBIENT], in nv10_emit_material_ambient()