Home
last modified time | relevance | path

Searched refs:SkDistantLight (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/effects/imagefilters/
DSkLightingImageFilter.cpp834 class SkDistantLight : public SkImageFilterLight { class
836 SkDistantLight(const SkPoint3& direction, SkColor color) in SkDistantLight() function in SkDistantLight
856 return sk_make_sp<SkDistantLight>(fDirection, xform_color(this->color(), xformer)); in makeColorSpace()
864 const SkDistantLight& o = static_cast<const SkDistantLight&>(other); in isEqual()
869 SkDistantLight(SkReadBuffer& buffer) : INHERITED(buffer) { in SkDistantLight() function in SkDistantLight
874 SkDistantLight(const SkPoint3& direction, const SkPoint3& color) in SkDistantLight() function in SkDistantLight
878 return new SkDistantLight(direction(), color()); in transform()
1138 return new SkDistantLight(buffer); in UnflattenLight()
1167 sk_sp<SkImageFilterLight> light(new SkDistantLight(direction, lightColor)); in MakeDistantLitDiffuse()
1205 sk_sp<SkImageFilterLight> light(new SkDistantLight(direction, lightColor)); in MakeDistantLitSpecular()
[all …]
/external/skia/src/effects/imagefilters/
DSkLightingImageFilter.cpp850 class SkDistantLight : public SkImageFilterLight { class
852 SkDistantLight(const SkPoint3& direction, SkColor color) in SkDistantLight() function in SkDistantLight
876 const SkDistantLight& o = static_cast<const SkDistantLight&>(other); in isEqual()
881 SkDistantLight(SkReadBuffer& buffer) : INHERITED(buffer) { in SkDistantLight() function in SkDistantLight
886 SkDistantLight(const SkPoint3& direction, const SkPoint3& color) in SkDistantLight() function in SkDistantLight
890 return new SkDistantLight(direction(), color()); in transform()
1131 return new SkDistantLight(buffer); in UnflattenLight()
1147 sk_sp<SkImageFilterLight> light(new SkDistantLight(direction, lightColor)); in DistantLitDiffuse()
1173 sk_sp<SkImageFilterLight> light(new SkDistantLight(direction, lightColor)); in DistantLitSpecular()
1704 return new SkDistantLight(random_point3(random), random->nextU()); in create_random_light()
[all …]