Home
last modified time | relevance | path

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

/external/skia/src/effects/
DSkEmbossMaskFilter.cpp69 : fLight(light), fBlurSigma(blurSigma) { in SkEmbossMaskFilter()
70 normalize(fLight.fDirection); 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()
149 str->appendScalar(fLight.fDirection[0]); in toString()
151 str->appendScalar(fLight.fDirection[1]); in toString()
153 str->appendScalar(fLight.fDirection[2]); in toString()
157 fLight.fAmbient, fLight.fSpecular); in toString()
DSkLightingImageFilter.cpp540 const SkImageFilterLight* light() const { return fLight; } in light()
555 const SkImageFilterLight* fLight; member in __anonae3a547c0111::GrLightingEffect
1099 , fLight(SkRef(light)) in SkLightingImageFilter()
1178 fLight->flattenLight(buffer); in flatten()
1573 GrGLLightingEffect() : fLight(nullptr) { } in GrGLLightingEffect()
1574 virtual ~GrGLLightingEffect() { delete fLight; } in ~GrGLLightingEffect()
1596 GrGLLight* fLight; member in GrGLLightingEffect
1653 , fLight(light) in GrLightingEffect()
1658 fLight->ref(); in GrLightingEffect()
1665 fLight->unref(); in ~GrLightingEffect()
[all …]
/external/skia/samplecode/
DSampleEmboss.cpp29 SkEmbossMaskFilter::Light fLight; member in EmbossView
32 fLight.fDirection[0] = SK_Scalar1; in EmbossView()
33 fLight.fDirection[1] = SK_Scalar1; in EmbossView()
34 fLight.fDirection[2] = SK_Scalar1; in EmbossView()
35 fLight.fAmbient = 128; in EmbossView()
36 fLight.fSpecular = 16*2; in EmbossView()
56 SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(4)), fLight))->unref(); in onDrawContent()
/external/skia/include/effects/
DSkLightingImageFilter.h50 const SkImageFilterLight* light() const { return fLight.get(); } in light()
56 SkAutoTUnref<SkImageFilterLight> fLight; variable
DSkEmbossMaskFilter.h43 Light fLight;