Home
last modified time | relevance | path

Searched refs:surfaceScale (Results 1 - 10 of 10) sorted by relevance

/third_party/skia/src/effects/imagefilters/
H A DSkLightingImageFilter.cpp123 virtual SkPoint3 surfaceToLight(int x, int y, int z, SkScalar surfaceScale) const = 0;
202 static inline SkPoint3 pointToNormal(SkScalar x, SkScalar y, SkScalar surfaceScale) { in pointToNormal() argument
203 SkPoint3 vector = SkPoint3::Make(-x * surfaceScale, -y * surfaceScale, 1); in pointToNormal()
208 static inline SkPoint3 topLeftNormal(int m[9], SkScalar surfaceScale) { in topLeftNormal() argument
211 surfaceScale); in topLeftNormal()
214 static inline SkPoint3 topNormal(int m[9], SkScalar surfaceScale) { in topNormal() argument
217 surfaceScale); in topNormal()
220 static inline SkPoint3 topRightNormal(int m[9], SkScalar surfaceScale) { in topRightNormal() argument
223 surfaceScale); in topRightNormal()
226 leftNormal(int m[9], SkScalar surfaceScale) leftNormal() argument
233 interiorNormal(int m[9], SkScalar surfaceScale) interiorNormal() argument
239 rightNormal(int m[9], SkScalar surfaceScale) rightNormal() argument
245 bottomLeftNormal(int m[9], SkScalar surfaceScale) bottomLeftNormal() argument
251 bottomNormal(int m[9], SkScalar surfaceScale) bottomNormal() argument
257 bottomRightNormal(int m[9], SkScalar surfaceScale) bottomRightNormal() argument
285 lightBitmap(const BaseLightingType& lightingType, const SkImageFilterLight* l, const SkBitmap& src, SkBitmap* dst, SkScalar surfaceScale, const SkIRect& bounds) lightBitmap() argument
375 lightBitmap(const BaseLightingType& lightingType, const SkImageFilterLight* light, const SkBitmap& src, SkBitmap* dst, SkScalar surfaceScale, const SkIRect& bounds) lightBitmap() argument
407 SkLightingImageFilterInternal(sk_sp<SkImageFilterLight> light, SkScalar surfaceScale, sk_sp<SkImageFilter> input, const SkRect* cropRect) SkLightingImageFilterInternal() argument
425 SkScalar surfaceScale() const { return fSurfaceScale; } surfaceScale() function in __anon18762::SkLightingImageFilterInternal
618 SkScalar surfaceScale() const { return fSurfaceScale; } surfaceScale() function in __anon18763::LightingEffect
658 Make(GrSurfaceProxyView view, sk_sp<const SkImageFilterLight> light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar kd, BoundaryMode boundaryMode, const SkIRect* srcBounds, const GrCaps& caps) Make() argument
708 Make(GrSurfaceProxyView view, sk_sp<const SkImageFilterLight> light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar ks, SkScalar shininess, BoundaryMode boundaryMode, const SkIRect* srcBounds, const GrCaps& caps) Make() argument
1159 DistantLitDiffuse( const SkPoint3& direction, SkColor lightColor, SkScalar surfaceScale, SkScalar kd, sk_sp<SkImageFilter> input, const CropRect& cropRect) DistantLitDiffuse() argument
1167 PointLitDiffuse( const SkPoint3& location, SkColor lightColor, SkScalar surfaceScale, SkScalar kd, sk_sp<SkImageFilter> input, const CropRect& cropRect) PointLitDiffuse() argument
1175 SpotLitDiffuse( const SkPoint3& location, const SkPoint3& target, SkScalar falloffExponent, SkScalar cutoffAngle, SkColor lightColor, SkScalar surfaceScale, SkScalar kd, sk_sp<SkImageFilter> input, const CropRect& cropRect) SpotLitDiffuse() argument
1185 DistantLitSpecular( const SkPoint3& direction, SkColor lightColor, SkScalar surfaceScale, SkScalar ks, SkScalar shininess, sk_sp<SkImageFilter> input, const CropRect& cropRect) DistantLitSpecular() argument
1193 PointLitSpecular( const SkPoint3& location, SkColor lightColor, SkScalar surfaceScale, SkScalar ks, SkScalar shininess, sk_sp<SkImageFilter> input, const CropRect& cropRect) PointLitSpecular() argument
1201 SpotLitSpecular( const SkPoint3& location, const SkPoint3& target, SkScalar falloffExponent, SkScalar cutoffAngle, SkColor lightColor, SkScalar surfaceScale, SkScalar ks, SkScalar shininess, sk_sp<SkImageFilter> input, const CropRect& cropRect) SpotLitSpecular() argument
1218 Make(sk_sp<SkImageFilterLight> light, SkScalar surfaceScale, SkScalar kd, sk_sp<SkImageFilter> input, const SkRect* cropRect) Make() argument
1238 SkDiffuseLightingImageFilter(sk_sp<SkImageFilterLight> light, SkScalar surfaceScale, SkScalar kd, sk_sp<SkImageFilter> input, const SkRect* cropRect) SkDiffuseLightingImageFilter() argument
1251 SkScalar surfaceScale = buffer.readScalar(); CreateProc() local
1353 Make(sk_sp<SkImageFilterLight> light, SkScalar surfaceScale, SkScalar ks, SkScalar shininess, sk_sp<SkImageFilter> input, const SkRect* cropRect) Make() argument
1375 SkSpecularLightingImageFilter(sk_sp<SkImageFilterLight> light, SkScalar surfaceScale, SkScalar ks, SkScalar shininess, sk_sp<SkImageFilter> input, const SkRect* cropRect) SkSpecularLightingImageFilter() argument
1389 SkScalar surfaceScale = buffer.readScalar(); CreateProc() local
1632 LightingEffect(ClassID classID, GrSurfaceProxyView view, sk_sp<const SkImageFilterLight> light, SkScalar surfaceScale, const SkMatrix& matrix, BoundaryMode boundaryMode, const SkIRect* srcBounds, const GrCaps& caps) LightingEffect() argument
1676 DiffuseLightingEffect(GrSurfaceProxyView view, sk_sp<const SkImageFilterLight> light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar kd, BoundaryMode boundaryMode, const SkIRect* srcBounds, const GrCaps& caps) DiffuseLightingEffect() argument
1736 SkScalar surfaceScale = d->fRandom->nextSScalar1(); TestCreate() local
1892 SpecularLightingEffect(GrSurfaceProxyView view, sk_sp<const SkImageFilterLight> light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar ks, SkScalar shininess, BoundaryMode boundaryMode, const SkIRect* srcBounds, const GrCaps& caps) SpecularLightingEffect() argument
1928 SkScalar surfaceScale = d->fRandom->nextSScalar1(); TestCreate() local
[all...]
/third_party/skia/gm/
H A Dlighting.cpp94 SkScalar surfaceScale = SkIntToScalar(1); variable
109 pointLocation, SK_ColorWHITE, surfaceScale, kd, input, cr));
113 distantDirection, SK_ColorWHITE, surfaceScale, kd, input, cr));
118 surfaceScale, kd, input, cr));
124 surfaceScale, kd, input, cr));
135 distantDirection, greenYellow, surfaceScale, 4.f * kd, input, cr));
142 pointLocation, SK_ColorWHITE, surfaceScale, ks, shininess, input, cr));
146 distantDirection, SK_ColorWHITE, surfaceScale, ks, shininess, input, cr));
151 surfaceScale, ks, shininess, input, cr));
157 surfaceScale, k
[all...]
H A Dimagefiltersscaled.cpp92 SkScalar surfaceScale = SkIntToScalar(1); variable
108 SkImageFilters::PointLitDiffuse(pointLocation, white, surfaceScale, kd, nullptr),
110 cutoffAngle, white, surfaceScale, kd, nullptr),
H A Dimagefilterscropexpand.cpp61 SkScalar surfaceScale = SkIntToScalar(1); in DEF_SIMPLE_GM() local
98 SkImageFilters::PointLitDiffuse(pointLocation, SK_ColorWHITE, surfaceScale, kd, in DEF_SIMPLE_GM()
/third_party/skia/include/effects/
H A DSkImageFilters.h399 * @param surfaceScale Scale factor to transform from alpha values to physical height.
406 SkScalar surfaceScale, SkScalar kd,
415 * @param surfaceScale Scale factor to transform from alpha values to physical height.
422 SkScalar surfaceScale, SkScalar kd,
435 * @param surfaceScale Scale factor to transform from alpha values to physical height.
443 SkColor lightColor, SkScalar surfaceScale,
453 * @param surfaceScale Scale factor to transform from alpha values to physical height.
461 SkScalar surfaceScale, SkScalar ks,
470 * @param surfaceScale Scale factor to transform from alpha values to physical height.
478 SkScalar surfaceScale, SkScala
[all...]
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/
H A DImageFilter.java26 * @param surfaceScale Scale factor to transform from alpha values to physical height.
32 float surfaceScale, float kd, @Nullable ImageFilter input) { in distantLitDiffuse()
38 surfaceScale, kd, nativeInput)); in distantLitDiffuse()
113 float surfaceScale, float kd, in nDistantLitDiffuse()
31 distantLitDiffuse(float x, float y, float z, Color c, float surfaceScale, float kd, @Nullable ImageFilter input) distantLitDiffuse() argument
111 nDistantLitDiffuse(float x, float y, float z, float r, float g, float b, float surfaceScale, float kd, long native_input) nDistantLitDiffuse() argument
/third_party/skia/modules/androidkit/src/
H A DImageFilter.cpp23 jfloat surfaceScale, jfloat kd, in ImageFilter_DistantLitDiffuse()
28 auto filter = SkImageFilters::DistantLitDiffuse(direction, color, surfaceScale, kd, std::move(input)); in ImageFilter_DistantLitDiffuse()
21 ImageFilter_DistantLitDiffuse(JNIEnv* env, jobject, jfloat x, jfloat y, jfloat z, jfloat r, jfloat g, jfloat b, jfloat surfaceScale, jfloat kd, jlong native_input) ImageFilter_DistantLitDiffuse() argument
/third_party/skia/bench/
H A DLightingBench.cpp85 static SkScalar surfaceScale = SkIntToScalar(1); in GetSurfaceScale() local
86 return surfaceScale; in GetSurfaceScale()
/third_party/skia/fuzz/
H A DFuzzCanvas.cpp461 SkScalar surfaceScale, k, specularExponent, cutoffAngle, shininess; in make_fuzz_lighting_imagefilter() local
471 fuzz->next(&p, &lightColor, &surfaceScale, &k); in make_fuzz_lighting_imagefilter()
473 return SkImageFilters::DistantLitDiffuse(p, lightColor, surfaceScale, k, in make_fuzz_lighting_imagefilter()
477 fuzz->next(&p, &lightColor, &surfaceScale, &k); in make_fuzz_lighting_imagefilter()
479 return SkImageFilters::PointLitDiffuse(p, lightColor, surfaceScale, k, in make_fuzz_lighting_imagefilter()
483 fuzz->next(&p, &q, &specularExponent, &cutoffAngle, &lightColor, &surfaceScale, &k); in make_fuzz_lighting_imagefilter()
486 p, q, specularExponent, cutoffAngle, lightColor, surfaceScale, k, in make_fuzz_lighting_imagefilter()
489 fuzz->next(&p, &lightColor, &surfaceScale, &k, &shininess); in make_fuzz_lighting_imagefilter()
491 return SkImageFilters::DistantLitSpecular(p, lightColor, surfaceScale, k, in make_fuzz_lighting_imagefilter()
495 fuzz->next(&p, &lightColor, &surfaceScale, in make_fuzz_lighting_imagefilter()
[all...]
/third_party/rust/crates/bindgen/bindgen-tests/tests/
H A Dstylo.hpp[all...]

Completed in 30 milliseconds