Home
last modified time | relevance | path

Searched refs:Ambient (Results 1 – 22 of 22) sorted by relevance

/external/mesa3d/src/mesa/main/
Dlight.c110 if (TEST_EQ_4V(light->Ambient, params)) in _mesa_light()
113 COPY_4V( light->Ambient, params ); in _mesa_light()
333 COPY_4V( params, ctx->Light.Light[l].Ambient ); in _mesa_GetLightfv()
382 params[0] = FLOAT_TO_INT(ctx->Light.Light[l].Ambient[0]); in _mesa_GetLightiv()
383 params[1] = FLOAT_TO_INT(ctx->Light.Light[l].Ambient[1]); in _mesa_GetLightiv()
384 params[2] = FLOAT_TO_INT(ctx->Light.Light[l].Ambient[2]); in _mesa_GetLightiv()
385 params[3] = FLOAT_TO_INT(ctx->Light.Light[l].Ambient[3]); in _mesa_GetLightiv()
447 if (TEST_EQ_4V( ctx->Light.Model.Ambient, params )) in _mesa_LightModelfv()
450 COPY_4V( ctx->Light.Model.Ambient, params ); in _mesa_LightModelfv()
628 SCALE_3V( light->_MatAmbient[0], light->Ambient, in _mesa_update_material()
[all …]
Dattrib.c1169 _mesa_light(ctx, i, GL_AMBIENT, l->Ambient); in _mesa_PopAttrib()
1202 light->Model.Ambient); in _mesa_PopAttrib()
Dmtypes.h355 GLfloat Ambient[4]; /**< ambient color */ member
392 GLfloat Ambient[4]; /**< ambient color */ member
/external/mesa3d/src/gallium/state_trackers/nine/
Dnine_dump.c304 lit->Ambient.r,lit->Ambient.r,lit->Ambient.g,lit->Ambient.a, in nine_dump_D3DLIGHT9()
323 mat->Ambient.r,mat->Ambient.r,mat->Ambient.g,mat->Ambient.a, in nine_dump_D3DMATERIAL9()
Dnine_ff.c1912 memcpy(&dst[21], &mtl->Ambient, 4 * sizeof(float)); in nine_ff_load_lights()
1917 dst[19].x = dst[25].x * mtl->Ambient.r + mtl->Emissive.r; in nine_ff_load_lights()
1918 dst[19].y = dst[25].y * mtl->Ambient.g + mtl->Emissive.g; in nine_ff_load_lights()
1919 dst[19].z = dst[25].z * mtl->Ambient.b + mtl->Emissive.b; in nine_ff_load_lights()
1934 memcpy(&dst[35 + l * 8].x, &light->Ambient, sizeof(light->Ambient)); in nine_ff_load_lights()
/external/mesa3d/src/mesa/x86/
Dgen_matypes.c208 OFFSET( "LIGHT_AMBIENT ", struct gl_light, Ambient ); in main()
248 OFFSET( "LIGHT_MODEL_AMBIENT ", struct gl_lightmodel, Ambient ); in main()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv20_state_tnl.c246 COPY_3V(c_factor, ctx->Light.Model.Ambient); in nv20_emit_material_ambient()
250 ctx->Light.Model.Ambient); in nv20_emit_material_ambient()
271 l->Ambient : in nv20_emit_material_ambient()
Dnv10_state_tnl.c328 COPY_3V(c_scene, ctx->Light.Model.Ambient); in nv10_emit_material_ambient()
333 ctx->Light.Model.Ambient); in nv10_emit_material_ambient()
354 l->Ambient : in nv10_emit_material_ambient()
/external/mesa3d/src/mesa/program/
Dprog_statevars.c106 COPY_4V(value, ctx->Light.Light[ln].Ambient); in _mesa_fetch_state()
151 COPY_4V(value, ctx->Light.Model.Ambient); in _mesa_fetch_state()
158 value[i] = ctx->Light.Model.Ambient[i] in _mesa_fetch_state()
168 value[i] = ctx->Light.Model.Ambient[i] in _mesa_fetch_state()
184 value[i] = ctx->Light.Light[ln].Ambient[i] * in _mesa_fetch_state()
/external/swiftshader/src/D3D8/
DDirect3DDevice8.cpp102 material.Ambient.r = 0.0f; in Direct3DDevice8()
103 material.Ambient.g = 0.0f; in Direct3DDevice8()
104 material.Ambient.b = 0.0f; in Direct3DDevice8()
105 material.Ambient.a = 0.0f; in Direct3DDevice8()
1731 light.Ambient.r = 0; in LightEnable()
1732 light.Ambient.g = 0; in LightEnable()
1733 light.Ambient.b = 0; in LightEnable()
1734 light.Ambient.a = 0; in LightEnable()
2217 …terialAmbient(sw::Color<float>(material->Ambient.r, material->Ambient.g, material->Ambient.b, mate… in SetMaterial()
4625 sw::Color<float> ambient(l.Ambient.r, l.Ambient.g, l.Ambient.b, l.Ambient.a); in bindLights()
DDirect3DDevice8.hpp197 Ambient = light.Ambient; in operator =()
/external/u-boot/arch/x86/include/asm/acpi/
Dstatdef.asl78 /* Ambient Light Sensor Notification Values */
/external/swiftshader/src/D3D9/
DDirect3DDevice9.cpp114 material.Ambient.r = 0.0f; in Direct3DDevice9()
115 material.Ambient.g = 0.0f; in Direct3DDevice9()
116 material.Ambient.b = 0.0f; in Direct3DDevice9()
117 material.Ambient.a = 0.0f; in Direct3DDevice9()
2180 light.Ambient.r = 0; in LightEnable()
2181 light.Ambient.g = 0; in LightEnable()
2182 light.Ambient.b = 0; in LightEnable()
2183 light.Ambient.a = 0; in LightEnable()
2845 …terialAmbient(sw::Color<float>(material->Ambient.r, material->Ambient.g, material->Ambient.b, mate… in SetMaterial()
5946 sw::Color<float> ambient(l.Ambient.r, l.Ambient.g, l.Ambient.b, l.Ambient.a); in bindLights()
DDirect3DDevice9.hpp231 Ambient = light.Ambient; in operator =()
/external/swiftshader/include/Direct3D/
Dd3d8types.h154 D3DCOLORVALUE Ambient; /* Ambient color RGB */ member
171 D3DCOLORVALUE Ambient; /* Ambient color of light */ member
/external/mesa3d/include/D3D9/
Dd3d9types.h1622 D3DCOLORVALUE Ambient; member
1647 D3DCOLORVALUE Ambient; member
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_state_init.c878 ctx->Driver.Lightfv( ctx, p, GL_AMBIENT, l->Ambient ); in radeonInitState()
895 ctx->Light.Model.Ambient ); in radeonInitState()
Dradeon_state.c667 ctx->Light.Model.Ambient, in update_global_ambient()
672 COPY_3V( &fcmd[GLT_RED], ctx->Light.Model.Ambient ); in update_global_ambient()
692 COPY_4V( &fcmd[LIT_AMBIENT_RED], l->Ambient ); in update_light_colors()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_state.c852 ctx->Light.Model.Ambient, in update_global_ambient()
857 COPY_3V( &fcmd[GLT_RED], ctx->Light.Model.Ambient ); in update_global_ambient()
877 COPY_4V( &fcmd[LIT_AMBIENT_RED], l->Ambient ); in update_light_colors()
Dr200_state_init.c1224 ctx->Driver.Lightfv( ctx, p, GL_AMBIENT, l->Ambient ); in r200InitState()
1241 ctx->Light.Model.Ambient ); in r200InitState()
/external/autotest/client/site_tests/power_LoadTest/
DREADME.md41 * Ambient light sensor readings are ignored.
/external/mesa3d/prebuilt-intermediates/main/
Dget_hash.h107 { GL_LIGHT_MODEL_AMBIENT, CONTEXT_FIELD(Light.Model.Ambient[0], TYPE_FLOATN_4), NO_EXTRA },