Home
last modified time | relevance | path

Searched refs:Light (Results 1 – 25 of 246) sorted by relevance

12345678910

/external/mesa3d/src/mesa/main/
Dlight.c46 if (ctx->Light.ShadeModel == mode) in _mesa_ShadeModel()
55 ctx->Light.ShadeModel = mode; in _mesa_ShadeModel()
75 if (ctx->Light.ProvokingVertex == mode) in _mesa_ProvokingVertex()
88 ctx->Light.ProvokingVertex = mode; in _mesa_ProvokingVertex()
105 light = &ctx->Light.Light[lnum]; in _mesa_light()
332 COPY_4V( params, ctx->Light.Light[l].Ambient ); in _mesa_GetLightfv()
335 COPY_4V( params, ctx->Light.Light[l].Diffuse ); in _mesa_GetLightfv()
338 COPY_4V( params, ctx->Light.Light[l].Specular ); in _mesa_GetLightfv()
341 COPY_4V( params, ctx->Light.Light[l].EyePosition ); in _mesa_GetLightfv()
344 COPY_3V( params, ctx->Light.Light[l].SpotDirection ); in _mesa_GetLightfv()
[all …]
Dstate.h76 if (ctx->Light.Enabled && in _mesa_need_secondary_color()
77 ctx->Light.Model.ColorControl == GL_SEPARATE_SPECULAR_COLOR) in _mesa_need_secondary_color()
114 return ctx->Light.Enabled && ctx->Light.Model.TwoSide; in _mesa_vertex_program_two_side_enabled()
/external/skqp/src/shaders/
DSkLights.h26 class Light {
33 Light(const Light& other) in Light() function
39 Light(Light&& other) in Light() function
45 static Light MakeDirectional(const SkColor3f& color, const SkVector3& dir) { in MakeDirectional()
46 Light light(kDirectional_LightType, color, dir, 0.0f); in MakeDirectional()
53 static Light MakePoint(const SkColor3f& color, const SkPoint3& pos, SkScalar intensity) { in MakePoint()
54 return Light(kPoint_LightType, color, pos, intensity); in MakePoint()
72 Light& operator=(const Light& other) {
84 bool operator==(const Light& other) {
91 bool operator!=(const Light& other) { return !(this->operator==(other)); }
[all …]
DSkLights.cpp41 Light light = Light::MakePoint(color, dirOrPos, intensity); in MakeFromBuffer()
44 Light light = Light::MakeDirectional(color, dirOrPos); in MakeFromBuffer()
66 Light light(fLights[i].type(), xform_color(fLights[i].color(), xformer), in makeColorSpace()
79 const Light& light = this->light(l); in flatten()
81 bool isPoint = Light::kPoint_LightType == light.type(); in flatten()
DSkLightingShader.cpp131 const SkTArray<SkLights::Light>& directionalLights() const { return fDirectionalLights; } in directionalLights()
210 const SkTArray<SkLights::Light>& directionalLights = lightingFP.directionalLights(); in onSetData()
214 for (const SkLights::Light& light : directionalLights) { in onSetData()
233 SkTArray<SkLights::Light> fDirectionalLights;
250 if (SkLights::Light::kDirectional_LightType == lights->light(i).type()) { in LightingFP()
276 SkTArray<SkLights::Light> fDirectionalLights;
393 const SkLights::Light& light = lightShader.fLights->light(l); in shadeSpan()
397 if (SkLights::Light::kDirectional_LightType == light.type()) { in shadeSpan()
/external/mesa3d/src/mesa/program/
Dprog_statevars.c67 const struct gl_material *mat = &ctx->Light.Material; in fetch_state()
106 COPY_4V(value, ctx->Light.Light[ln].Ambient); in fetch_state()
109 COPY_4V(value, ctx->Light.Light[ln].Diffuse); in fetch_state()
112 COPY_4V(value, ctx->Light.Light[ln].Specular); in fetch_state()
115 COPY_4V(value, ctx->Light.Light[ln].EyePosition); in fetch_state()
118 value[0] = ctx->Light.Light[ln].ConstantAttenuation; in fetch_state()
119 value[1] = ctx->Light.Light[ln].LinearAttenuation; in fetch_state()
120 value[2] = ctx->Light.Light[ln].QuadraticAttenuation; in fetch_state()
121 value[3] = ctx->Light.Light[ln].SpotExponent; in fetch_state()
124 COPY_3V(value, ctx->Light.Light[ln].SpotDirection); in fetch_state()
[all …]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv20_state_tnl.c93 unsigned mask = get_material_bitmask(ctx->Light._ColorMaterialBitmask); in nv20_emit_color_material()
96 PUSH_DATA (push, ctx->Light.ColorMaterialEnabled ? mask : 0); in nv20_emit_color_material()
180 struct gl_lightmodel *m = &ctx->Light.Model; in nv20_emit_light_model()
194 PUSH_DATAb(push, ctx->Light.Model.TwoSide); in nv20_emit_light_model()
202 struct gl_light *l = &ctx->Light.Light[i]; in nv20_emit_light_source()
232 (ctx->Light.ColorMaterialEnabled && \
233 ctx->Light._ColorMaterialBitmask & (1 << MAT_ATTRIB_##attr(side)))
240 float (*mat)[4] = ctx->Light.Material.Attrib; in nv20_emit_material_ambient()
246 COPY_3V(c_factor, ctx->Light.Model.Ambient); in nv20_emit_material_ambient()
250 ctx->Light.Model.Ambient); in nv20_emit_material_ambient()
[all …]
Dnv10_state_tnl.c61 unsigned mask = get_material_bitmask(ctx->Light._ColorMaterialBitmask); in nv10_emit_color_material()
64 PUSH_DATA (push, ctx->Light.ColorMaterialEnabled ? mask : 0); in nv10_emit_color_material()
186 en_lights |= get_light_mode(&ctx->Light.Light[i]) << 2 * i; in nv10_emit_light_enable()
191 PUSH_DATAb(push, ctx->Light.Enabled); in nv10_emit_light_enable()
200 struct gl_lightmodel *m = &ctx->Light.Model; in nv10_emit_light_model()
210 (!ctx->Light.Enabled && ctx->Fog.ColorSumEnabled ? in nv10_emit_light_model()
286 struct gl_light *l = &ctx->Light.Light[i]; in nv10_emit_light_source()
316 (ctx->Light.ColorMaterialEnabled && \
317 ctx->Light._ColorMaterialBitmask & (1 << MAT_ATTRIB_FRONT_##attr))
323 float (*mat)[4] = ctx->Light.Material.Attrib; in nv10_emit_material_ambient()
[all …]
/external/mesa3d/src/mesa/tnl/
Dt_vb_lighttmp.h52 GLfloat (*base)[3] = ctx->Light._BaseColor; in TAG()
76 sumA[0] = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3]; in TAG()
81 sumA[1] = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_DIFFUSE][3]; in TAG()
94 sumA[0] = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3]; in TAG()
96 sumA[1] = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_DIFFUSE][3]; in TAG()
109 mask = ctx->Light._EnabledLights; in TAG()
112 struct gl_light *light = &ctx->Light.Light[l]; in TAG()
189 if (ctx->Light.Model.LocalViewer) { in TAG()
239 GLfloat (*base)[3] = ctx->Light._BaseColor; in TAG()
259 sumA[0] = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3]; in TAG()
[all …]
Dt_vb_rendertmp.h85 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) in TAG()
110 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) in TAG()
133 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) in TAG()
141 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) in TAG()
149 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) in TAG()
175 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) in TAG()
182 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) in TAG()
207 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) { in TAG()
233 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) in TAG()
269 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) in TAG()
[all …]
Dt_vb_light.c179 shininess = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_SHININESS][0]; in _tnl_validate_shine_tables()
183 shininess = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_SHININESS][0]; in _tnl_validate_shine_tables()
235 if (ctx->Light.ColorMaterialEnabled) { in prepare_materials()
236 GLbitfield bitmask = ctx->Light._ColorMaterialBitmask; in prepare_materials()
256 store->mat[j].current = ctx->Light.Material.Attrib[attr]; in prepare_materials()
337 if (!ctx->Light.Enabled || ctx->VertexProgram._Current) in run_lighting()
372 if (ctx->Light.Model.TwoSide) in run_lighting()
391 if (!ctx->Light.Enabled || ctx->VertexProgram._Current) in validate_lighting()
394 if (ctx->Light._NeedVertices) { in validate_lighting()
395 if (ctx->Light.Model.ColorControl == GL_SEPARATE_SPECULAR_COLOR) in validate_lighting()
[all …]
/external/skia/src/effects/
DSkEmbossMaskFilter.cpp27 sk_sp<SkMaskFilter> SkEmbossMaskFilter::Make(SkScalar blurSigma, const Light& light) { in Make()
32 Light newLight = light; in Make()
48 SkEmbossMaskFilter::Light light; in MakeEmboss()
63 SkEmbossMaskFilter::SkEmbossMaskFilter(SkScalar blurSigma, const Light& light) in SkEmbossMaskFilter()
109 Light light = fLight; in filterMask()
129 Light light; in CreateProc()
130 if (buffer.readByteArray(&light, sizeof(Light))) { in CreateProc()
139 Light tmpLight = fLight; in flatten()
DSkEmbossMaskFilter.h19 struct Light { struct
26 static sk_sp<SkMaskFilter> Make(SkScalar blurSigma, const Light& light); argument
36 SkEmbossMaskFilter(SkScalar blurSigma, const Light& light);
42 Light fLight;
/external/skqp/src/effects/
DSkEmbossMaskFilter.cpp26 sk_sp<SkMaskFilter> SkEmbossMaskFilter::Make(SkScalar blurSigma, const Light& light) { in Make()
31 Light newLight = light; in Make()
47 SkEmbossMaskFilter::Light light; in MakeEmboss()
62 SkEmbossMaskFilter::SkEmbossMaskFilter(SkScalar blurSigma, const Light& light) in SkEmbossMaskFilter()
108 Light light = fLight; in filterMask()
128 Light light; in CreateProc()
129 if (buffer.readByteArray(&light, sizeof(Light))) { in CreateProc()
138 Light tmpLight = fLight; in flatten()
DSkEmbossMaskFilter.h19 struct Light { struct
26 static sk_sp<SkMaskFilter> Make(SkScalar blurSigma, const Light& light); argument
36 SkEmbossMaskFilter(SkScalar blurSigma, const Light& light);
42 Light fLight;
/external/pigweed/pw_assert/
Dlight_test.cc21 TEST(Light, AssertTrue) { in TEST() argument
28 TEST(Light, DebugAssertTrue) { in TEST() argument
43 TEST(Light, AssertFalse) { in TEST() argument
49 TEST(Light, DebugAssertFalse) { in TEST() argument
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_RetrieveTPUEmbeddingMDLAdagradLightParameters.pbtxt7 Parameter parameters updated by the MDL Adagrad Light optimization algorithm.
13 Parameter accumulators updated by the MDL Adagrad Light optimization algorithm.
19 Parameter weights updated by the MDL Adagrad Light optimization algorithm.
25 Parameter benefits updated by the MDL Adagrad Light optimization algorithm.
28 summary: "Retrieve MDL Adagrad Light embedding parameters."
Dapi_def_LoadTPUEmbeddingMDLAdagradLightParameters.pbtxt7 Value of parameters used in the MDL Adagrad Light optimization algorithm.
13 Value of accumulators used in the MDL Adagrad Light optimization algorithm.
19 Value of weights used in the MDL Adagrad Light optimization algorithm.
25 Value of benefits used in the MDL Adagrad Light optimization algorithm.
28 summary: "Load MDL Adagrad Light embedding parameters."
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_state_init.c217 TCL_CHECK( tcl_lighting, ctx->Light.Enabled, 0 )
218 TCL_CHECK( tcl_lighting_add4, ctx->Light.Enabled, 4 )
219 TCL_CHECK( tcl_eyespace_or_lighting_add4, ctx->_NeedEyeCoords || ctx->Light.Enabled, 4 )
220 TCL_CHECK( tcl_lit0_add6, ctx->Light.Enabled && ctx->Light.Light[0].Enabled, 6 )
221 TCL_CHECK( tcl_lit1_add6, ctx->Light.Enabled && ctx->Light.Light[1].Enabled, 6 )
222 TCL_CHECK( tcl_lit2_add6, ctx->Light.Enabled && ctx->Light.Light[2].Enabled, 6 )
223 TCL_CHECK( tcl_lit3_add6, ctx->Light.Enabled && ctx->Light.Light[3].Enabled, 6 )
224 TCL_CHECK( tcl_lit4_add6, ctx->Light.Enabled && ctx->Light.Light[4].Enabled, 6 )
225 TCL_CHECK( tcl_lit5_add6, ctx->Light.Enabled && ctx->Light.Light[5].Enabled, 6 )
226 TCL_CHECK( tcl_lit6_add6, ctx->Light.Enabled && ctx->Light.Light[6].Enabled, 6 )
[all …]
/external/mesa3d/src/mesa/tnl_dd/
Dt_dd_dmatmp.h319 } else if (ctx->Light.ShadeModel == GL_SMOOTH || in TAG()
320 ctx->Light.ProvokingVertex == GL_FIRST_VERTEX_CONVENTION) { in TAG()
335 if (ctx->Light.ShadeModel == GL_SMOOTH) { in TAG()
373 if (ctx->Light.ShadeModel == GL_SMOOTH || in TAG()
374 ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION) { in TAG()
466 ok = (HAVE_POLYGONS) || ctx->Light.ShadeModel == GL_SMOOTH || in TAG()
467 ctx->Light.ProvokingVertex == GL_FIRST_VERTEX_CONVENTION; in TAG()
470 ok = VB->Elts || ctx->Light.ShadeModel == GL_SMOOTH; in TAG()
473 ok = ctx->Light.ShadeModel == GL_SMOOTH || in TAG()
474 ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION; in TAG()
Dt_dd_unfilled.h48 if (ctx->Light.ShadeModel == GL_FLAT && HAVE_HW_FLATSHADE) { in TAG()
86 if (ctx->Light.ShadeModel == GL_FLAT && HAVE_HW_FLATSHADE) { in TAG()
116 if (ctx->Light.ShadeModel == GL_FLAT && HAVE_HW_FLATSHADE) { in TAG()
149 if (ctx->Light.ShadeModel == GL_FLAT && HAVE_HW_FLATSHADE) { in TAG()
/external/python/cpython3/Tools/pynche/
Dnamedcolors.txt47 Light Blue #C0D9D9
48 Light Grey #A8A8A8
49 Light Steel Blue #8F8FBD
50 Light Wood #E9C2A6
96 Very Light Grey #CDCDCD
/external/python/cpython2/Tools/pynche/
Dnamedcolors.txt47 Light Blue #C0D9D9
48 Light Grey #A8A8A8
49 Light Steel Blue #8F8FBD
50 Light Wood #E9C2A6
96 Very Light Grey #CDCDCD
/external/google-fonts/zilla-slab/
DMETADATA.pb10 filename: "ZillaSlab-Light.ttf"
11 post_script_name: "ZillaSlab-Light"
12 full_name: "Zilla Slab Light"
21 full_name: "Zilla Slab Light Italic"
/external/google-fonts/rubik/
DMETADATA.pb10 filename: "Rubik-Light.ttf"
11 post_script_name: "Rubik-Light"
12 full_name: "Rubik Light"
21 full_name: "Rubik Light Italic"

12345678910