Home
last modified time | relevance | path

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

/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()
44 paint.setMaskFilter(SkEmbossMaskFilter::Make(SkBlurMask::ConvertRadiusToSigma(4), fLight)); in onDrawContent()
DSample3D.cpp248 LightOnSphere fLight = {{200 + DX, 200 + DY}, 800, 12}; member in SampleCubeBase
261 case 'Z': fLight.fDistance += 10; return true; in onChar()
262 case 'z': fLight.fDistance -= 10; return true; in onChar()
301 fLight.draw(canvas); in onDrawContent()
316 SkV2 p = fLight.fLoc - SkV2{x, y}; in onFindClickHandler()
317 if (p.length() <= fLight.fRadius) { in onFindClickHandler()
334 fLight.fLoc = fSphere.pinLoc({click->fCurr.fX, click->fCurr.fY}); in onClick()
422 builder.uniform("lightPos") = fLight.computeWorldPos(fSphere); in drawContent()
/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/src/effects/
DSkEmbossMaskFilter.cpp64 : fLight(light), fBlurSigma(blurSigma) in SkEmbossMaskFilter()
67 SkASSERT(SkScalarsAreFinite(fLight.fDirection, 3)); in SkEmbossMaskFilter()
109 Light light = fLight; in filterMask()
111 (SkVector*)(void*)fLight.fDirection, 1); in filterMask()
118 SkPoint::Length(fLight.fDirection[0], fLight.fDirection[1])); in filterMask()
139 Light tmpLight = fLight; in flatten()
DSkEmbossMaskFilter.h42 Light fLight;
/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/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.cpp412 , fLight(std::move(light)) in SkLightingImageFilterInternal()
417 fLight->flattenLight(buffer); in flatten()
423 const SkImageFilterLight* light() const { return fLight.get(); } in light()
424 inline sk_sp<const SkImageFilterLight> refLight() const { return fLight; } in refLight()
450 sk_sp<SkImageFilterLight> fLight; member in SkLightingImageFilterInternal
616 const SkImageFilterLight* light() const { return fLight.get(); } in light()
636 sk_sp<const SkImageFilterLight> fLight; member in GrLightingEffect
1548 GrGLLightingEffect() : fLight(nullptr) { } in GrGLLightingEffect()
1549 ~GrGLLightingEffect() override { delete fLight; } in ~GrGLLightingEffect()
1570 GrGLLight* fLight; member in GrGLLightingEffect
[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 …]