/external/skia/src/effects/ |
D | SkLightingImageFilter.cpp | 100 inline SkPoint3 pointToNormal(SkScalar x, SkScalar y, SkScalar surfaceScale) { in pointToNormal() argument 101 SkPoint3 vector(SkScalarMul(-x, surfaceScale), in pointToNormal() 102 SkScalarMul(-y, surfaceScale), in pointToNormal() 108 inline SkPoint3 topLeftNormal(int m[9], SkScalar surfaceScale) { in topLeftNormal() argument 111 surfaceScale); in topLeftNormal() 114 inline SkPoint3 topNormal(int m[9], SkScalar surfaceScale) { in topNormal() argument 117 surfaceScale); in topNormal() 120 inline SkPoint3 topRightNormal(int m[9], SkScalar surfaceScale) { in topRightNormal() argument 123 surfaceScale); in topRightNormal() 126 inline SkPoint3 leftNormal(int m[9], SkScalar surfaceScale) { in leftNormal() argument [all …]
|
/external/chromium_org/third_party/skia/src/effects/ |
D | SkLightingImageFilter.cpp | 100 inline SkPoint3 pointToNormal(SkScalar x, SkScalar y, SkScalar surfaceScale) { in pointToNormal() argument 101 SkPoint3 vector(SkScalarMul(-x, surfaceScale), in pointToNormal() 102 SkScalarMul(-y, surfaceScale), in pointToNormal() 108 inline SkPoint3 topLeftNormal(int m[9], SkScalar surfaceScale) { in topLeftNormal() argument 111 surfaceScale); in topLeftNormal() 114 inline SkPoint3 topNormal(int m[9], SkScalar surfaceScale) { in topNormal() argument 117 surfaceScale); in topNormal() 120 inline SkPoint3 topRightNormal(int m[9], SkScalar surfaceScale) { in topRightNormal() argument 123 surfaceScale); in topRightNormal() 126 inline SkPoint3 leftNormal(int m[9], SkScalar surfaceScale) { in leftNormal() argument [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
D | FEDiffuseLighting.cpp | 31 FEDiffuseLighting::FEDiffuseLighting(Filter* filter, const Color& lightingColor, float surfaceScale, in FEDiffuseLighting() argument 33 …: FELighting(filter, DiffuseLighting, lightingColor, surfaceScale, diffuseConstant, 0, 0, kernelUn… in FEDiffuseLighting() 38 float surfaceScale, float diffuseConstant, float kernelUnitLengthX, in create() argument 41 …return adoptRef(new FEDiffuseLighting(filter, lightingColor, surfaceScale, diffuseConstant, kernel… in create() 61 float FEDiffuseLighting::surfaceScale() const in surfaceScale() function in WebCore::FEDiffuseLighting 66 bool FEDiffuseLighting::setSurfaceScale(float surfaceScale) in setSurfaceScale() argument 68 if (m_surfaceScale == surfaceScale) in setSurfaceScale() 70 m_surfaceScale = surfaceScale; in setSurfaceScale()
|
D | FESpecularLighting.cpp | 31 …pecularLighting::FESpecularLighting(Filter* filter, const Color& lightingColor, float surfaceScale, in FESpecularLighting() argument 34 …: FELighting(filter, SpecularLighting, lightingColor, surfaceScale, 0, specularConstant, specularE… in FESpecularLighting() 39 float surfaceScale, float specularConstant, float specularExponent, in create() argument 42 …return adoptRef(new FESpecularLighting(filter, lightingColor, surfaceScale, specularConstant, spec… in create() 63 float FESpecularLighting::surfaceScale() const in surfaceScale() function in WebCore::FESpecularLighting 68 bool FESpecularLighting::setSurfaceScale(float surfaceScale) in setSurfaceScale() argument 70 if (m_surfaceScale == surfaceScale) in setSurfaceScale() 72 m_surfaceScale = surfaceScale; in setSurfaceScale()
|
D | FESpecularLighting.h | 39 float surfaceScale() const;
|
D | FEDiffuseLighting.h | 41 float surfaceScale() const;
|
D | FELighting.cpp | 40 …Lighting(Filter* filter, LightingType lightingType, const Color& lightingColor, float surfaceScale, in FELighting() argument 47 , m_surfaceScale(surfaceScale) in FELighting() 182 …, lightY, static_cast<float>(data.pixels->item(offset + cAlphaChannelOffset)) * data.surfaceScale); in inlineSetPixel() 200 normalVector.setX(factorX * static_cast<float>(normal2DVector.x()) * data.surfaceScale); in inlineSetPixel() 201 normalVector.setY(factorY * static_cast<float>(normal2DVector.y()) * data.surfaceScale); in inlineSetPixel() 311 data.surfaceScale = m_surfaceScale / 255.0f; in drawLighting()
|
D | FELighting.h | 62 float surfaceScale; member
|
/external/skia/include/effects/ |
D | SkLightingImageFilter.h | 54 SkColor lightColor, SkScalar surfaceScale, SkScalar kd, 57 SkColor lightColor, SkScalar surfaceScale, SkScalar kd, 61 SkColor lightColor, SkScalar surfaceScale, SkScalar kd, 64 SkColor lightColor, SkScalar surfaceScale, SkScalar ks, 67 SkColor lightColor, SkScalar surfaceScale, SkScalar ks, 71 SkColor lightColor, SkScalar surfaceScale, SkScalar ks, 79 SkScalar surfaceScale, 85 SkScalar surfaceScale() const { return fSurfaceScale; } in surfaceScale() function
|
/external/chromium_org/third_party/skia/include/effects/ |
D | SkLightingImageFilter.h | 54 SkColor lightColor, SkScalar surfaceScale, SkScalar kd, 57 SkColor lightColor, SkScalar surfaceScale, SkScalar kd, 61 SkColor lightColor, SkScalar surfaceScale, SkScalar kd, 64 SkColor lightColor, SkScalar surfaceScale, SkScalar ks, 67 SkColor lightColor, SkScalar surfaceScale, SkScalar ks, 71 SkColor lightColor, SkScalar surfaceScale, SkScalar ks, 79 SkScalar surfaceScale, 85 SkScalar surfaceScale() const { return fSurfaceScale; } in surfaceScale() function
|
/external/skia/gm/ |
D | lighting.cpp | 84 SkScalar surfaceScale = SkIntToScalar(1); in onDraw() local 93 …er(SkLightingImageFilter::CreatePointLitDiffuse(pointLocation, white, surfaceScale, kd, NULL, cr))… in onDraw() 96 …LightingImageFilter::CreateDistantLitDiffuse(distantDirection, white, surfaceScale, kd, NULL, cr))… in onDraw() 99 …itDiffuse(spotLocation, spotTarget, spotExponent, cutoffAngle, white, surfaceScale, kd, NULL, cr))… in onDraw() 104 …r(SkLightingImageFilter::CreatePointLitSpecular(pointLocation, white, surfaceScale, ks, shininess,… in onDraw() 107 …ightingImageFilter::CreateDistantLitSpecular(distantDirection, white, surfaceScale, ks, shininess,… in onDraw() 110 …tSpecular(spotLocation, spotTarget, spotExponent, cutoffAngle, white, surfaceScale, ks, shininess,… in onDraw()
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/cpu/arm/filters/ |
D | FELightingNEON.h | 51 float surfaceScale; member 155 floatArguments.surfaceScale = data.surfaceScale; in platformApplyNeon() 156 floatArguments.minusSurfaceScaleDividedByFour = -data.surfaceScale / 4; in platformApplyNeon()
|
/external/skia/bench/ |
D | LightingBench.cpp | 85 static SkScalar surfaceScale = SkIntToScalar(1); in getSurfaceScale() local 86 return surfaceScale; in getSurfaceScale()
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
D | SVGFESpecularLightingElement.h | 54 DECLARE_ANIMATED_NUMBER(SurfaceScale, surfaceScale)
|
D | SVGFEDiffuseLightingElement.h | 54 DECLARE_ANIMATED_NUMBER(SurfaceScale, surfaceScale)
|
D | SVGFEDiffuseLightingElement.cpp | 36 …NIMATED_NUMBER(SVGFEDiffuseLightingElement, SVGNames::surfaceScaleAttr, SurfaceScale, surfaceScale) in DEFINE_ANIMATED_STRING() 43 REGISTER_LOCAL_ANIMATED_PROPERTY(surfaceScale) in DEFINE_ANIMATED_STRING()
|
D | SVGFESpecularLightingElement.cpp | 38 …IMATED_NUMBER(SVGFESpecularLightingElement, SVGNames::surfaceScaleAttr, SurfaceScale, surfaceScale) in DEFINE_ANIMATED_STRING() 46 REGISTER_LOCAL_ANIMATED_PROPERTY(surfaceScale) in DEFINE_ANIMATED_STRING()
|
D | SVGFESpecularLightingElement.idl | 28 readonly attribute SVGAnimatedNumber surfaceScale;
|
D | SVGFEDiffuseLightingElement.idl | 28 readonly attribute SVGAnimatedNumber surfaceScale;
|
D | SVGAttributeNames.in | 202 surfaceScale
|