/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 sk_sp<SkMaskFilter> SkEmbossMaskFilter::Make(SkScalar blurSigma, const Light& light) { argument 17 return sk_sp<SkMaskFilter>(new SkEmbossMaskFilter(blurSigma, light)); 27 SkEmbossMaskFilter::Light light; local 29 memcpy(light.fDirection, direction, sizeof(light.fDirection)); 31 light.fAmbient = SkUnitScalarClampToByte(ambient); 34 light.fSpecular = static_cast<U8CPU>(SkScalarPin(specular, 0, 16) * kSpecularMultiplier + 0.5); 36 return SkEmbossMaskFilter::Make(blurSigma, light); 51 SkEmbossMaskFilter::SkEmbossMaskFilter(SkScalar blurSigma, const Light& light) argument 52 : fLight(light), fBlurSigm 91 Light light = fLight; local 111 Light light; local [all...] |
H A D | SkEmbossMaskFilter.h | 15 This mask filter creates a 3D emboss look, by specifying a light and blur amount. 26 static sk_sp<SkMaskFilter> Make(SkScalar blurSigma, const Light& light); 39 SkEmbossMaskFilter(SkScalar blurSigma, const Light& light);
|
H A D | SkEmbossMask.cpp | 46 void SkEmbossMask::Emboss(SkMask* mask, const SkEmbossMaskFilter::Light& light) { argument 49 int specular = light.fSpecular; 50 int ambient = light.fAmbient; 51 SkFixed lx = SkScalarToFixed(light.fDirection[0]); 52 SkFixed ly = SkScalarToFixed(light.fDirection[1]); 53 SkFixed lz = SkScalarToFixed(light.fDirection[2]); 98 // value in the light, and just pass that in to this function.
|
H A D | SkLightingImageFilter.cpp | 147 virtual SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, 155 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, 177 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, 301 *dptr++ = lightingType.light(topLeftNormal(m, surfaceScale), surfaceToLight, 309 *dptr++ = lightingType.light(topNormal(m, surfaceScale), surfaceToLight, 314 *dptr++ = lightingType.light(topRightNormal(m, surfaceScale), surfaceToLight, 328 *dptr++ = lightingType.light(leftNormal(m, surfaceScale), surfaceToLight, 336 *dptr++ = lightingType.light(interiorNormal(m, surfaceScale), surfaceToLight, 341 *dptr++ = lightingType.light(rightNormal(m, surfaceScale), surfaceToLight, 353 *dptr++ = lightingType.light(bottomLeftNorma 371 lightBitmap(const BaseLightingType& lightingType, const SkImageFilterLight* light, const SkBitmap& src, SkBitmap* dst, SkScalar surfaceScale, const SkIRect& bounds) argument 402 SkLightingImageFilterInternal(sk_sp<SkImageFilterLight> light, SkScalar surfaceScale, sk_sp<SkImageFilter> input, const CropRect* cropRect) argument 600 const SkImageFilterLight* light() const { return fLight; } function in class:GrLightingEffect 625 Make(sk_sp<GrTextureProxy> proxy, const SkImageFilterLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar kd, BoundaryMode boundaryMode, const SkIRect* srcBounds) argument 664 Make(sk_sp<GrTextureProxy> proxy, const SkImageFilterLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar ks, SkScalar shininess, BoundaryMode boundaryMode, const SkIRect* srcBounds) argument 1133 SkLightingImageFilter(sk_sp<SkImageFilterLight> light, SkScalar surfaceScale, sk_sp<SkImageFilter> input, const CropRect* cropRect) argument 1228 Make(sk_sp<SkImageFilterLight> light, SkScalar surfaceScale, SkScalar kd, sk_sp<SkImageFilter> input, const CropRect* cropRect) argument 1248 SkDiffuseLightingImageFilter(sk_sp<SkImageFilterLight> light, SkScalar surfaceScale, SkScalar kd, sk_sp<SkImageFilter> input, const CropRect* cropRect) argument 1345 auto light = this->light()->makeColorSpace(xformer); local 1376 Make(sk_sp<SkImageFilterLight> light, SkScalar surfaceScale, SkScalar ks, SkScalar shininess, sk_sp<SkImageFilter> input, const CropRect* cropRect) argument 1398 SkSpecularLightingImageFilter(sk_sp<SkImageFilterLight> light, SkScalar surfaceScale, SkScalar ks, SkScalar shininess, sk_sp<SkImageFilter> input, const CropRect* cropRect) argument 1501 auto light = this->light()->makeColorSpace(xformer); local 1681 GrLightingEffect(sk_sp<GrTextureProxy> proxy, const SkImageFilterLight* light, SkScalar surfaceScale, const SkMatrix& matrix, BoundaryMode boundaryMode, const SkIRect* srcBounds) argument 1710 GrDiffuseLightingEffect(sk_sp<GrTextureProxy> proxy, const SkImageFilterLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar kd, BoundaryMode boundaryMode, const SkIRect* srcBounds) argument 1950 GrSpecularLightingEffect(sk_sp<GrTextureProxy> proxy, const SkImageFilterLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar ks, SkScalar shininess, BoundaryMode boundaryMode, const SkIRect* srcBounds) argument [all...] |
/external/skia/src/core/ |
H A D | SkLights.cpp | 50 Light light = Light::MakePoint(color, dirOrPos, intensity, isRadial); local 51 light.setShadowMap(depthMap); 52 builder.add(light); 54 Light light = Light::MakeDirectional(color, dirOrPos, isRadial); local 55 light.setShadowMap(depthMap); 56 builder.add(light); 77 Light light(fLights[i].type(), xform_color(fLights[i].color(), xformer), 79 builder.add(light); 90 const Light& light = this->light( local [all...] |
/external/mesa3d/src/mesa/tnl/ |
H A D | t_vb_lighttmp.h | 108 /* Add contribution from each enabled light source */ 112 struct gl_light *light = &ctx->Light.Light[l]; local 118 GLfloat VP[3]; /* unit vector from vertex to light */ 123 if (!(light->_Flags & LIGHT_POSITIONAL)) { 124 /* directional light */ 125 COPY_3V(VP, light->_VP_inf_norm); 126 attenuation = light->_VP_inf_spot_attenuation; 129 GLfloat d; /* distance from vertex to light */ 131 SUB_3V(VP, light->_Position, vertex); 140 attenuation = 1.0F / (light 291 struct gl_light *light = &ctx->Light.Light[l]; local 426 const struct gl_light *light = local 585 const struct gl_light *light = &ctx->Light.Light[l]; local [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | light.c | 32 #include "light.h" 95 * per-light state. 103 struct gl_light *light; local 106 light = &ctx->Light.Light[lnum]; 110 if (TEST_EQ_4V(light->Ambient, params)) 113 COPY_4V( light->Ambient, params ); 116 if (TEST_EQ_4V(light->Diffuse, params)) 119 COPY_4V( light->Diffuse, params ); 122 if (TEST_EQ_4V(light->Specular, params)) 125 COPY_4V( light 199 _mesa_Lightf( GLenum light, GLenum pname, GLfloat param ) argument 209 _mesa_Lightfv( GLenum light, GLenum pname, const GLfloat *params ) argument 270 _mesa_Lighti( GLenum light, GLenum pname, GLint param ) argument 280 _mesa_Lightiv( GLenum light, GLenum pname, const GLint *params ) argument 322 _mesa_GetLightfv( GLenum light, GLenum pname, GLfloat *params ) argument 371 _mesa_GetLightiv( GLenum light, GLenum pname, GLint *params ) argument 628 struct gl_light *light = &ctx->Light.Light[i]; local 638 struct gl_light *light = &ctx->Light.Light[i]; local 662 struct gl_light *light = &ctx->Light.Light[i]; local 672 struct gl_light *light = &ctx->Light.Light[i]; local 683 struct gl_light *light = &ctx->Light.Light[i]; local 693 struct gl_light *light = &ctx->Light.Light[i]; local 893 struct gl_light *light = &ctx->Light.Light[i]; local 964 struct gl_light *light = &ctx->Light.Light[i]; local [all...] |
H A D | light.h | 48 _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 );
|
H A D | rastpos.c | 138 struct gl_light *light = &ctx->Light.Light[i]; local 140 GLfloat VP[3]; /* vector from vertex to light pos */ 144 if (!(light->_Flags & LIGHT_POSITIONAL)) { 145 /* light at infinity */ 146 COPY_3V(VP, light->_VP_inf_norm); 147 attenuation = light->_VP_inf_spot_attenuation; 150 /* local/positional light */ 153 /* VP = vector from vertex pos to light[i].pos */ 154 SUB_3V(VP, light->_Position, vertex); 164 attenuation = 1.0F / (light [all...] |
/external/skia/include/core/ |
H A D | SkLights.h | 49 Light light(kDirectional_LightType, color, dir, isRadial); 50 if (!light.fDirOrPos.normalize()) { 51 light.fDirOrPos.set(0.0f, 0.0f, 1.0f); 53 return light; 122 // light (+Z is out of the screen). 124 // For point lights, holds location of point light 126 SkScalar fIntensity; // For point lights, dictates the light intensity. 127 // Simply a multiplier to the final light output value. 129 bool fIsRadial; // Whether the light is radial or not. Radial lights will 146 void add(const Light& light) { argument 152 add(Light&& light) argument 176 const Light& light(int index) const { function in class:SkLights 180 Light& light(int index) { function in class:SkLights [all...] |
/external/swiftshader/src/Renderer/ |
H A D | VertexProcessor.cpp | 262 void VertexProcessor::setLightEnable(unsigned int light, bool lightEnable) argument 264 if(light < 8) 266 context->setLightEnable(light, lightEnable); 280 void VertexProcessor::setLightPosition(unsigned int light, const Point &lightPosition) argument 282 if(light < 8) 284 context->setLightPosition(light, lightPosition); 291 void VertexProcessor::setLightDiffuse(unsigned int light, const Color<float> &lightDiffuse) argument 293 if(light < 8) 295 ff.lightDiffuse[light][0] = lightDiffuse.r; 296 ff.lightDiffuse[light][ 303 setLightSpecular(unsigned int light, const Color<float> &lightSpecular) argument 315 setLightAmbient(unsigned int light, const Color<float> &lightAmbient) argument 327 setLightAttenuation(unsigned int light, float constant, float linear, float quadratic) argument 338 setLightRange(unsigned int light, float lightRange) argument 432 setLightViewPosition(unsigned int light, const Point &P) argument [all...] |
H A D | VertexProcessor.hpp | 211 void setLightEnable(unsigned int light, bool lightEnable); 215 void setLightPosition(unsigned int light, const Point &lightPosition); 216 void setLightViewPosition(unsigned int light, const Point &lightPosition); 217 void setLightDiffuse(unsigned int light, const Color<float> &lightDiffuse); 218 void setLightSpecular(unsigned int light, const Color<float> &lightSpecular); 219 void setLightAmbient(unsigned int light, const Color<float> &lightAmbient); 220 void setLightAttenuation(unsigned int light, float constant, float linear, float quadratic); 221 void setLightRange(unsigned int light, float lightRange);
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
H A D | nine_dump.h | 41 nine_dump_D3DLIGHT9(unsigned ch, const D3DLIGHT9 *light) argument
|
H A D | stateblock9.c | 74 FREE(state->ff.light); 317 dst->ff.light = REALLOC(dst->ff.light, 320 memset(&dst->ff.light[dst->ff.num_lights], 0, (num_lights - dst->ff.num_lights) * sizeof(D3DLIGHT9)); 322 * "dst->ff.light[i] = src->ff.light[i];" later, 326 dst->ff.light[i].Type = (D3DLIGHTTYPE)NINED3DLIGHT_INVALID; 335 src->ff.light = REALLOC(src->ff.light, 338 memset(&src->ff.light[sr [all...] |
/external/swiftshader/src/D3D8/ |
H A D | Direct3DDevice8.hpp | 135 long __stdcall SetLight(unsigned long index, const D3DLIGHT8 *light) override; 192 Light &operator=(const D3DLIGHT8 &light) argument 194 Type = light.Type; 195 Diffuse = light.Diffuse; 196 Specular = light.Specular; 197 Ambient = light.Ambient; 198 Position = light.Position; 199 Direction = light.Direction; 200 Range = light.Range; 201 Falloff = light 222 Lights light; member in class:D3D8::Direct3DDevice8 [all...] |
H A D | Direct3DStateBlock8.hpp | 53 void setLight(unsigned long index, const D3DLIGHT8 *light); 142 D3DLIGHT8 light[8]; member in class:D3D8::Direct3DStateBlock8
|
/external/skia/src/shaders/ |
H A D | SkLightingShader.cpp | 26 support different light types 43 lights to light the diffuse bitmap. 167 // diffuse light 171 // TODO: modulate the contribution from each light based on the shadow map 179 // ambient light 201 for (const SkLights::Light& light : directionalLights) { 202 lightDirs.push_back(light.dir()); 203 lightColors.push_back(light.color()); 243 if (SkLights::Light::kDirectional_LightType == lights->light(i).type()) { 244 fDirectionalLights.push_back(lights->light( 380 const SkLights::Light& light = lightShader.fLights->light(l); local [all...] |
/external/swiftshader/src/D3D9/ |
H A D | Direct3DDevice9.hpp | 151 long __stdcall SetLight(unsigned long index, const D3DLIGHT9 *light) override; 226 Light &operator=(const D3DLIGHT9 &light) argument 228 Type = light.Type; 229 Diffuse = light.Diffuse; 230 Specular = light.Specular; 231 Ambient = light.Ambient; 232 Position = light.Position; 233 Direction = light.Direction; 234 Range = light.Range; 235 Falloff = light 256 Lights light; member in class:D3D9::Direct3DDevice9 [all...] |
H A D | Direct3DStateBlock9.hpp | 58 void setLight(unsigned long index, const D3DLIGHT9 *light); 164 D3DLIGHT9 light[8]; member in class:D3D9::Direct3DStateBlock9
|
/external/skia/include/effects/ |
H A D | SkLightingImageFilter.h | 45 SkLightingImageFilter(sk_sp<SkImageFilterLight> light, 50 const SkImageFilterLight* light() const { return fLight.get(); } function in class:SkLightingImageFilter
|
/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/swiftshader/src/OpenGL/libGLES_CM/ |
H A D | Context.cpp | 173 light[i].enabled = false; 174 light[i].ambient = {0.0f, 0.0f, 0.0f, 1.0f}; 175 light[i].diffuse = {0.0f, 0.0f, 0.0f, 1.0f}; 176 light[i].specular = {0.0f, 0.0f, 0.0f, 1.0f}; 177 light[i].position = {0.0f, 0.0f, 1.0f, 0.0f}; 178 light[i].direction = {0.0f, 0.0f, -1.0f}; 179 light[i].attenuation = {1.0f, 0.0f, 0.0f}; 180 light[i].spotExponent = 0.0f; 181 light[i].spotCutoffAngle = 180.0f; 184 light[ [all...] |