Home
last modified time | relevance | path

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

/external/skia/src/effects/
DSkLightingImageFilter.cpp100 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/
DSkLightingImageFilter.cpp100 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/
DFEDiffuseLighting.cpp31 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()
DFESpecularLighting.cpp31 …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()
DFESpecularLighting.h39 float surfaceScale() const;
DFEDiffuseLighting.h41 float surfaceScale() const;
DFELighting.cpp40 …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()
DFELighting.h62 float surfaceScale; member
/external/skia/include/effects/
DSkLightingImageFilter.h54 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/
DSkLightingImageFilter.h54 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/
Dlighting.cpp84 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/
DFELightingNEON.h51 float surfaceScale; member
155 floatArguments.surfaceScale = data.surfaceScale; in platformApplyNeon()
156 floatArguments.minusSurfaceScaleDividedByFour = -data.surfaceScale / 4; in platformApplyNeon()
/external/skia/bench/
DLightingBench.cpp85 static SkScalar surfaceScale = SkIntToScalar(1); in getSurfaceScale() local
86 return surfaceScale; in getSurfaceScale()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGFESpecularLightingElement.h54 DECLARE_ANIMATED_NUMBER(SurfaceScale, surfaceScale)
DSVGFEDiffuseLightingElement.h54 DECLARE_ANIMATED_NUMBER(SurfaceScale, surfaceScale)
DSVGFEDiffuseLightingElement.cpp36 …NIMATED_NUMBER(SVGFEDiffuseLightingElement, SVGNames::surfaceScaleAttr, SurfaceScale, surfaceScale) in DEFINE_ANIMATED_STRING()
43 REGISTER_LOCAL_ANIMATED_PROPERTY(surfaceScale) in DEFINE_ANIMATED_STRING()
DSVGFESpecularLightingElement.cpp38 …IMATED_NUMBER(SVGFESpecularLightingElement, SVGNames::surfaceScaleAttr, SurfaceScale, surfaceScale) in DEFINE_ANIMATED_STRING()
46 REGISTER_LOCAL_ANIMATED_PROPERTY(surfaceScale) in DEFINE_ANIMATED_STRING()
DSVGFESpecularLightingElement.idl28 readonly attribute SVGAnimatedNumber surfaceScale;
DSVGFEDiffuseLightingElement.idl28 readonly attribute SVGAnimatedNumber surfaceScale;
DSVGAttributeNames.in202 surfaceScale