Home
last modified time | relevance | path

Searched refs:Diffuse (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/mesa/main/
Dlight.c116 if (TEST_EQ_4V(light->Diffuse, params)) in _mesa_light()
119 COPY_4V( light->Diffuse, params ); in _mesa_light()
337 COPY_4V( params, ctx->Light.Light[l].Diffuse ); in _mesa_GetLightfv()
389 params[0] = FLOAT_TO_INT(ctx->Light.Light[l].Diffuse[0]); in _mesa_GetLightiv()
390 params[1] = FLOAT_TO_INT(ctx->Light.Light[l].Diffuse[1]); in _mesa_GetLightiv()
391 params[2] = FLOAT_TO_INT(ctx->Light.Light[l].Diffuse[2]); in _mesa_GetLightiv()
392 params[3] = FLOAT_TO_INT(ctx->Light.Light[l].Diffuse[3]); in _mesa_GetLightiv()
663 SCALE_3V( light->_MatDiffuse[0], light->Diffuse, in _mesa_update_material()
673 SCALE_3V( light->_MatDiffuse[1], light->Diffuse, in _mesa_update_material()
1127 ASSIGN_4V( l->Diffuse, 1.0, 1.0, 1.0, 1.0 ); in init_light()
[all …]
Dmtypes.h341 GLfloat Diffuse[4]; /**< diffuse color */ member
Dattrib.c1156 _mesa_light(ctx, i, GL_DIFFUSE, l->Diffuse); in _mesa_PopAttrib()
/external/mesa3d/src/gallium/state_trackers/nine/
Dnine_dump.c302 lit->Diffuse.r,lit->Diffuse.r,lit->Diffuse.g,lit->Diffuse.a, in nine_dump_D3DLIGHT9()
321 mat->Diffuse.r,mat->Diffuse.r,mat->Diffuse.g,mat->Diffuse.a, in nine_dump_D3DMATERIAL9()
Dnine_ff.c1908 memcpy(&dst[20], &mtl->Diffuse, 4 * sizeof(float)); in nine_ff_load_lights()
1929 memcpy(&dst[33 + l * 8].x, &light->Diffuse, sizeof(light->Diffuse)); in nine_ff_load_lights()
Ddevice9.c2178 light.Diffuse.r = 1.0f; in NineDevice9_LightEnable()
2179 light.Diffuse.g = 1.0f; in NineDevice9_LightEnable()
2180 light.Diffuse.b = 1.0f; in NineDevice9_LightEnable()
/external/swiftshader/src/D3D8/
DDirect3DDevice8.cpp98 material.Diffuse.r = 1.0f; in Direct3DDevice8()
99 material.Diffuse.g = 1.0f; in Direct3DDevice8()
100 material.Diffuse.b = 1.0f; in Direct3DDevice8()
101 material.Diffuse.a = 0.0f; in Direct3DDevice8()
1723 light.Diffuse.r = 1; in LightEnable()
1724 light.Diffuse.g = 1; in LightEnable()
1725 light.Diffuse.b = 1; in LightEnable()
1726 light.Diffuse.a = 0; in LightEnable()
2218 …terialDiffuse(sw::Color<float>(material->Diffuse.r, material->Diffuse.g, material->Diffuse.b, mate… in SetMaterial()
4623 sw::Color<float> diffuse(l.Diffuse.r, l.Diffuse.g, l.Diffuse.b, l.Diffuse.a); in bindLights()
DDirect3DDevice8.hpp195 Diffuse = light.Diffuse; in operator =()
/external/swiftshader/src/D3D9/
DDirect3DDevice9.cpp110 material.Diffuse.r = 1.0f; in Direct3DDevice9()
111 material.Diffuse.g = 1.0f; in Direct3DDevice9()
112 material.Diffuse.b = 1.0f; in Direct3DDevice9()
113 material.Diffuse.a = 0.0f; in Direct3DDevice9()
2172 light.Diffuse.r = 1; in LightEnable()
2173 light.Diffuse.g = 1; in LightEnable()
2174 light.Diffuse.b = 1; in LightEnable()
2175 light.Diffuse.a = 0; in LightEnable()
2846 …terialDiffuse(sw::Color<float>(material->Diffuse.r, material->Diffuse.g, material->Diffuse.b, mate… in SetMaterial()
5944 sw::Color<float> diffuse(l.Diffuse.r, l.Diffuse.g, l.Diffuse.b, l.Diffuse.a); in bindLights()
DDirect3DDevice9.hpp229 Diffuse = light.Diffuse; in operator =()
/external/mesa3d/src/mesa/x86/
Dgen_matypes.c213 OFFSET( "LIGHT_DIFFUSE ", struct gl_light, Diffuse ); in main()
/external/swiftshader/include/Direct3D/
Dd3d8types.h153 D3DCOLORVALUE Diffuse; /* Diffuse color RGBA */ member
169 D3DCOLORVALUE Diffuse; /* Diffuse color of light */ member
/external/mesa3d/src/mesa/program/
Dprog_statevars.c109 COPY_4V(value, ctx->Light.Light[ln].Diffuse); in _mesa_fetch_state()
192 value[i] = ctx->Light.Light[ln].Diffuse[i] * in _mesa_fetch_state()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv20_state_tnl.c295 l->Diffuse : in nv20_emit_material_diffuse()
Dnv10_state_tnl.c377 l->Diffuse : in nv10_emit_material_diffuse()
/external/mesa3d/include/D3D9/
Dd3d9types.h1620 D3DCOLORVALUE Diffuse; member
1646 D3DCOLORVALUE Diffuse; member
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_state_init.c879 ctx->Driver.Lightfv( ctx, p, GL_DIFFUSE, l->Diffuse ); in radeonInitState()
Dradeon_state.c694 COPY_4V( &fcmd[LIT_DIFFUSE_RED], l->Diffuse ); in update_light_colors()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_state_init.c1224 ctx->Driver.Lightfv( ctx, p, GL_DIFFUSE, l->Diffuse ); in r200InitState()
Dr200_state.c878 COPY_4V( &fcmd[LIT_DIFFUSE_RED], l->Diffuse ); in update_light_colors()