Home
last modified time | relevance | path

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

/third_party/skia/src/effects/imagefilters/
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 static inline SkPoint3 leftNormal(int m[9], SkScalar surfaceScale) { in leftNormal() argument
[all …]
/third_party/flutter/skia/src/effects/imagefilters/
DSkLightingImageFilter.cpp120 virtual SkPoint3 surfaceToLight(int x, int y, int z, SkScalar surfaceScale) const = 0;
200 static inline SkPoint3 pointToNormal(SkScalar x, SkScalar y, SkScalar surfaceScale) { in pointToNormal() argument
201 SkPoint3 vector = SkPoint3::Make(-x * surfaceScale, -y * surfaceScale, 1); in pointToNormal()
206 static inline SkPoint3 topLeftNormal(int m[9], SkScalar surfaceScale) { in topLeftNormal() argument
209 surfaceScale); in topLeftNormal()
212 static inline SkPoint3 topNormal(int m[9], SkScalar surfaceScale) { in topNormal() argument
215 surfaceScale); in topNormal()
218 static inline SkPoint3 topRightNormal(int m[9], SkScalar surfaceScale) { in topRightNormal() argument
221 surfaceScale); in topRightNormal()
224 static inline SkPoint3 leftNormal(int m[9], SkScalar surfaceScale) { in leftNormal() argument
[all …]
DSkImageFilters.cpp211 const SkPoint3& direction, SkColor lightColor, SkScalar surfaceScale, SkScalar kd, in DistantLitDiffuse() argument
214 return SkLightingImageFilter::MakeDistantLitDiffuse(direction, lightColor, surfaceScale, kd, in DistantLitDiffuse()
219 const SkPoint3& location, SkColor lightColor, SkScalar surfaceScale, SkScalar kd, in PointLitDiffuse() argument
222 return SkLightingImageFilter::MakePointLitDiffuse(location, lightColor, surfaceScale, kd, in PointLitDiffuse()
228 SkScalar cutoffAngle, SkColor lightColor, SkScalar surfaceScale, SkScalar kd, in SpotLitDiffuse() argument
232 lightColor, surfaceScale, kd, in SpotLitDiffuse()
237 const SkPoint3& direction, SkColor lightColor, SkScalar surfaceScale, SkScalar ks, in DistantLitSpecular() argument
240 return SkLightingImageFilter::MakeDistantLitSpecular(direction, lightColor, surfaceScale, in DistantLitSpecular()
245 const SkPoint3& location, SkColor lightColor, SkScalar surfaceScale, SkScalar ks, in PointLitSpecular() argument
248 return SkLightingImageFilter::MakePointLitSpecular(location, lightColor, surfaceScale, ks, in PointLitSpecular()
[all …]
/third_party/skia/gm/
Dlighting.cpp94 SkScalar surfaceScale = SkIntToScalar(1); in onDraw() local
109 pointLocation, SK_ColorWHITE, surfaceScale, kd, input, cr)); in onDraw()
113 distantDirection, SK_ColorWHITE, surfaceScale, kd, input, cr)); in onDraw()
118 surfaceScale, kd, input, cr)); in onDraw()
124 surfaceScale, kd, input, cr)); in onDraw()
135 distantDirection, greenYellow, surfaceScale, 4.f * kd, input, cr)); in onDraw()
142 pointLocation, SK_ColorWHITE, surfaceScale, ks, shininess, input, cr)); in onDraw()
146 distantDirection, SK_ColorWHITE, surfaceScale, ks, shininess, input, cr)); in onDraw()
151 surfaceScale, ks, shininess, input, cr)); in onDraw()
157 surfaceScale, ks, shininess, input, cr)); in onDraw()
[all …]
Dimagefiltersscaled.cpp92 SkScalar surfaceScale = SkIntToScalar(1); in onDraw() local
108 SkImageFilters::PointLitDiffuse(pointLocation, white, surfaceScale, kd, nullptr), in onDraw()
110 cutoffAngle, white, surfaceScale, kd, nullptr), in onDraw()
Dimagefilterscropexpand.cpp61 SkScalar surfaceScale = SkIntToScalar(1); variable
98 SkImageFilters::PointLitDiffuse(pointLocation, SK_ColorWHITE, surfaceScale, kd,
/third_party/flutter/skia/include/effects/
DSkLightingImageFilter.h20 SkColor lightColor, SkScalar surfaceScale, SkScalar kd,
23 SkColor lightColor, SkScalar surfaceScale, SkScalar kd,
27 SkColor lightColor, SkScalar surfaceScale, SkScalar kd,
30 SkColor lightColor, SkScalar surfaceScale, SkScalar ks, SkScalar shininess,
33 SkColor lightColor, SkScalar surfaceScale, SkScalar ks, SkScalar shininess,
37 SkColor lightColor, SkScalar surfaceScale, SkScalar ks, SkScalar shininess,
DSkImageFilters.h329 SkScalar surfaceScale, SkScalar kd,
345 SkScalar surfaceScale, SkScalar kd,
366 SkColor lightColor, SkScalar surfaceScale,
384 SkScalar surfaceScale, SkScalar ks,
401 SkScalar surfaceScale, SkScalar ks,
423 SkColor lightColor, SkScalar surfaceScale,
/third_party/flutter/skia/gm/
Dlighting.cpp93 SkScalar surfaceScale = SkIntToScalar(1); in onDraw() local
106 pointLocation, white, surfaceScale, kd, input, cr)); in onDraw()
110 distantDirection, white, surfaceScale, kd, input, cr)); in onDraw()
114 spotLocation, spotTarget, spotExponent, cutoffAngle, white, surfaceScale, kd, in onDraw()
121 pointLocation, white, surfaceScale, ks, shininess, input, cr)); in onDraw()
125 distantDirection, white, surfaceScale, ks, shininess, input, cr)); in onDraw()
129 spotLocation, spotTarget, spotExponent, cutoffAngle, white, surfaceScale, ks, in onDraw()
Dimagefiltersscaled.cpp98 SkScalar surfaceScale = SkIntToScalar(1); in onDraw() local
113 SkImageFilters::PointLitDiffuse(pointLocation, white, surfaceScale, kd, nullptr), in onDraw()
115 cutoffAngle, white, surfaceScale, kd, nullptr), in onDraw()
Dimagefilterscropexpand.cpp63 SkScalar surfaceScale = SkIntToScalar(1); variable
100 SkImageFilters::PointLitDiffuse(pointLocation, SK_ColorWHITE, surfaceScale, kd,
/third_party/skia/include/effects/
DSkImageFilters.h406 SkScalar surfaceScale, SkScalar kd,
422 SkScalar surfaceScale, SkScalar kd,
443 SkColor lightColor, SkScalar surfaceScale,
461 SkScalar surfaceScale, SkScalar ks,
478 SkScalar surfaceScale, SkScalar ks,
500 SkColor lightColor, SkScalar surfaceScale,
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/
DImageFilter.java32 … float surfaceScale, float kd, @Nullable ImageFilter input) { in distantLitDiffuse() argument
38 surfaceScale, kd, nativeInput)); in distantLitDiffuse()
113 float surfaceScale, float kd, in nDistantLitDiffuse() argument
/third_party/skia/modules/androidkit/src/
DImageFilter.cpp23 jfloat surfaceScale, jfloat kd, in ImageFilter_DistantLitDiffuse() argument
28 …auto filter = SkImageFilters::DistantLitDiffuse(direction, color, surfaceScale, kd, std::move(inpu… in ImageFilter_DistantLitDiffuse()
/third_party/parse5/test/data/parser-feedback/
Dtests11.test5 …nent='' spreadMethod='' startOffset='' stdDeviation='' stitchTiles='' surfaceScale='' systemLangua…
6 …nent='' spreadMethod='' startOffset='' stdDeviation='' stitchTiles='' surfaceScale='' systemLangua…
71 "surfaceScale": "",
158 "surfaceScale": "",
246 "surfaceScale": "",
267 …nent='' spreadMethod='' startOffset='' stdDeviation='' stitchTiles='' surfaceScale='' systemLangua…
268 …nent='' spreadMethod='' startOffset='' stdDeviation='' stitchTiles='' surfaceScale='' systemLangua…
/third_party/skia/fuzz/
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, &k, &shininess); in make_fuzz_lighting_imagefilter()
[all …]
/third_party/flutter/skia/bench/
DLightingBench.cpp85 static SkScalar surfaceScale = SkIntToScalar(1); in GetSurfaceScale() local
86 return surfaceScale; in GetSurfaceScale()
/third_party/skia/bench/
DLightingBench.cpp85 static SkScalar surfaceScale = SkIntToScalar(1); in GetSurfaceScale() local
86 return surfaceScale; in GetSurfaceScale()
/third_party/flutter/skia/fuzz/
DFuzzCanvas.cpp469 SkScalar surfaceScale, k, specularExponent, cutoffAngle, shininess; in make_fuzz_lighting_imagefilter() local
479 fuzz->next(&p, &lightColor, &surfaceScale, &k); in make_fuzz_lighting_imagefilter()
481 return SkImageFilters::DistantLitDiffuse(p, lightColor, surfaceScale, k, in make_fuzz_lighting_imagefilter()
485 fuzz->next(&p, &lightColor, &surfaceScale, &k); in make_fuzz_lighting_imagefilter()
487 return SkImageFilters::PointLitDiffuse(p, lightColor, surfaceScale, k, in make_fuzz_lighting_imagefilter()
491 fuzz->next(&p, &q, &specularExponent, &cutoffAngle, &lightColor, &surfaceScale, &k); in make_fuzz_lighting_imagefilter()
494 p, q, specularExponent, cutoffAngle, lightColor, surfaceScale, k, in make_fuzz_lighting_imagefilter()
497 fuzz->next(&p, &lightColor, &surfaceScale, &k, &shininess); in make_fuzz_lighting_imagefilter()
499 return SkImageFilters::DistantLitSpecular(p, lightColor, surfaceScale, k, in make_fuzz_lighting_imagefilter()
503 fuzz->next(&p, &lightColor, &surfaceScale, &k, &shininess); in make_fuzz_lighting_imagefilter()
[all …]
/third_party/typescript/tests/lib/
Dreact16.d.ts2012 surfaceScale?: number | string;
Dlib.d.ts13005 surfaceScale: SVGAnimatedNumber; property
13178 surfaceScale: SVGAnimatedNumber; property
/third_party/typescript/lib/
Dlib.dom.d.ts13288 readonly surfaceScale: SVGAnimatedNumber; property
13546 readonly surfaceScale: SVGAnimatedNumber; property
/third_party/typescript/src/lib/
Ddom.generated.d.ts13268 readonly surfaceScale: SVGAnimatedNumber; property
13526 readonly surfaceScale: SVGAnimatedNumber; property
/third_party/rust/crates/bindgen/bindgen-tests/tests/
Dstylo.hpp82762 static nsIAtom* surfaceScale; member in nsGkAtoms