Home
last modified time | relevance | path

Searched refs:surfaceScale (Results 1 – 21 of 21) sorted by relevance

/external/skia/src/effects/
DSkLightingImageFilter.cpp102 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/
DFEDiffuseLighting.cpp33 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()
DFESpecularLighting.cpp33 …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()
DFELighting.cpp43 …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()
DFESpecularLighting.h39 float surfaceScale() const;
DFEDiffuseLighting.h41 float surfaceScale() const;
DFELighting.h57 float surfaceScale; member
/external/skia/include/effects/
DSkLightingImageFilter.h53 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/
Dlighting.cpp83 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/
DSVGFEDiffuseLightingElement.cpp40 …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()
DSVGFESpecularLightingElement.cpp42 …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()
DSVGFESpecularLightingElement.h56 DECLARE_ANIMATED_NUMBER(SurfaceScale, surfaceScale)
DSVGFEDiffuseLightingElement.h56 DECLARE_ANIMATED_NUMBER(SurfaceScale, surfaceScale)
DSVGFESpecularLightingElement.idl31 readonly attribute SVGAnimatedNumber surfaceScale;
DSVGFEDiffuseLightingElement.idl31 readonly attribute SVGAnimatedNumber surfaceScale;
Dsvgattrs.in204 surfaceScale
/external/webkit/Source/WebCore/platform/graphics/filters/arm/
DFELightingNEON.h48 float surfaceScale; member
/external/webkit/Source/WebCore/
DChangeLog-2005-12-193666 (KCanvasFEDiffuseLighting::surfaceScale): added
3678 (KCanvasFESpecularLighting::surfaceScale): added
3770 (SVGFEDiffuseLightingElementImpl::surfaceScale): added
3809 (SVGFESpecularLightingElementImpl::surfaceScale): added
DChangeLog-2006-12-319743 (WebCore::SVGFEDiffuseLighting::surfaceScale):
9818 (WebCore::SVGFESpecularLighting::surfaceScale):
DChangeLog-2008-08-105552 (WebCore::FEDiffuseLighting::surfaceScale):
5653 (WebCore::FESpecularLighting::surfaceScale):
DChangeLog-2010-12-0692826 svg/dynamic-updates/SVGFEDiffuseLightingElement-dom-surfaceScale-attr.html
92830 svg/dynamic-updates/SVGFEDiffuseLightingElement-svgdom-surfaceScale-prop.html