Searched refs:MAT_ATTRIB_FRONT_AMBIENT (Results 1 – 7 of 7) sorted by relevance
/external/mesa3d/src/mesa/program/ |
D | prog_statevars.c | 70 assert(MAT_ATTRIB_FRONT_AMBIENT + 1 == MAT_ATTRIB_BACK_AMBIENT); in fetch_state() 77 COPY_4V(value, mat->Attrib[MAT_ATTRIB_FRONT_AMBIENT + face]); in fetch_state() 159 * ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_AMBIENT][i] in fetch_state() 185 ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_AMBIENT+face][i]; in fetch_state() 188 value[3] = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_AMBIENT+face][3]; in fetch_state()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_state.c | 666 ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_AMBIENT]); in update_global_ambient() 711 for (i = MAT_ATTRIB_FRONT_AMBIENT; i < MAT_ATTRIB_FRONT_INDEXES; i+=2) in check_twoside_fallback() 810 fcmd[MTL_AMBIENT_RED] = mat[MAT_ATTRIB_FRONT_AMBIENT][0]; in radeonUpdateMaterial() 811 fcmd[MTL_AMBIENT_GREEN] = mat[MAT_ATTRIB_FRONT_AMBIENT][1]; in radeonUpdateMaterial() 812 fcmd[MTL_AMBIENT_BLUE] = mat[MAT_ATTRIB_FRONT_AMBIENT][2]; in radeonUpdateMaterial() 813 fcmd[MTL_AMBIENT_ALPHA] = mat[MAT_ATTRIB_FRONT_AMBIENT][3]; in radeonUpdateMaterial()
|
/external/mesa3d/src/mesa/tnl/ |
D | t_context.h | 131 _TNL_ATTRIB_MAT_FRONT_AMBIENT=VERT_ATTRIB_MAT(MAT_ATTRIB_FRONT_AMBIENT),
|
/external/mesa3d/src/mesa/main/ |
D | light.c | 628 mat[MAT_ATTRIB_FRONT_AMBIENT]); in _mesa_update_material() 645 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()
|
D | mtypes.h | 224 #define MAT_ATTRIB_FRONT_AMBIENT 0 macro 238 #define MAT_ATTRIB_AMBIENT(f) (MAT_ATTRIB_FRONT_AMBIENT+(f)) 245 #define MAT_BIT_FRONT_AMBIENT (1<<MAT_ATTRIB_FRONT_AMBIENT)
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_state.c | 853 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/ |
D | nv10_state_tnl.c | 332 SCALE_3V(c_scene, mat[MAT_ATTRIB_FRONT_AMBIENT], in nv10_emit_material_ambient()
|