Home
last modified time | relevance | path

Searched refs:light (Results 1 – 25 of 553) sorted by relevance

12345678910>>...23

/external/mesa3d/src/mesa/main/
Dlight.c103 struct gl_light *light; in _mesa_light() local
106 light = &ctx->Light.Light[lnum]; in _mesa_light()
110 if (TEST_EQ_4V(light->Ambient, params)) in _mesa_light()
113 COPY_4V( light->Ambient, params ); in _mesa_light()
116 if (TEST_EQ_4V(light->Diffuse, params)) in _mesa_light()
119 COPY_4V( light->Diffuse, params ); in _mesa_light()
122 if (TEST_EQ_4V(light->Specular, params)) in _mesa_light()
125 COPY_4V( light->Specular, params ); in _mesa_light()
129 if (TEST_EQ_4V(light->EyePosition, params)) in _mesa_light()
132 COPY_4V(light->EyePosition, params); in _mesa_light()
[all …]
Dlight.h48 _mesa_Lightf( GLenum light, GLenum pname, GLfloat param );
51 _mesa_Lightfv( GLenum light, GLenum pname, const GLfloat *params );
54 _mesa_Lightiv( GLenum light, GLenum pname, const GLint *params );
57 _mesa_Lighti( GLenum light, GLenum pname, GLint param );
72 _mesa_GetLightfv( GLenum light, GLenum pname, GLfloat *params );
75 _mesa_GetLightiv( GLenum light, GLenum pname, GLint *params );
/external/mesa3d/src/mesa/tnl/
Dt_vb_lighttmp.h112 struct gl_light *light = &ctx->Light.Light[l]; in TAG() local
123 if (!(light->_Flags & LIGHT_POSITIONAL)) { in TAG()
125 COPY_3V(VP, light->_VP_inf_norm); in TAG()
126 attenuation = light->_VP_inf_spot_attenuation; in TAG()
131 SUB_3V(VP, light->_Position, vertex); in TAG()
140 attenuation = 1.0F / (light->ConstantAttenuation + d * in TAG()
141 (light->LinearAttenuation + d * in TAG()
142 light->QuadraticAttenuation)); in TAG()
145 if (light->_Flags & LIGHT_SPOT) { in TAG()
146 GLfloat PV_dot_dir = - DOT3(VP, light->_NormSpotDirection); in TAG()
[all …]
/external/skia/src/effects/
DSkEmbossMaskFilter.cpp26 sk_sp<SkMaskFilter> SkEmbossMaskFilter::Make(SkScalar blurSigma, const Light& light) { in Make() argument
31 Light newLight = light; in Make()
32 normalize3(newLight.fDirection, light.fDirection); in Make()
47 SkEmbossMaskFilter::Light light; in MakeEmboss() local
49 memcpy(light.fDirection, direction, sizeof(light.fDirection)); in MakeEmboss()
51 light.fAmbient = SkUnitScalarClampToByte(ambient); in MakeEmboss()
54 light.fSpecular = static_cast<U8CPU>(SkScalarPin(specular, 0, 16) * kSpecularMultiplier + 0.5); in MakeEmboss()
56 return SkEmbossMaskFilter::Make(blurSigma, light); in MakeEmboss()
62 SkEmbossMaskFilter::SkEmbossMaskFilter(SkScalar blurSigma, const Light& light) in SkEmbossMaskFilter() argument
63 : fLight(light), fBlurSigma(blurSigma) in SkEmbossMaskFilter()
[all …]
DSkEmbossMask.cpp48 void SkEmbossMask::Emboss(SkMask* mask, const SkEmbossMaskFilter::Light& light) { in Emboss() argument
51 int specular = light.fSpecular; in Emboss()
52 int ambient = light.fAmbient; in Emboss()
53 SkFixed lx = SkScalarToFixed(light.fDirection[0]); in Emboss()
54 SkFixed ly = SkScalarToFixed(light.fDirection[1]); in Emboss()
55 SkFixed lz = SkScalarToFixed(light.fDirection[2]); in Emboss()
/external/skqp/src/effects/
DSkEmbossMaskFilter.cpp26 sk_sp<SkMaskFilter> SkEmbossMaskFilter::Make(SkScalar blurSigma, const Light& light) { in Make() argument
31 Light newLight = light; in Make()
32 normalize3(newLight.fDirection, light.fDirection); in Make()
47 SkEmbossMaskFilter::Light light; in MakeEmboss() local
49 memcpy(light.fDirection, direction, sizeof(light.fDirection)); in MakeEmboss()
51 light.fAmbient = SkUnitScalarClampToByte(ambient); in MakeEmboss()
54 light.fSpecular = static_cast<U8CPU>(SkScalarPin(specular, 0, 16) * kSpecularMultiplier + 0.5); in MakeEmboss()
56 return SkEmbossMaskFilter::Make(blurSigma, light); in MakeEmboss()
62 SkEmbossMaskFilter::SkEmbossMaskFilter(SkScalar blurSigma, const Light& light) in SkEmbossMaskFilter() argument
63 : fLight(light), fBlurSigma(blurSigma) in SkEmbossMaskFilter()
[all …]
DSkEmbossMask.cpp48 void SkEmbossMask::Emboss(SkMask* mask, const SkEmbossMaskFilter::Light& light) { in Emboss() argument
51 int specular = light.fSpecular; in Emboss()
52 int ambient = light.fAmbient; in Emboss()
53 SkFixed lx = SkScalarToFixed(light.fDirection[0]); in Emboss()
54 SkFixed ly = SkScalarToFixed(light.fDirection[1]); in Emboss()
55 SkFixed lz = SkScalarToFixed(light.fDirection[2]); in Emboss()
/external/unicode/
Demoji-zwj-sequences.txt44 …F468 1F3FB ; Emoji_ZWJ_Sequence ; men holding hands: medium-light skin tone, light skin tone …
45 …68 1F3FB ; Emoji_ZWJ_Sequence ; men holding hands: medium skin tone, light skin tone …
46 …C ; Emoji_ZWJ_Sequence ; men holding hands: medium skin tone, medium-light skin tone # 9.…
47 …3FB ; Emoji_ZWJ_Sequence ; men holding hands: medium-dark skin tone, light skin tone # …
48 … ; Emoji_ZWJ_Sequence ; men holding hands: medium-dark skin tone, medium-light skin tone #9.0 [1…
50 …F468 1F3FB ; Emoji_ZWJ_Sequence ; men holding hands: dark skin tone, light skin tone …
51 …3FC ; Emoji_ZWJ_Sequence ; men holding hands: dark skin tone, medium-light skin tone # …
68 …F3FC ; Emoji_ZWJ_Sequence ; woman and man holding hands: light skin tone, medium-light skin t…
69 …200D 1F468 1F3FD ; Emoji_ZWJ_Sequence ; woman and man holding hands: light skin tone, medium …
70 …200D 1F468 1F3FE ; Emoji_ZWJ_Sequence ; woman and man holding hands: light skin tone, medium-…
[all …]
Demoji-sequences.txt686 261D 1F3FB ; Emoji_Modifier_Sequence ; index pointing up: light skin tone …
687 261D 1F3FC ; Emoji_Modifier_Sequence ; index pointing up: medium-light skin tone …
691 26F9 1F3FB ; Emoji_Modifier_Sequence ; person bouncing ball: light skin tone …
692 26F9 1F3FC ; Emoji_Modifier_Sequence ; person bouncing ball: medium-light skin tone …
696 270A 1F3FB ; Emoji_Modifier_Sequence ; raised fist: light skin tone …
697 270A 1F3FC ; Emoji_Modifier_Sequence ; raised fist: medium-light skin tone …
701 270B 1F3FB ; Emoji_Modifier_Sequence ; raised hand: light skin tone …
702 270B 1F3FC ; Emoji_Modifier_Sequence ; raised hand: medium-light skin tone …
706 270C 1F3FB ; Emoji_Modifier_Sequence ; victory hand: light skin tone …
707 270C 1F3FC ; Emoji_Modifier_Sequence ; victory hand: medium-light skin tone …
[all …]
Demoji-test.txt232 1F44B 1F3FB ; fully-qualified # ���� waving hand: light skin tone
233 1F44B 1F3FC ; fully-qualified # ���� waving hand: medium-light s…
238 1F91A 1F3FB ; fully-qualified # ���� raised back of hand: light
239 … ; fully-qualified # ���� raised back of hand: medium-light skin tone
245 … ; fully-qualified # ���� hand with fingers splayed: light skin tone
246 … ; fully-qualified # ���� hand with fingers splayed: medium-light skin tone
251 270B 1F3FB ; fully-qualified # ✋�� raised hand: light skin tone
252 270B 1F3FC ; fully-qualified # ✋�� raised hand: medium-light sk…
257 1F596 1F3FB ; fully-qualified # ���� vulcan salute: light skin t…
258 1F596 1F3FC ; fully-qualified # ���� vulcan salute: medium-light
[all …]
/external/skia/tools/doxygen/
Dcustomdoxygen.css11 --light-blue: rgb(128,185,217);
12 --light-green: rgb(128,207,185);
13 --light-red: rgb(234,175,128);
14 --light-orange: rgb(243,207,128);
15 --light-purple: rgb(230,188,211);
16 --light-brown: rgb(216,172,148);
17 --light-gray: rgb(168,168,168);
43 background-color: var(--light-gray);
44 border: 1px solid var(--light-blue);
56 background-color: var(--light-gray);
[all …]
/external/skia/src/shaders/
DSkLights.cpp41 Light light = Light::MakePoint(color, dirOrPos, intensity); in MakeFromBuffer() local
42 builder.add(light); in MakeFromBuffer()
44 Light light = Light::MakeDirectional(color, dirOrPos); in MakeFromBuffer() local
45 builder.add(light); in MakeFromBuffer()
66 Light light(fLights[i].type(), xform_color(fLights[i].color(), xformer), in makeColorSpace() local
68 builder.add(light); in makeColorSpace()
79 const Light& light = this->light(l); in flatten() local
81 bool isPoint = Light::kPoint_LightType == light.type(); in flatten()
84 buf.writeScalarArray(&light.color().fX, 3); in flatten()
85 buf.writeScalarArray(&light.dir().fX, 3); in flatten()
[all …]
DSkLights.h46 Light light(kDirectional_LightType, color, dir, 0.0f); in MakeDirectional()
47 if (!light.fDirOrPos.normalize()) { in MakeDirectional()
48 light.fDirOrPos.set(0.0f, 0.0f, 1.0f); in MakeDirectional()
50 return light; in MakeDirectional()
119 void add(const Light& light) { in add() argument
121 fLights->fLights.push_back(light); in add()
125 void add(Light&& light) { in add() argument
127 fLights->fLights.push_back(std::move(light)); in add()
156 const Light& light(int index) const { return fLights[index]; } in light() function
/external/skqp/src/shaders/
DSkLights.cpp41 Light light = Light::MakePoint(color, dirOrPos, intensity); in MakeFromBuffer() local
42 builder.add(light); in MakeFromBuffer()
44 Light light = Light::MakeDirectional(color, dirOrPos); in MakeFromBuffer() local
45 builder.add(light); in MakeFromBuffer()
66 Light light(fLights[i].type(), xform_color(fLights[i].color(), xformer), in makeColorSpace() local
68 builder.add(light); in makeColorSpace()
79 const Light& light = this->light(l); in flatten() local
81 bool isPoint = Light::kPoint_LightType == light.type(); in flatten()
84 buf.writeScalarArray(&light.color().fX, 3); in flatten()
85 buf.writeScalarArray(&light.dir().fX, 3); in flatten()
[all …]
DSkLights.h46 Light light(kDirectional_LightType, color, dir, 0.0f); in MakeDirectional()
47 if (!light.fDirOrPos.normalize()) { in MakeDirectional()
48 light.fDirOrPos.set(0.0f, 0.0f, 1.0f); in MakeDirectional()
50 return light; in MakeDirectional()
119 void add(const Light& light) { in add() argument
121 fLights->fLights.push_back(light); in add()
125 void add(Light&& light) { in add() argument
127 fLights->fLights.push_back(std::move(light)); in add()
156 const Light& light(int index) const { return fLights[index]; } in light() function
/external/icu/icu4c/source/test/testdata/
Demoji-test.txt153 1F476 1F3FB ; fully-qualified # ���� baby: light skin tone
154 1F476 1F3FC ; fully-qualified # ���� baby: medium-light skin tone
159 1F9D2 1F3FB ; fully-qualified # ���� child: light skin tone
160 1F9D2 1F3FC ; fully-qualified # ���� child: medium-light skin to…
165 1F466 1F3FB ; fully-qualified # ���� boy: light skin tone
166 1F466 1F3FC ; fully-qualified # ���� boy: medium-light skin tone
171 1F467 1F3FB ; fully-qualified # ���� girl: light skin tone
172 1F467 1F3FC ; fully-qualified # ���� girl: medium-light skin tone
177 1F9D1 1F3FB ; fully-qualified # ���� adult: light skin tone
178 1F9D1 1F3FC ; fully-qualified # ���� adult: medium-light skin to…
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/data/emoji/
Demoji-test.txt159 1F476 1F3FB ; fully-qualified # ���� baby: light skin tone
160 1F476 1F3FC ; fully-qualified # ���� baby: medium-light skin tone
165 1F9D2 1F3FB ; fully-qualified # ���� child: light skin tone
166 1F9D2 1F3FC ; fully-qualified # ���� child: medium-light skin to…
171 1F466 1F3FB ; fully-qualified # ���� boy: light skin tone
172 1F466 1F3FC ; fully-qualified # ���� boy: medium-light skin tone
177 1F467 1F3FB ; fully-qualified # ���� girl: light skin tone
178 1F467 1F3FC ; fully-qualified # ���� girl: medium-light skin tone
183 1F9D1 1F3FB ; fully-qualified # ���� person: light skin tone
184 1F9D1 1F3FC ; fully-qualified # ���� person: medium-light skin t…
[all …]
/external/skqp/src/effects/imagefilters/
DSkLightingImageFilter.cpp148 virtual SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight,
156 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, in light() function in DiffuseLightingType
178 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, in light() function in SpecularLightingType
302 *dptr++ = lightingType.light(topLeftNormal(m, surfaceScale), surfaceToLight, in lightBitmap()
310 *dptr++ = lightingType.light(topNormal(m, surfaceScale), surfaceToLight, in lightBitmap()
315 *dptr++ = lightingType.light(topRightNormal(m, surfaceScale), surfaceToLight, in lightBitmap()
329 *dptr++ = lightingType.light(leftNormal(m, surfaceScale), surfaceToLight, in lightBitmap()
337 *dptr++ = lightingType.light(interiorNormal(m, surfaceScale), surfaceToLight, in lightBitmap()
342 *dptr++ = lightingType.light(rightNormal(m, surfaceScale), surfaceToLight, in lightBitmap()
354 *dptr++ = lightingType.light(bottomLeftNormal(m, surfaceScale), surfaceToLight, in lightBitmap()
[all …]
/external/skia/src/effects/imagefilters/
DSkLightingImageFilter.cpp150 virtual SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight,
158 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, in light() function in DiffuseLightingType
180 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, in light() function in SpecularLightingType
304 *dptr++ = lightingType.light(topLeftNormal(m, surfaceScale), surfaceToLight, in lightBitmap()
312 *dptr++ = lightingType.light(topNormal(m, surfaceScale), surfaceToLight, in lightBitmap()
317 *dptr++ = lightingType.light(topRightNormal(m, surfaceScale), surfaceToLight, in lightBitmap()
331 *dptr++ = lightingType.light(leftNormal(m, surfaceScale), surfaceToLight, in lightBitmap()
339 *dptr++ = lightingType.light(interiorNormal(m, surfaceScale), surfaceToLight, in lightBitmap()
344 *dptr++ = lightingType.light(rightNormal(m, surfaceScale), surfaceToLight, in lightBitmap()
356 *dptr++ = lightingType.light(bottomLeftNormal(m, surfaceScale), surfaceToLight, in lightBitmap()
[all …]
/external/swiftshader/src/Renderer/
DVertexProcessor.cpp262 void VertexProcessor::setLightEnable(unsigned int light, bool lightEnable) in setLightEnable() argument
264 if(light < 8) in setLightEnable()
266 context->setLightEnable(light, lightEnable); in setLightEnable()
280 void VertexProcessor::setLightPosition(unsigned int light, const Point &lightPosition) in setLightPosition() argument
282 if(light < 8) in setLightPosition()
284 context->setLightPosition(light, lightPosition); in setLightPosition()
291 void VertexProcessor::setLightDiffuse(unsigned int light, const Color<float> &lightDiffuse) in setLightDiffuse() argument
293 if(light < 8) in setLightDiffuse()
295 ff.lightDiffuse[light][0] = lightDiffuse.r; in setLightDiffuse()
296 ff.lightDiffuse[light][1] = lightDiffuse.g; in setLightDiffuse()
[all …]
/external/python/cpython2/Tools/pynche/X/
Drgb.txt55 119 136 153 light slate gray
57 119 136 153 light slate grey
61 211 211 211 light grey
63 211 211 211 light gray
78 132 112 255 light slate blue
91 135 206 250 light sky blue
95 176 196 222 light steel blue
97 173 216 230 light blue
109 224 255 255 light cyan
126 32 178 170 light sea green
[all …]
/external/python/cpython3/Tools/pynche/X/
Drgb.txt55 119 136 153 light slate gray
57 119 136 153 light slate grey
61 211 211 211 light grey
63 211 211 211 light gray
78 132 112 255 light slate blue
91 135 206 250 light sky blue
95 176 196 222 light steel blue
97 173 216 230 light blue
109 224 255 255 light cyan
126 32 178 170 light sea green
[all …]
/external/swiftshader/src/D3D8/
DDirect3DDevice8.hpp135 long __stdcall SetLight(unsigned long index, const D3DLIGHT8 *light) override;
192 Light &operator=(const D3DLIGHT8 &light) in operator =()
194 Type = light.Type; in operator =()
195 Diffuse = light.Diffuse; in operator =()
196 Specular = light.Specular; in operator =()
197 Ambient = light.Ambient; in operator =()
198 Position = light.Position; in operator =()
199 Direction = light.Direction; in operator =()
200 Range = light.Range; in operator =()
201 Falloff = light.Falloff; in operator =()
[all …]
/external/autotest/client/site_tests/hardware_LightSensor/
Dcontrol9 Fails if the light sensor kernel module is not loaded, or its sys files
19 This tests the interface provided by the light sensor kernel module for
20 controlling various light sensors (TSL2560/1/2/3, ISL29018, etc)
21 light-to-digital converters (ie, light sensor chips).
/external/swiftshader/src/D3D9/
DDirect3DDevice9.hpp151 long __stdcall SetLight(unsigned long index, const D3DLIGHT9 *light) override;
226 Light &operator=(const D3DLIGHT9 &light) in operator =()
228 Type = light.Type; in operator =()
229 Diffuse = light.Diffuse; in operator =()
230 Specular = light.Specular; in operator =()
231 Ambient = light.Ambient; in operator =()
232 Position = light.Position; in operator =()
233 Direction = light.Direction; in operator =()
234 Range = light.Range; in operator =()
235 Falloff = light.Falloff; in operator =()
[all …]

12345678910>>...23