Home
last modified time | relevance | path

Searched refs:SkLightingImageFilter (Results 1 – 16 of 16) sorted by relevance

/external/skia/gm/
Dlighting.cpp96 paint.setImageFilter(SkLightingImageFilter::MakePointLitDiffuse(pointLocation, in onDraw()
104 paint.setImageFilter(SkLightingImageFilter::MakeDistantLitDiffuse(distantDirection, in onDraw()
112 paint.setImageFilter(SkLightingImageFilter::MakeSpotLitDiffuse(spotLocation, in onDraw()
125 paint.setImageFilter(SkLightingImageFilter::MakePointLitSpecular(pointLocation, in onDraw()
134 paint.setImageFilter(SkLightingImageFilter::MakeDistantLitSpecular(distantDirection, in onDraw()
143 paint.setImageFilter(SkLightingImageFilter::MakeSpotLitSpecular(spotLocation, in onDraw()
Dimagefiltersscaled.cpp111 SkLightingImageFilter::MakePointLitDiffuse(pointLocation, white, surfaceScale, kd, in onDraw()
113 SkLightingImageFilter::MakeSpotLitDiffuse(spotLocation, spotTarget, spotExponent, in onDraw()
Dimagefiltersclipped.cpp112 SkLightingImageFilter::MakePointLitDiffuse(pointLocation, SK_ColorWHITE, SK_Scalar1, in onDraw()
Dimagefilterscropexpand.cpp123 SkLightingImageFilter::MakePointLitDiffuse(pointLocation,
/external/skia/bench/
DLightingBench.cpp108 draw(loops, canvas, SkLightingImageFilter::MakePointLitDiffuse(GetPointLocation(), in onDraw()
129 draw(loops, canvas, SkLightingImageFilter::MakeDistantLitDiffuse(GetDistantDirection(), in onDraw()
150 draw(loops, canvas, SkLightingImageFilter::MakeSpotLitDiffuse(GetSpotLocation(), in onDraw()
174 draw(loops, canvas, SkLightingImageFilter::MakePointLitSpecular(GetPointLocation(), in onDraw()
196 draw(loops, canvas, SkLightingImageFilter::MakeDistantLitSpecular(GetDistantDirection(), in onDraw()
218 draw(loops, canvas, SkLightingImageFilter::MakeSpotLitSpecular(GetSpotLocation(), in onDraw()
/external/skia/include/effects/
DSkLightingImageFilter.h18 class SK_API SkLightingImageFilter : public SkImageFilter {
40 ~SkLightingImageFilter() override;
45 SkLightingImageFilter(sk_sp<SkImageFilterLight> light,
/external/skia/samplecode/
DSampleFilterFuzz.cpp618 ? SkLightingImageFilter::MakeDistantLitDiffuse(make_point(), make_color(), in make_image_filter()
621 : SkLightingImageFilter::MakeDistantLitSpecular(make_point(), make_color(), in make_image_filter()
628 ? SkLightingImageFilter::MakePointLitDiffuse(make_point(), make_color(), in make_image_filter()
631 : SkLightingImageFilter::MakePointLitSpecular(make_point(), make_color(), in make_image_filter()
638 ? SkLightingImageFilter::MakeSpotLitDiffuse(SkPoint3::Make(0, 0, 0), in make_image_filter()
643 : SkLightingImageFilter::MakeSpotLitSpecular(SkPoint3::Make(0, 0, 0), in make_image_filter()
/external/skia/src/effects/
DSkLightingImageFilter.cpp348 class SkLightingImageFilterInternal : public SkLightingImageFilter {
380 typedef SkLightingImageFilter INHERITED;
501 friend class SkLightingImageFilter;
539 friend class SkLightingImageFilter;
1101 SkLightingImageFilter::SkLightingImageFilter(sk_sp<SkImageFilterLight> light, in SkLightingImageFilter() function in SkLightingImageFilter
1109 SkLightingImageFilter::~SkLightingImageFilter() {} in ~SkLightingImageFilter()
1111 sk_sp<SkImageFilter> SkLightingImageFilter::MakeDistantLitDiffuse(const SkPoint3& direction, in MakeDistantLitDiffuse()
1122 sk_sp<SkImageFilter> SkLightingImageFilter::MakePointLitDiffuse(const SkPoint3& location, in MakePointLitDiffuse()
1133 sk_sp<SkImageFilter> SkLightingImageFilter::MakeSpotLitDiffuse(const SkPoint3& location, in MakeSpotLitDiffuse()
1148 sk_sp<SkImageFilter> SkLightingImageFilter::MakeDistantLitSpecular(const SkPoint3& direction, in MakeDistantLitSpecular()
[all …]
/external/skia/src/ports/
DSkGlobalInitialization_default.cpp125 SkLightingImageFilter::InitializeFlattenables(); in InitEffects()
/external/skia/fuzz/
DFilterFuzz.cpp692 ? SkLightingImageFilter::MakeDistantLitDiffuse(p, c, ss, kd, fil) in make_image_filter()
693 : SkLightingImageFilter::MakeDistantLitSpecular(p, c, ss, kd, shininess, fil); in make_image_filter()
705 ? SkLightingImageFilter::MakePointLitDiffuse(p, c, ss, kd, fil) in make_image_filter()
706 : SkLightingImageFilter::MakePointLitSpecular(p, c, ss, kd, shininess, fil); in make_image_filter()
718 ? SkLightingImageFilter::MakeSpotLitDiffuse(SkPoint3::Make(0, 0, 0), in make_image_filter()
720 : SkLightingImageFilter::MakeSpotLitSpecular(SkPoint3::Make(0, 0, 0), in make_image_filter()
DFuzzCanvas.cpp641 return SkLightingImageFilter::MakeDistantLitDiffuse(p, lightColor, surfaceScale, k, in make_fuzz_lighting_imagefilter()
647 return SkLightingImageFilter::MakePointLitDiffuse(p, lightColor, surfaceScale, k, in make_fuzz_lighting_imagefilter()
653 return SkLightingImageFilter::MakeSpotLitDiffuse( in make_fuzz_lighting_imagefilter()
659 return SkLightingImageFilter::MakeDistantLitSpecular(p, lightColor, surfaceScale, k, in make_fuzz_lighting_imagefilter()
665 return SkLightingImageFilter::MakePointLitSpecular(p, lightColor, surfaceScale, k, in make_fuzz_lighting_imagefilter()
672 return SkLightingImageFilter::MakeSpotLitSpecular( in make_fuzz_lighting_imagefilter()
/external/skia/gn/
Deffects.gni45 "$_src/effects/SkLightingImageFilter.cpp",
113 "$_include/effects/SkLightingImageFilter.h",
/external/skia/tests/
DQuickRejectTest.cpp166 sk_sp<SkImageFilter> filter = SkLightingImageFilter::MakeDistantLitDiffuse( in DEF_TEST()
DImageFilterTest.cpp172 SkLightingImageFilter::MakePointLitDiffuse(location, SK_ColorGREEN, 0, 0, in FilterList()
175 SkLightingImageFilter::MakePointLitSpecular(location, SK_ColorGREEN, 0, 0, 0, in FilterList()
512 paint.setImageFilter(SkLightingImageFilter::MakeSpotLitSpecular( in DEF_TEST()
1623 sk_sp<SkImageFilter> lighting(SkLightingImageFilter::MakePointLitDiffuse(location, in DEF_TEST()
/external/skia/site/user/api/
Dindex.md78 …- [SkLightingImageFilter](http://skia-doc.commondatastorage.googleapis.com/doxygen/doxygen/html/…
/external/skia/
DAndroid.bp335 "src/effects/SkLightingImageFilter.cpp",