Searched refs:light (Results 1 - 25 of 212) sorted by relevance

123456789

/external/clang/test/Index/
H A Dprint-bitwidth.c10 unsigned light : 1; member in struct:X
22 // CHECK: FieldDecl=light:10:12 (Definition) bitwidth=1
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
H A DLightControl.java36 import com.jme3.light.DirectionalLight;
37 import com.jme3.light.Light;
38 import com.jme3.light.PointLight;
63 * to the Transform of the light.
67 private Light light; field in class:LightControl
77 * @param light The light to be synced.
79 public LightControl(Light light) { argument
80 this.light = light;
86 LightControl(Light light, ControlDirection controlDir) argument
95 setLight(Light light) argument
122 spatialTolight(Light light) argument
140 lightToSpatial(Light light) argument
[all...]
/external/qemu/android/
H A Dhw-control.h18 * of a given light. 'light' is a string which can be one of:
26 const char* light,
/external/qemu/android/protocol/
H A Dui-commands-api.h34 const char* light,
H A Dui-commands.h41 char light[0]; member in struct:UICmdChangeDispBrightness
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
H A DLightNode.java34 import com.jme3.light.Light;
54 public LightNode(String name, Light light) { argument
55 this(name, new LightControl(light));
82 public void setLight(Light light) { argument
83 lightControl.setLight(light);
/external/chromium_org/third_party/skia/src/effects/
H A DSkEmbossMaskFilter.cpp45 SkEmbossMaskFilter::Light light; local
47 memcpy(light.fDirection, direction, sizeof(light.fDirection));
48 light.fAmbient = SkToU8(am);
49 light.fSpecular = SkToU8(sp);
51 return SkNEW_ARGS(SkEmbossMaskFilter, (blurSigma, light));
65 SkEmbossMaskFilter::SkEmbossMaskFilter(SkScalar blurSigma, const Light& light) argument
66 : fLight(light), fBlurSigma(blurSigma) {
70 SkEmbossMaskFilter::SkEmbossMaskFilter(const Light& light, SkScalar blurRadius) argument
71 : fLight(light) {
113 Light light = fLight; local
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/light/
H A DAmbientLight.java1 package com.jme3.light;
6 * An ambient light adds a constant color to the scene.
10 * multiplied by the ambient light color to get the final ambient color of
/external/skia/src/effects/
H A DSkEmbossMaskFilter.cpp45 SkEmbossMaskFilter::Light light; local
47 memcpy(light.fDirection, direction, sizeof(light.fDirection));
48 light.fAmbient = SkToU8(am);
49 light.fSpecular = SkToU8(sp);
51 return SkNEW_ARGS(SkEmbossMaskFilter, (blurSigma, light));
65 SkEmbossMaskFilter::SkEmbossMaskFilter(SkScalar blurSigma, const Light& light) argument
66 : fLight(light), fBlurSigma(blurSigma) {
70 SkEmbossMaskFilter::SkEmbossMaskFilter(const Light& light, SkScalar blurRadius) argument
71 : fLight(light) {
113 Light light = fLight; local
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/
H A Dt_vb_lighttmp.h91 struct gl_light *light; local
109 /* Add contribution from each enabled light source */
110 foreach (light, &ctx->Light.EnabledList) {
116 GLfloat VP[3]; /* unit vector from vertex to light */
121 if (!(light->_Flags & LIGHT_POSITIONAL)) {
122 /* directional light */
123 COPY_3V(VP, light->_VP_inf_norm);
124 attenuation = light->_VP_inf_spot_attenuation;
127 GLfloat d; /* distance from vertex to light */
129 SUB_3V(VP, light
269 struct gl_light *light; local
423 const struct gl_light *light = ctx->Light.EnabledList.next; local
534 const struct gl_light *light; local
[all...]
H A Dt_rasterpos.c29 #include "main/light.h"
123 const struct gl_light *light; local
131 foreach (light, &ctx->Light.EnabledList) {
133 GLfloat VP[3]; /* vector from vertex to light pos */
137 if (!(light->_Flags & LIGHT_POSITIONAL)) {
138 /* light at infinity */
139 COPY_3V(VP, light->_VP_inf_norm);
140 attenuation = light->_VP_inf_spot_attenuation;
143 /* local/positional light */
146 /* VP = vector from vertex pos to light[
[all...]
/external/mesa3d/src/mesa/tnl/
H A Dt_vb_lighttmp.h91 struct gl_light *light; local
109 /* Add contribution from each enabled light source */
110 foreach (light, &ctx->Light.EnabledList) {
116 GLfloat VP[3]; /* unit vector from vertex to light */
121 if (!(light->_Flags & LIGHT_POSITIONAL)) {
122 /* directional light */
123 COPY_3V(VP, light->_VP_inf_norm);
124 attenuation = light->_VP_inf_spot_attenuation;
127 GLfloat d; /* distance from vertex to light */
129 SUB_3V(VP, light
269 struct gl_light *light; local
423 const struct gl_light *light = ctx->Light.EnabledList.next; local
534 const struct gl_light *light; local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11gears/
H A Dd3d11gears.hlsl31 float4 light;
48 float3 light : LIGHT;
57 result.light = light - view;
66 float3 nlight = normalize(input.light);
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11gears/
H A Dd3d11gears.hlsl31 float4 light;
48 float3 light : LIGHT;
57 result.light = light - view;
66 float3 nlight = normalize(input.light);
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestalpha.c62 /* Create a "light" -- a yellowish surface with variable alpha */
71 SDL_Surface *light; local
79 light = SDL_CreateRGBSurface(SDL_SWSURFACE, 2*radius, 2*radius, 16,
86 light = SDL_CreateRGBSurface(SDL_SWSURFACE, 2*radius, 2*radius, 32,
88 if ( light == NULL ) {
89 fprintf(stderr, "Couldn't create light: %s\n", SDL_GetError());
94 /* Fill with a light yellow-orange color */
95 skip = light->pitch-(light->w*light
153 FlashLight(SDL_Surface *screen, SDL_Surface *light, int x, int y) argument
247 MoveSprite(SDL_Surface *screen, SDL_Surface *light) argument
331 SDL_Surface *light; local
[all...]
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
H A DSceneLoader.java36 import com.jme3.light.DirectionalLight;
37 import com.jme3.light.Light;
38 import com.jme3.light.PointLight;
39 import com.jme3.light.SpotLight;
74 private Light light; field in class:SceneLoader
100 light = null;
145 checkTopNode("light");
148 if (light instanceof DirectionalLight)
149 ((DirectionalLight) light).setDirection(parseVector3(attribs));
150 else if (light instanceo
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dlight.c31 #include "light.h"
96 * per-light state.
104 struct gl_light *light; local
107 light = &ctx->Light.Light[lnum];
111 if (TEST_EQ_4V(light->Ambient, params))
114 COPY_4V( light->Ambient, params );
117 if (TEST_EQ_4V(light->Diffuse, params))
120 COPY_4V( light->Diffuse, params );
123 if (TEST_EQ_4V(light->Specular, params))
126 COPY_4V( light
200 _mesa_Lightf( GLenum light, GLenum pname, GLfloat param ) argument
210 _mesa_Lightfv( GLenum light, GLenum pname, const GLfloat *params ) argument
282 _mesa_Lighti( GLenum light, GLenum pname, GLint param ) argument
292 _mesa_Lightiv( GLenum light, GLenum pname, const GLint *params ) argument
334 _mesa_GetLightfv( GLenum light, GLenum pname, GLfloat *params ) argument
384 _mesa_GetLightiv( GLenum light, GLenum pname, GLint *params ) argument
634 struct gl_light *light, *list = &ctx->Light.EnabledList; local
887 struct gl_light *light; local
949 struct gl_light *light; local
[all...]
H A Dlight.h50 _mesa_Lightf( GLenum light, GLenum pname, GLfloat param );
53 _mesa_Lightfv( GLenum light, GLenum pname, const GLfloat *params );
56 _mesa_Lightiv( GLenum light, GLenum pname, const GLint *params );
59 _mesa_Lighti( GLenum light, GLenum pname, GLint param );
74 _mesa_GetLightfv( GLenum light, GLenum pname, GLfloat *params );
77 _mesa_GetLightiv( GLenum light, GLenum pname, GLint *params );
/external/mesa3d/src/mesa/main/
H A Dlight.c31 #include "light.h"
96 * per-light state.
104 struct gl_light *light; local
107 light = &ctx->Light.Light[lnum];
111 if (TEST_EQ_4V(light->Ambient, params))
114 COPY_4V( light->Ambient, params );
117 if (TEST_EQ_4V(light->Diffuse, params))
120 COPY_4V( light->Diffuse, params );
123 if (TEST_EQ_4V(light->Specular, params))
126 COPY_4V( light
200 _mesa_Lightf( GLenum light, GLenum pname, GLfloat param ) argument
210 _mesa_Lightfv( GLenum light, GLenum pname, const GLfloat *params ) argument
282 _mesa_Lighti( GLenum light, GLenum pname, GLint param ) argument
292 _mesa_Lightiv( GLenum light, GLenum pname, const GLint *params ) argument
334 _mesa_GetLightfv( GLenum light, GLenum pname, GLfloat *params ) argument
384 _mesa_GetLightiv( GLenum light, GLenum pname, GLint *params ) argument
634 struct gl_light *light, *list = &ctx->Light.EnabledList; local
887 struct gl_light *light; local
949 struct gl_light *light; local
[all...]
H A Dlight.h50 _mesa_Lightf( GLenum light, GLenum pname, GLfloat param );
53 _mesa_Lightfv( GLenum light, GLenum pname, const GLfloat *params );
56 _mesa_Lightiv( GLenum light, GLenum pname, const GLint *params );
59 _mesa_Lighti( GLenum light, GLenum pname, GLint param );
74 _mesa_GetLightfv( GLenum light, GLenum pname, GLfloat *params );
77 _mesa_GetLightiv( GLenum light, GLenum pname, GLint *params );
/external/jmonkeyengine/engine/src/core/com/jme3/shadow/
H A DShadowCamera.java34 import com.jme3.light.DirectionalLight;
35 import com.jme3.light.Light;
36 import com.jme3.light.PointLight;
41 * Creates a camera according to a light
42 * Handy to compute projection matrix of a light
58 * Updates the camera view direction and position based on the light
/external/jmonkeyengine/engine/src/test/jme3test/texture/
H A DTestTexture3D.java9 import com.jme3.light.PointLight;
73 //add some light so that it is visible
74 PointLight light = new PointLight();
75 light.setColor(ColorRGBA.White);
76 light.setPosition(new Vector3f(5, 5, 5));
77 light.setRadius(20);
78 rootNode.addLight(light);
79 light = new PointLight();
80 light.setColor(ColorRGBA.White);
81 light
[all...]
/external/jmonkeyengine/engine/src/test/jme3test/light/
H A DTestManyLights.java33 package jme3test.light;
/external/chromium_org/third_party/skia/include/effects/
H A DSkEmbossMaskFilter.h15 This mask filter creates a 3D emboss look, by specifying a light and blur amount.
26 SkEmbossMaskFilter(SkScalar blurSigma, const Light& light);
29 SkEmbossMaskFilter(const Light& light, SkScalar blurRadius);
/external/skia/include/effects/
H A DSkEmbossMaskFilter.h15 This mask filter creates a 3D emboss look, by specifying a light and blur amount.
26 SkEmbossMaskFilter(SkScalar blurSigma, const Light& light);
29 SkEmbossMaskFilter(const Light& light, SkScalar blurRadius);

Completed in 819 milliseconds

123456789