/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/skia/src/effects/ |
H A D | SkEmbossMaskFilter.cpp | 16 SkMaskFilter* SkEmbossMaskFilter::Create(SkScalar blurSigma, const Light& light) { argument 17 return new 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 128 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 | 81 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, function in class:__anon16869::DiffuseLightingType 103 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, function in class:__anon16869::SpecularLightingType 211 const SkImageFilterLight* light, 217 const LightType* l = static_cast<const LightType*>(light); 231 *dptr++ = lightingType.light(topLeftNormal(m, surfaceScale), surfaceToLight, 239 *dptr++ = lightingType.light(topNormal(m, surfaceScale), surfaceToLight, 244 *dptr++ = lightingType.light(topRightNormal(m, surfaceScale), surfaceToLight, 258 *dptr++ = lightingType.light(leftNormal(m, surfaceScale), surfaceToLight, 266 *dptr++ = lightingType.light(interiorNormal(m, surfaceScale), surfaceToLight, 271 *dptr++ = lightingType.light(rightNorma 210 lightBitmap(const LightingType& lightingType, const SkImageFilterLight* light, const SkBitmap& src, SkBitmap* dst, SkScalar surfaceScale, const SkIRect& bounds) argument 302 lightBitmap(const LightingType& lightingType, const SkImageFilterLight* light, const SkBitmap& src, SkBitmap* dst, SkScalar surfaceScale, const SkIRect& bounds) argument 350 SkLightingImageFilterInternal(SkImageFilterLight* light, SkScalar surfaceScale, SkImageFilter* input, const CropRect* cropRect) argument 540 const SkImageFilterLight* light() const { return fLight; } function in class:__anon16869::GrLightingEffect 566 Create(GrTexture* texture, const SkImageFilterLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar kd, BoundaryMode boundaryMode, const SkIRect* srcBounds) argument 603 Create(GrTexture* texture, const SkImageFilterLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar ks, SkScalar shininess, BoundaryMode boundaryMode, const SkIRect* srcBounds) argument 1096 SkLightingImageFilter(SkImageFilterLight* light, SkScalar surfaceScale, SkImageFilter* input, const CropRect* cropRect) argument 1184 Create(SkImageFilterLight* light, SkScalar surfaceScale, SkScalar kd, SkImageFilter* input, const CropRect* cropRect) argument 1203 SkDiffuseLightingImageFilter(SkImageFilterLight* light, SkScalar surfaceScale, SkScalar kd, SkImageFilter* input, const CropRect* cropRect) argument 1323 Create(SkImageFilterLight* light, SkScalar surfaceScale, SkScalar ks, SkScalar shininess, SkImageFilter* input, const CropRect* cropRect) argument 1343 SkSpecularLightingImageFilter(SkImageFilterLight* light, SkScalar surfaceScale, SkScalar ks, SkScalar shininess, SkImageFilter* input, const CropRect* cropRect) argument 1646 GrLightingEffect(GrTexture* texture, const SkImageFilterLight* light, SkScalar surfaceScale, const SkMatrix& matrix, BoundaryMode boundaryMode, const SkIRect* srcBounds) argument 1677 GrDiffuseLightingEffect(GrTexture* texture, const SkImageFilterLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar kd, BoundaryMode boundaryMode, const SkIRect* srcBounds) argument 1889 GrSpecularLightingEffect(GrTexture* texture, const SkImageFilterLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar ks, SkScalar shininess, BoundaryMode boundaryMode, const SkIRect* srcBounds) argument [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/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/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 );
|
H A D | es1_conversion.h | 52 _es_GetLightxv(GLenum light, GLenum pname, GLfixed *params); 76 _es_Lightx(GLenum light, GLenum pname, GLfixed param); 79 _es_Lightxv(GLenum light, GLenum pname, const GLfixed *params);
|
H A D | es1_conversion.c | 15 #include "light.h" 234 _es_GetLightxv(GLenum light, GLenum pname, GLfixed *params) argument 240 if (light < GL_LIGHT0 || light > GL_LIGHT7) { 242 "glGetLightxv(light=0x%x)", light); local 268 _mesa_GetLightfv(light, pname, converted_params); 500 _es_Lightx(GLenum light, GLenum pname, GLfixed param) argument 502 _mesa_Lightf(light, pname, (GLfloat) (param / 65536.0f)); 506 _es_Lightxv(GLenum light, GLenu argument 514 "glLightxv(light=0x%x)", light); local [all...] |
H A D | attrib.c | 42 #include "light.h" 1055 const struct gl_light_attrib *light; local 1056 light = (const struct gl_light_attrib *) attr->data; 1058 _mesa_set_enable(ctx, GL_LIGHTING, light->Enabled); 1059 /* per-light state */ 1064 const struct gl_light *l = &light->Light[i]; 1097 /* light model */ 1099 light->Model.Ambient); 1101 (GLfloat) light->Model.LocalViewer); 1103 (GLfloat) light [all...] |
/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 SkMaskFilter* Create(SkScalar blurSigma, const Light& light); 39 SkEmbossMaskFilter(SkScalar blurSigma, const Light& light);
|
H A D | SkLightingImageFilter.h | 45 SkLightingImageFilter(SkImageFilterLight* light, 50 const SkImageFilterLight* light() const { return fLight.get(); } function in class:SkLightingImageFilter
|
/external/skia/src/core/ |
H A D | SkLightingShader.h | 34 void add(const SkLight& light) { argument 36 *fLights->fLights.push() = light; 52 const SkLight& light(int index) const { function in class:SkLightingShader::Lights 65 /** Returns a shader that lights the diffuse and normal maps with a single light. 72 @param light the light applied to the normal map 73 @param ambient the linear (unpremul) ambient light color. Range is 0..1/channel.
|
H A D | SkLightingShader.cpp | 25 support different light types 45 lights to light the diffuse bitmap. 160 if (SkLight::kAmbient_LightType == lights->light(i).type()) { 161 fAmbientColor += lights->light(i).color(); 164 fLightColor = lights->light(i).color(); 165 fLightDir = lights->light(i).dir(); 225 // TODO: inverse map the light direction vectors in the vertex shader rather than 231 // diffuse light 233 // ambient light 528 const SkLight& light local 633 const SkLight& light = fLights->light(l); local [all...] |
/external/libweave/examples/ |
H A D | examples.mk | 26 examples/daemon/light/light.cc \ 66 out/$(BUILD_MODE)/weave_daemon_light : out/$(BUILD_MODE)/examples/daemon/light/light.o $(daemon_deps)
|
/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/dng_sdk/source/ |
H A D | dng_camera_profile.h | 340 /// Setter for first of up to two light sources used for calibration. 345 void SetCalibrationIlluminant1 (uint32 light) argument 347 fCalibrationIlluminant1 = light; 351 /// Setter for second of up to two light sources used for calibration. 356 void SetCalibrationIlluminant2 (uint32 light) argument 358 fCalibrationIlluminant2 = light; 362 /// Getter for first of up to two light sources used for calibration. 372 /// Getter for second of up to two light sources used for calibration. 382 /// Getter for first of up to two light sources used for calibration, returning 390 /// Getter for second of up to two light source [all...] |
/external/fio/os/windows/ |
H A D | dobuild.cmd | 23 "%WIX%bin\light" -nologo -sice:ICE61 install.wixobj examples.wixobj -ext WixUIExtension -out %FIO_VERSION%-%FIO_ARCH%.msi
|
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | GLErrorLogger.java | 359 public void glLightf(int light, int pname, float param) { argument 360 ((GL10)mGL).glLightf(light, pname, param); 364 public void glLightfv(int light, int pname, FloatBuffer params) { argument 365 ((GL10)mGL).glLightfv(light, pname, params); 369 public void glLightfv(int light, int pname, float[] params, int offset) { argument 370 ((GL10)mGL).glLightfv(light, pname, params, offset); 374 public void glLightx(int light, int pname, int param) { argument 375 ((GL10)mGL).glLightx(light, pname, param); 379 public void glLightxv(int light, int pname, IntBuffer params) { argument 380 ((GL10)mGL).glLightxv(light, pnam 384 glLightxv(int light, int pname, int[] params, int offset) argument 842 glGetLightfv(int light, int pname, FloatBuffer params) argument 847 glGetLightfv(int light, int pname, float[] params, int offset) argument 854 glGetLightxv(int light, int pname, IntBuffer params) argument 859 glGetLightxv(int light, int pname, int[] params, int offset) argument [all...] |
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/ |
H A D | HolidayBorderPanel.java | 375 Color light = getBackground().brighter().brighter().brighter(); 387 topleft = light; 392 bottomright = light; 433 // light rectangle first. Otherwise, your eye picks up 434 // the discrepancy where the light rect. passes over 442 g.setColor(light);
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11spikysphere/ |
H A D | d3d11spikysphere.hlsl | 184 float3 light = normalize(float3(0, 1, -1));
189 r.xyz += saturate(dot(light, normalize(input.worldnormal))) * diffuse;
|
/external/skia/samplecode/ |
H A D | SampleAll.cpp | 377 SkEmbossMaskFilter::Light light; local 378 light.fDirection[0] = SK_Scalar1/2; 379 light.fDirection[1] = SK_Scalar1/2; 380 light.fDirection[2] = SK_Scalar1/3; 381 light.fAmbient = 0x48; 382 light.fSpecular = 0x80; 384 SkMaskFilter* embossFilter = SkEmbossMaskFilter::Create(sigma, light);
|
/external/v8/benchmarks/ |
H A D | raytrace.js | 57 // flog/light.js 716 var light = scene.lights[i]; 720 light.position, 732 light.color, 785 light.position 800 Flog.RayTracer.Color.prototype.multiplyScalar(light.color, glossWeight), 866 var light = new Flog.RayTracer.Light( 877 scene.lights.push(light);
|