/external/skia/src/effects/ |
D | SkLightingImageFilter.cpp | 102 inline SkPoint3 pointToNormal(SkScalar x, SkScalar y, SkScalar surfaceScale) { in pointToNormal() argument 103 SkPoint3 vector(SkScalarMul(-x, surfaceScale), in pointToNormal() 104 SkScalarMul(-y, surfaceScale), in pointToNormal() 110 inline SkPoint3 topLeftNormal(int m[9], SkScalar surfaceScale) { in topLeftNormal() argument 113 surfaceScale); in topLeftNormal() 116 inline SkPoint3 topNormal(int m[9], SkScalar surfaceScale) { in topNormal() argument 119 surfaceScale); in topNormal() 122 inline SkPoint3 topRightNormal(int m[9], SkScalar surfaceScale) { in topRightNormal() argument 125 surfaceScale); in topRightNormal() 128 inline SkPoint3 leftNormal(int m[9], SkScalar surfaceScale) { in leftNormal() argument [all …]
|
/external/webkit/Source/WebCore/platform/graphics/filters/ |
D | FEDiffuseLighting.cpp | 33 FEDiffuseLighting::FEDiffuseLighting(Filter* filter, const Color& lightingColor, float surfaceScale, in FEDiffuseLighting() argument 35 …: FELighting(filter, DiffuseLighting, lightingColor, surfaceScale, diffuseConstant, 0, 0, kernelUn… in FEDiffuseLighting() 40 float surfaceScale, float diffuseConstant, float kernelUnitLengthX, in create() argument 43 …return adoptRef(new FEDiffuseLighting(filter, lightingColor, surfaceScale, diffuseConstant, kernel… in create() 63 float FEDiffuseLighting::surfaceScale() const in surfaceScale() function in WebCore::FEDiffuseLighting 68 bool FEDiffuseLighting::setSurfaceScale(float surfaceScale) in setSurfaceScale() argument 70 if (m_surfaceScale == surfaceScale) in setSurfaceScale() 72 m_surfaceScale = surfaceScale; in setSurfaceScale()
|
D | FESpecularLighting.cpp | 33 …pecularLighting::FESpecularLighting(Filter* filter, const Color& lightingColor, float surfaceScale, in FESpecularLighting() argument 36 …: FELighting(filter, SpecularLighting, lightingColor, surfaceScale, 0, specularConstant, specularE… in FESpecularLighting() 41 float surfaceScale, float specularConstant, float specularExponent, in create() argument 44 …return adoptRef(new FESpecularLighting(filter, lightingColor, surfaceScale, specularConstant, spec… in create() 65 float FESpecularLighting::surfaceScale() const in surfaceScale() function in WebCore::FESpecularLighting 70 bool FESpecularLighting::setSurfaceScale(float surfaceScale) in setSurfaceScale() argument 72 if (m_surfaceScale == surfaceScale) in setSurfaceScale() 74 m_surfaceScale = surfaceScale; in setSurfaceScale()
|
D | FELighting.cpp | 43 …Lighting(Filter* filter, LightingType lightingType, const Color& lightingColor, float surfaceScale, in FELighting() argument 50 , m_surfaceScale(surfaceScale) in FELighting() 185 …X, lightY, static_cast<float>(data.pixels->get(offset + cAlphaChannelOffset)) * data.surfaceScale); in inlineSetPixel() 203 normalVector.setX(factorX * static_cast<float>(normal2DVector.x()) * data.surfaceScale); in inlineSetPixel() 204 normalVector.setY(factorY * static_cast<float>(normal2DVector.y()) * data.surfaceScale); in inlineSetPixel() 251 data.surfaceScale = m_surfaceScale / 255.0f; in drawLighting() 462 floatArguments.surfaceScale = data.surfaceScale; in drawInteriorPixels() 463 floatArguments.minusSurfaceScaleDividedByFour = -data.surfaceScale / 4; in drawInteriorPixels()
|
D | FESpecularLighting.h | 39 float surfaceScale() const;
|
D | FEDiffuseLighting.h | 41 float surfaceScale() const;
|
D | FELighting.h | 57 float surfaceScale; member
|
/external/skia/include/effects/ |
D | SkLightingImageFilter.h | 53 SkColor lightColor, SkScalar surfaceScale, SkScalar kd, 56 SkColor lightColor, SkScalar surfaceScale, SkScalar kd, 60 SkColor lightColor, SkScalar surfaceScale, SkScalar kd, 63 SkColor lightColor, SkScalar surfaceScale, SkScalar ks, 66 SkColor lightColor, SkScalar surfaceScale, SkScalar ks, 70 SkColor lightColor, SkScalar surfaceScale, SkScalar ks, 77 SkLightingImageFilter(SkLight* light, SkScalar surfaceScale, SkImageFilter* input); 81 SkScalar surfaceScale() const { return fSurfaceScale; } in surfaceScale() function
|
/external/skia/gm/ |
D | lighting.cpp | 83 SkScalar surfaceScale = SkIntToScalar(1); in onDraw() local 86 …ter(SkLightingImageFilter::CreatePointLitDiffuse(pointLocation, white, surfaceScale, kd))->unref(); in onDraw() 88 …kLightingImageFilter::CreateDistantLitDiffuse(distantDirection, white, surfaceScale, kd))->unref(); in onDraw() 90 …LitDiffuse(spotLocation, spotTarget, spotExponent, cutoffAngle, white, surfaceScale, kd))->unref(); in onDraw() 92 …r(SkLightingImageFilter::CreatePointLitSpecular(pointLocation, white, surfaceScale, ks, shininess)… in onDraw() 94 …ightingImageFilter::CreateDistantLitSpecular(distantDirection, white, surfaceScale, ks, shininess)… in onDraw() 96 …tSpecular(spotLocation, spotTarget, spotExponent, cutoffAngle, white, surfaceScale, ks, shininess)… in onDraw()
|
/external/webkit/Source/WebCore/svg/ |
D | SVGFEDiffuseLightingElement.cpp | 40 …NIMATED_NUMBER(SVGFEDiffuseLightingElement, SVGNames::surfaceScaleAttr, SurfaceScale, surfaceScale) in DEFINE_ANIMATED_STRING() 98 return diffuseLighting->setSurfaceScale(surfaceScale()); in setFilterEffectAttribute() 211 …RefPtr<FilterEffect> effect = FEDiffuseLighting::create(filter, color, surfaceScale(), diffuseCons… in build()
|
D | SVGFESpecularLightingElement.cpp | 42 …IMATED_NUMBER(SVGFESpecularLightingElement, SVGNames::surfaceScaleAttr, SurfaceScale, surfaceScale) in DEFINE_ANIMATED_STRING() 103 return specularLighting->setSurfaceScale(surfaceScale()); in setFilterEffectAttribute() 223 …RefPtr<FilterEffect> effect = FESpecularLighting::create(filter, color, surfaceScale(), specularCo… in build()
|
D | SVGFESpecularLightingElement.h | 56 DECLARE_ANIMATED_NUMBER(SurfaceScale, surfaceScale)
|
D | SVGFEDiffuseLightingElement.h | 56 DECLARE_ANIMATED_NUMBER(SurfaceScale, surfaceScale)
|
D | SVGFESpecularLightingElement.idl | 31 readonly attribute SVGAnimatedNumber surfaceScale;
|
D | SVGFEDiffuseLightingElement.idl | 31 readonly attribute SVGAnimatedNumber surfaceScale;
|
D | svgattrs.in | 204 surfaceScale
|
/external/webkit/Source/WebCore/platform/graphics/filters/arm/ |
D | FELightingNEON.h | 48 float surfaceScale; member
|
/external/webkit/Source/WebCore/ |
D | ChangeLog-2005-12-19 | 3666 (KCanvasFEDiffuseLighting::surfaceScale): added 3678 (KCanvasFESpecularLighting::surfaceScale): added 3770 (SVGFEDiffuseLightingElementImpl::surfaceScale): added 3809 (SVGFESpecularLightingElementImpl::surfaceScale): added
|
D | ChangeLog-2006-12-31 | 9743 (WebCore::SVGFEDiffuseLighting::surfaceScale): 9818 (WebCore::SVGFESpecularLighting::surfaceScale):
|
D | ChangeLog-2008-08-10 | 5552 (WebCore::FEDiffuseLighting::surfaceScale): 5653 (WebCore::FESpecularLighting::surfaceScale):
|
D | ChangeLog-2010-12-06 | 92826 svg/dynamic-updates/SVGFEDiffuseLightingElement-dom-surfaceScale-attr.html 92830 svg/dynamic-updates/SVGFEDiffuseLightingElement-svgdom-surfaceScale-prop.html
|