Searched refs:specularExponent (Results 1 - 18 of 18) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
H A DFESpecularLighting.cpp32 float specularConstant, float specularExponent, float kernelUnitLengthX,
34 : FELighting(filter, SpecularLighting, lightingColor, surfaceScale, 0, specularConstant, specularExponent, kernelUnitLengthX, kernelUnitLengthY, lightSource)
39 float surfaceScale, float specularConstant, float specularExponent,
42 return adoptRef(new FESpecularLighting(filter, lightingColor, surfaceScale, specularConstant, specularExponent,
90 float FESpecularLighting::specularExponent() const function in class:blink::FESpecularLighting
95 bool FESpecularLighting::setSpecularExponent(float specularExponent) argument
97 specularExponent = std::min(std::max(specularExponent, 1.0f), 128.0f);
98 if (m_specularExponent == specularExponent)
100 m_specularExponent = specularExponent;
31 FESpecularLighting(Filter* filter, const Color& lightingColor, float surfaceScale, float specularConstant, float specularExponent, float kernelUnitLengthX, float kernelUnitLengthY, PassRefPtr<LightSource> lightSource) argument
38 create(Filter* filter, const Color& lightingColor, float surfaceScale, float specularConstant, float specularExponent, float kernelUnitLengthX, float kernelUnitLengthY, PassRefPtr<LightSource> lightSource) argument
[all...]
H A DSpotLightSource.h33 const FloatPoint3D& direction, float specularExponent, float limitingConeAngle)
35 return adoptRef(new SpotLightSource(position, direction, specularExponent, limitingConeAngle));
47 float specularExponent() const { return m_specularExponent; } function in class:blink::SpotLightSource
63 float specularExponent, float limitingConeAngle)
67 , m_specularExponent(std::min(std::max(specularExponent, 1.0f), 128.0f))
32 create(const FloatPoint3D& position, const FloatPoint3D& direction, float specularExponent, float limitingConeAngle) argument
62 SpotLightSource(const FloatPoint3D& position, const FloatPoint3D& direction, float specularExponent, float limitingConeAngle) argument
H A DSpotLightSource.cpp116 bool SpotLightSource::setSpecularExponent(float specularExponent) argument
118 specularExponent = std::min(std::max(specularExponent, 1.0f), 128.0f);
119 if (m_specularExponent == specularExponent)
121 m_specularExponent = specularExponent;
144 ts << "[specularExponent=\"" << specularExponent() << "\"]";
H A DFESpecularLighting.h45 float specularExponent() const;
H A DFELighting.cpp40 float diffuseConstant, float specularConstant, float specularExponent,
49 , m_specularExponent(std::min(std::max(specularExponent, 1.0f), 128.0f))
464 float specularExponent = spotLightSource->specularExponent(); local
469 return adoptRef(SkLightingImageFilter::CreateSpotLitSpecular(location, target, specularExponent, limitingConeAngle, lightColor.rgb(), m_surfaceScale, m_specularConstant, m_specularExponent, input.get(), &rect));
470 return adoptRef(SkLightingImageFilter::CreateSpotLitDiffuse(location, target, specularExponent, limitingConeAngle, lightColor.rgb(), m_surfaceScale, m_diffuseConstant, input.get(), &rect));
39 FELighting(Filter* filter, LightingType lightingType, const Color& lightingColor, float surfaceScale, float diffuseConstant, float specularConstant, float specularExponent, float kernelUnitLengthX, float kernelUnitLengthY, PassRefPtr<LightSource> lightSource) argument
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGFESpecularLightingElement.idl32 readonly attribute SVGAnimatedNumber specularExponent;
H A DSVGFESpotLightElement.cpp38 return SpotLightSource::create(filter->resolve3dPoint(position()), filter->resolve3dPoint(pointsAt()), specularExponent()->currentValue()->value(), limitingConeAngle()->currentValue()->value());
H A DSVGFESpotLightElement.idl33 readonly attribute SVGAnimatedNumber specularExponent;
H A DSVGFELightElement.h58 SVGAnimatedNumber* specularExponent() { return m_specularExponent.get(); } function in class:blink::SVGFELightElement
59 const SVGAnimatedNumber* specularExponent() const { return m_specularExponent.get(); } function in class:blink::SVGFELightElement
H A DSVGFESpecularLightingElement.h41 SVGAnimatedNumber* specularExponent() { return m_specularExponent.get(); } function in class:blink::FINAL
H A DSVGFEDiffuseLightingElement.cpp113 return lightSource->setSpecularExponent(lightElement->specularExponent()->currentValue()->value());
H A DSVGFESpecularLightingElement.cpp120 return lightSource->setSpecularExponent(lightElement->specularExponent()->currentValue()->value());
/external/chromium_org/third_party/skia/include/effects/
H A DSkLightingImageFilter.h55 const SkPoint3& target, SkScalar specularExponent, SkScalar cutoffAngle,
65 const SkPoint3& target, SkScalar specularExponent, SkScalar cutoffAngle,
/external/skia/include/effects/
H A DSkLightingImageFilter.h55 const SkPoint3& target, SkScalar specularExponent, SkScalar cutoffAngle,
65 const SkPoint3& target, SkScalar specularExponent, SkScalar cutoffAngle,
/external/skia/src/effects/
H A DSkLightingImageFilter.cpp671 SkSpotLight(const SkPoint3& location, const SkPoint3& target, SkScalar specularExponent, SkScalar cutoffAngle, SkColor color) argument
675 fSpecularExponent(SkScalarPin(specularExponent, kSpecularExponentMin, kSpecularExponentMax))
733 SkScalar specularExponent() const { return fSpecularExponent; } function in class:SkSpotLight
753 SkSpotLight(const SkPoint3& location, const SkPoint3& target, SkScalar specularExponent, SkScalar cosOuterConeAngle, SkScalar cosInnerConeAngle, SkScalar coneScale, const SkPoint3& s, const SkPoint3& color) argument
757 fSpecularExponent(specularExponent),
860 SkScalar specularExponent, SkScalar cutoffAngle,
864 (SkNEW_ARGS(SkSpotLight, (location, target, specularExponent,
887 SkScalar specularExponent, SkScalar cutoffAngle,
891 (SkNEW_ARGS(SkSpotLight, (location, target, specularExponent, cutoffAngle, lightColor)),
1556 uman.set1f(fExponentUni, spotLight->specularExponent());
858 CreateSpotLitDiffuse( const SkPoint3& location, const SkPoint3& target, SkScalar specularExponent, SkScalar cutoffAngle, SkColor lightColor, SkScalar surfaceScale, SkScalar kd, SkImageFilter* input, const CropRect* cropRect) argument
885 CreateSpotLitSpecular( const SkPoint3& location, const SkPoint3& target, SkScalar specularExponent, SkScalar cutoffAngle, SkColor lightColor, SkScalar surfaceScale, SkScalar ks, SkScalar shininess, SkImageFilter* input, const CropRect* cropRect) argument
[all...]
/external/chromium_org/third_party/skia/src/effects/
H A DSkLightingImageFilter.cpp703 SkSpotLight(const SkPoint3& location, const SkPoint3& target, SkScalar specularExponent, SkScalar cutoffAngle, SkColor color) argument
707 fSpecularExponent(SkScalarPin(specularExponent, kSpecularExponentMin, kSpecularExponentMax))
765 SkScalar specularExponent() const { return fSpecularExponent; } function in class:SkSpotLight
785 SkSpotLight(const SkPoint3& location, const SkPoint3& target, SkScalar specularExponent, SkScalar cosOuterConeAngle, SkScalar cosInnerConeAngle, SkScalar coneScale, const SkPoint3& s, const SkPoint3& color) argument
789 fSpecularExponent(specularExponent),
894 SkScalar specularExponent,
901 SkAutoTUnref<SkLight> light(SkNEW_ARGS(SkSpotLight, (location, target, specularExponent,
930 SkScalar specularExponent,
938 SkAutoTUnref<SkLight> light(SkNEW_ARGS(SkSpotLight, (location, target, specularExponent,
1660 pdman.set1f(fExponentUni, spotLight->specularExponent());
892 CreateSpotLitDiffuse(const SkPoint3& location, const SkPoint3& target, SkScalar specularExponent, SkScalar cutoffAngle, SkColor lightColor, SkScalar surfaceScale, SkScalar kd, SkImageFilter* input, const CropRect* cropRect) argument
928 CreateSpotLitSpecular(const SkPoint3& location, const SkPoint3& target, SkScalar specularExponent, SkScalar cutoffAngle, SkColor lightColor, SkScalar surfaceScale, SkScalar ks, SkScalar shine, SkImageFilter* input, const CropRect* cropRect) argument
[all...]
/external/skia/tests/
H A DImageFilterTest.cpp201 SkScalar specularExponent = -1000; local
206 location, target, specularExponent, 180,
/external/chromium_org/third_party/skia/tests/
H A DImageFilterTest.cpp213 SkScalar specularExponent = -1000; local
218 location, target, specularExponent, 180,

Completed in 136 milliseconds