/external/clang/test/Index/ |
H A D | print-bitwidth.c | 10 unsigned light : 1; member in struct:X 22 // CHECK: FieldDecl=light:10:12 (Definition) bitwidth=1
|
/external/qemu/android/ |
H A D | hw-control.h | 18 * of a given light. 'light' is a string which can be one of: 26 const char* light,
|
/external/chromium_org/third_party/skia/src/effects/ |
H A D | SkEmbossMaskFilter.cpp | 16 SkEmbossMaskFilter* SkEmbossMaskFilter::Create(SkScalar blurSigma, const Light& light) { argument 17 return SkNEW_ARGS(SkEmbossMaskFilter, (blurSigma, light)); 48 SkEmbossMaskFilter::Light light; local 50 memcpy(light.fDirection, direction, sizeof(light.fDirection)); 51 light.fAmbient = SkToU8(am); 52 light.fSpecular = SkToU8(sp); 54 return SkEmbossMaskFilter::Create(blurSigma, light); 68 SkEmbossMaskFilter::SkEmbossMaskFilter(SkScalar blurSigma, const Light& light) argument 69 : fLight(light), fBlurSigm 108 Light light = fLight; local 137 Light light; local [all...] |
H A D | SkEmbossMask.cpp | 81 void SkEmbossMask::Emboss(SkMask* mask, const SkEmbossMaskFilter::Light& light) { argument 86 int specular = light.fSpecular; 87 int ambient = light.fAmbient; 88 SkFixed lx = SkScalarToFixed(light.fDirection[0]); 89 SkFixed ly = SkScalarToFixed(light.fDirection[1]); 90 SkFixed lz = SkScalarToFixed(light.fDirection[2]); 143 // value in the light, and just pass that in to this function.
|
H A D | SkLightingImageFilter.cpp | 65 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, function in class:__anon15209::DiffuseLightingType 83 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, function in class:__anon15209::SpecularLightingType 170 const LightingType& lightingType, const SkLight* light, const SkBitmap& src, SkBitmap* dst, 173 const LightType* l = static_cast<const LightType*>(light); 188 *dptr++ = lightingType.light(topLeftNormal(m, surfaceScale), surfaceToLight, 196 *dptr++ = lightingType.light(topNormal(m, surfaceScale), surfaceToLight, 201 *dptr++ = lightingType.light(topRightNormal(m, surfaceScale), surfaceToLight, 218 *dptr++ = lightingType.light(leftNormal(m, surfaceScale), surfaceToLight, 226 *dptr++ = lightingType.light(interiorNormal(m, surfaceScale), surfaceToLight, 231 *dptr++ = lightingType.light(rightNorma 169 lightBitmap( const LightingType& lightingType, const SkLight* light, const SkBitmap& src, SkBitmap* dst, SkScalar surfaceScale, const SkIRect& bounds) argument 349 const SkLight* light() const { return fLight; } function in class:__anon15209::GrLightingEffect 371 Create(GrTexture* texture, const SkLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar kd) argument 406 Create(GrTexture* texture, const SkLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar ks, SkScalar shininess) argument 864 SkLightingImageFilter(SkLight* light, SkScalar surfaceScale, SkImageFilter* input, const CropRect* cropRect, uint32_t uniqueID) argument 962 Create(SkLight* light, SkScalar surfaceScale, SkScalar kd, SkImageFilter* input, const CropRect* cropRect, uint32_t uniqueID) argument 978 SkDiffuseLightingImageFilter(SkLight* light, SkScalar surfaceScale, SkScalar kd, SkImageFilter* input, const CropRect* cropRect, uint32_t uniqueID) argument 1075 Create(SkLight* light, SkScalar surfaceScale, SkScalar ks, SkScalar shininess, SkImageFilter* input, const CropRect* cropRect, uint32_t uniqueID) argument 1092 SkSpecularLightingImageFilter(SkLight* light, SkScalar surfaceScale, SkScalar ks, SkScalar shininess, SkImageFilter* input, const CropRect* cropRect, uint32_t uniqueID) argument 1288 GrLightingEffect(GrTexture* texture, const SkLight* light, SkScalar surfaceScale, const SkMatrix& matrix) argument 1315 GrDiffuseLightingEffect(GrTexture* texture, const SkLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar kd) argument 1518 GrSpecularLightingEffect(GrTexture* texture, const SkLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar ks, SkScalar shininess) argument [all...] |
/external/skia/src/effects/ |
H A D | SkEmbossMaskFilter.cpp | 16 SkEmbossMaskFilter* SkEmbossMaskFilter::Create(SkScalar blurSigma, const Light& light) { argument 17 return SkNEW_ARGS(SkEmbossMaskFilter, (blurSigma, light)); 48 SkEmbossMaskFilter::Light light; local 50 memcpy(light.fDirection, direction, sizeof(light.fDirection)); 51 light.fAmbient = SkToU8(am); 52 light.fSpecular = SkToU8(sp); 54 return SkEmbossMaskFilter::Create(blurSigma, light); 68 SkEmbossMaskFilter::SkEmbossMaskFilter(SkScalar blurSigma, const Light& light) argument 69 : fLight(light), fBlurSigm 108 Light light = fLight; local [all...] |
H A D | SkEmbossMask.cpp | 81 void SkEmbossMask::Emboss(SkMask* mask, const SkEmbossMaskFilter::Light& light) { argument 86 int specular = light.fSpecular; 87 int ambient = light.fAmbient; 88 SkFixed lx = SkScalarToFixed(light.fDirection[0]); 89 SkFixed ly = SkScalarToFixed(light.fDirection[1]); 90 SkFixed lz = SkScalarToFixed(light.fDirection[2]); 143 // value in the light, and just pass that in to this function.
|
H A D | SkLightingImageFilter.cpp | 62 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, const SkPoint3& lightColor) const { function in class:__anon30618::DiffuseLightingType 79 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, const SkPoint3& lightColor) const { function in class:__anon30618::SpecularLightingType 164 template <class LightingType, class LightType> void lightBitmap(const LightingType& lightingType, const SkLight* light, const SkBitmap& src, SkBitmap* dst, SkScalar surfaceScale, const SkIRect& bounds) { argument 166 const LightType* l = static_cast<const LightType*>(light); 181 *dptr++ = lightingType.light(topLeftNormal(m, surfaceScale), surfaceToLight, l->lightColor(surfaceToLight)); 188 *dptr++ = lightingType.light(topNormal(m, surfaceScale), surfaceToLight, l->lightColor(surfaceToLight)); 192 *dptr++ = lightingType.light(topRightNormal(m, surfaceScale), surfaceToLight, l->lightColor(surfaceToLight)); 208 *dptr++ = lightingType.light(leftNormal(m, surfaceScale), surfaceToLight, l->lightColor(surfaceToLight)); 215 *dptr++ = lightingType.light(interiorNormal(m, surfaceScale), surfaceToLight, l->lightColor(surfaceToLight)); 219 *dptr++ = lightingType.light(rightNorma 315 const SkLight* light() const { return fLight; } function in class:__anon30618::GrLightingEffect 337 Create(GrTexture* texture, const SkLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar kd) argument 373 Create(GrTexture* texture, const SkLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar ks, SkScalar shininess) argument 832 SkLightingImageFilter(SkLight* light, SkScalar surfaceScale, SkImageFilter* input, const CropRect* cropRect) argument 914 SkDiffuseLightingImageFilter(SkLight* light, SkScalar surfaceScale, SkScalar kd, SkImageFilter* input, const CropRect* cropRect = NULL) argument 1000 SkSpecularLightingImageFilter(SkLight* light, SkScalar surfaceScale, SkScalar ks, SkScalar shininess, SkImageFilter* input, const CropRect* cropRect) argument 1187 GrLightingEffect(GrTexture* texture, const SkLight* light, SkScalar surfaceScale, const SkMatrix& matrix) argument 1214 GrDiffuseLightingEffect(GrTexture* texture, const SkLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar kd) argument 1416 GrSpecularLightingEffect(GrTexture* texture, const SkLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar ks, SkScalar shininess) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
H A D | t_vb_lighttmp.h | 91 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 D | t_rasterpos.c | 29 #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 D | t_vb_lighttmp.h | 91 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 D | t_rasterpos.c | 29 #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/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11gears/ |
H A D | d3d11gears.hlsl | 31 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 D | d3d11gears.hlsl | 31 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 D | testalpha.c | 62 /* 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/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | light.c | 31 #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 D | light.h | 50 _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 D | light.c | 31 #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 D | light.h | 50 _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/chromium_org/third_party/skia/include/effects/ |
H A D | SkEmbossMaskFilter.h | 15 This mask filter creates a 3D emboss look, by specifying a light and blur amount. 26 static SkEmbossMaskFilter* Create(SkScalar blurSigma, const Light& light); 39 SkEmbossMaskFilter(SkScalar blurSigma, const Light& light);
|
/external/skia/include/effects/ |
H A D | SkEmbossMaskFilter.h | 15 This mask filter creates a 3D emboss look, by specifying a light and blur amount. 26 static SkEmbossMaskFilter* Create(SkScalar blurSigma, const Light& light); 39 SkEmbossMaskFilter(SkScalar blurSigma, const Light& light);
|
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/bullet/ |
H A D | scene.js | 164 var light = new THREE.SpotLight( 0xffffff, 1.5 ); 165 light.position.set( 0, 500, 2000 ); 166 light.castShadow = true; 168 light.shadowCameraNear = 200; 169 light.shadowCameraFar = camera.far; 170 light.shadowCameraFov = 50; 172 light.shadowBias = -0.00022; 173 light.shadowDarkness = 0.5; 175 light.shadowMapWidth = 2048; 176 light [all...] |
/external/chromium_org/third_party/skia/src/views/ |
H A D | SkWidgets.cpp | 243 SkEmbossMaskFilter::Light light; local 245 light.fDirection[0] = SK_Scalar1/2; 246 light.fDirection[1] = SK_Scalar1/2; 247 light.fDirection[2] = SK_Scalar1/3; 248 light.fAmbient = 0x48; 249 light.fSpecular = 0x80; 253 light.fDirection[0] = -light.fDirection[0]; 254 light.fDirection[1] = -light [all...] |
/external/skia/src/views/ |
H A D | SkWidgets.cpp | 243 SkEmbossMaskFilter::Light light; local 245 light.fDirection[0] = SK_Scalar1/2; 246 light.fDirection[1] = SK_Scalar1/2; 247 light.fDirection[2] = SK_Scalar1/3; 248 light.fAmbient = 0x48; 249 light.fSpecular = 0x80; 253 light.fDirection[0] = -light.fDirection[0]; 254 light.fDirection[1] = -light [all...] |
/external/chromium_org/native_client_sdk/src/examples/demo/earth/ |
H A D | example.js | 78 // light slider 79 var light = message_event.data['value']; 80 document.getElementById('lightRange').value = light;
|