Home
last modified time | relevance | path

Searched refs:fLight (Results 1 – 10 of 10) sorted by relevance

/external/skqp/samplecode/
DSampleEmboss.cpp25 SkEmbossMaskFilter::Light fLight; member in EmbossView
28 fLight.fDirection[0] = SK_Scalar1; in EmbossView()
29 fLight.fDirection[1] = SK_Scalar1; in EmbossView()
30 fLight.fDirection[2] = SK_Scalar1; in EmbossView()
31 fLight.fAmbient = 128; in EmbossView()
32 fLight.fSpecular = 16*2; in EmbossView()
50 paint.setMaskFilter(SkEmbossMaskFilter::Make(SkBlurMask::ConvertRadiusToSigma(4), fLight)); in onDrawContent()
/external/skia/samplecode/
DSampleEmboss.cpp25 SkEmbossMaskFilter::Light fLight; member in EmbossView
28 fLight.fDirection[0] = SK_Scalar1; in EmbossView()
29 fLight.fDirection[1] = SK_Scalar1; in EmbossView()
30 fLight.fDirection[2] = SK_Scalar1; in EmbossView()
31 fLight.fAmbient = 128; in EmbossView()
32 fLight.fSpecular = 16*2; in EmbossView()
50 paint.setMaskFilter(SkEmbossMaskFilter::Make(SkBlurMask::ConvertRadiusToSigma(4), fLight)); in onDrawContent()
/external/skqp/src/effects/
DSkEmbossMaskFilter.cpp63 : fLight(light), fBlurSigma(blurSigma) in SkEmbossMaskFilter()
66 SkASSERT(SkScalarsAreFinite(fLight.fDirection, 3)); in SkEmbossMaskFilter()
108 Light light = fLight; in filterMask()
110 (SkVector*)(void*)fLight.fDirection, 1); in filterMask()
117 SkPoint::Length(fLight.fDirection[0], fLight.fDirection[1])); in filterMask()
138 Light tmpLight = fLight; in flatten()
DSkEmbossMaskFilter.h42 Light fLight;
/external/skia/src/effects/
DSkEmbossMaskFilter.cpp63 : fLight(light), fBlurSigma(blurSigma) in SkEmbossMaskFilter()
66 SkASSERT(SkScalarsAreFinite(fLight.fDirection, 3)); in SkEmbossMaskFilter()
108 Light light = fLight; in filterMask()
110 (SkVector*)(void*)fLight.fDirection, 1); in filterMask()
117 SkPoint::Length(fLight.fDirection[0], fLight.fDirection[1])); in filterMask()
138 Light tmpLight = fLight; in flatten()
DSkEmbossMaskFilter.h42 Light fLight;
/external/skia/include/effects/
DSkLightingImageFilter.h50 const SkImageFilterLight* light() const { return fLight.get(); } in light()
56 sk_sp<SkImageFilterLight> fLight;
/external/skqp/include/effects/
DSkLightingImageFilter.h50 const SkImageFilterLight* light() const { return fLight.get(); } in light()
56 sk_sp<SkImageFilterLight> fLight;
/external/skia/src/effects/imagefilters/
DSkLightingImageFilter.cpp604 const SkImageFilterLight* light() const { return fLight.get(); } in light()
625 sk_sp<const SkImageFilterLight> fLight; member in GrLightingEffect
1157 , fLight(std::move(light)) in SkLightingImageFilter()
1242 fLight->flattenLight(buffer); in flatten()
1246 sk_sp<const SkImageFilterLight> SkLightingImageFilter::refLight() const { return fLight; } in refLight()
1619 GrGLLightingEffect() : fLight(nullptr) { } in GrGLLightingEffect()
1620 ~GrGLLightingEffect() override { delete fLight; } in ~GrGLLightingEffect()
1642 GrGLLight* fLight; member in GrGLLightingEffect
1700 , fLight(std::move(light)) in GrLightingEffect()
1713 , fLight(that.fLight) in GrLightingEffect()
[all …]
/external/skqp/src/effects/imagefilters/
DSkLightingImageFilter.cpp602 const SkImageFilterLight* light() const { return fLight.get(); } in light()
623 sk_sp<const SkImageFilterLight> fLight; member in GrLightingEffect
1155 , fLight(std::move(light)) in SkLightingImageFilter()
1240 fLight->flattenLight(buffer); in flatten()
1244 sk_sp<const SkImageFilterLight> SkLightingImageFilter::refLight() const { return fLight; } in refLight()
1617 GrGLLightingEffect() : fLight(nullptr) { } in GrGLLightingEffect()
1618 ~GrGLLightingEffect() override { delete fLight; } in ~GrGLLightingEffect()
1640 GrGLLight* fLight; member in GrGLLightingEffect
1698 , fLight(std::move(light)) in GrLightingEffect()
1711 , fLight(that.fLight) in GrLightingEffect()
[all …]