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.c70 assert(MAT_ATTRIB_FRONT_AMBIENT + 1 == MAT_ATTRIB_BACK_AMBIENT); in _mesa_fetch_state()
77 COPY_4V(value, mat->Attrib[MAT_ATTRIB_FRONT_AMBIENT + face]); in _mesa_fetch_state()
159 * ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_AMBIENT][i] in _mesa_fetch_state()
185 ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_AMBIENT+face][i]; in _mesa_fetch_state()
188 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.c668 ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_AMBIENT]); in update_global_ambient()
713 for (i = MAT_ATTRIB_FRONT_AMBIENT; i < MAT_ATTRIB_FRONT_INDEXES; i+=2) in check_twoside_fallback()
812 fcmd[MTL_AMBIENT_RED] = mat[MAT_ATTRIB_FRONT_AMBIENT][0]; in radeonUpdateMaterial()
813 fcmd[MTL_AMBIENT_GREEN] = mat[MAT_ATTRIB_FRONT_AMBIENT][1]; in radeonUpdateMaterial()
814 fcmd[MTL_AMBIENT_BLUE] = mat[MAT_ATTRIB_FRONT_AMBIENT][2]; in radeonUpdateMaterial()
815 fcmd[MTL_AMBIENT_ALPHA] = mat[MAT_ATTRIB_FRONT_AMBIENT][3]; in radeonUpdateMaterial()
/external/mesa3d/src/mesa/main/
Dlight.c629 mat[MAT_ATTRIB_FRONT_AMBIENT]); in _mesa_update_material()
646 ACC_SCALE_3V( ctx->Light._BaseColor[0], mat[MAT_ATTRIB_FRONT_AMBIENT], in _mesa_update_material()
1170 ASSIGN_4V( m->Attrib[MAT_ATTRIB_FRONT_AMBIENT], 0.2F, 0.2F, 0.2F, 1.0F ); in init_material()
Dmtypes.h273 #define MAT_ATTRIB_FRONT_AMBIENT 0 macro
287 #define MAT_ATTRIB_AMBIENT(f) (MAT_ATTRIB_FRONT_AMBIENT+(f))
298 #define MAT_BIT_FRONT_AMBIENT (1<<MAT_ATTRIB_FRONT_AMBIENT)
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_state.c853 ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_AMBIENT]); in update_global_ambient()
1009 fcmd[MTL_AMBIENT_RED] = mat[MAT_ATTRIB_FRONT_AMBIENT][0]; in r200UpdateMaterial()
1010 fcmd[MTL_AMBIENT_GREEN] = mat[MAT_ATTRIB_FRONT_AMBIENT][1]; in r200UpdateMaterial()
1011 fcmd[MTL_AMBIENT_BLUE] = mat[MAT_ATTRIB_FRONT_AMBIENT][2]; in r200UpdateMaterial()
1012 fcmd[MTL_AMBIENT_ALPHA] = mat[MAT_ATTRIB_FRONT_AMBIENT][3]; in r200UpdateMaterial()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_state_tnl.c332 SCALE_3V(c_scene, mat[MAT_ATTRIB_FRONT_AMBIENT], in nv10_emit_material_ambient()