Home
last modified time | relevance | path

Searched refs:SkLights (Results 1 – 13 of 13) sorted by relevance

/third_party/flutter/skia/gm/
Dlightingshader2.cpp67 SkLights::Builder builder; in onOnceBeforeDraw()
68 builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 1.0f, 1.0f), in onOnceBeforeDraw()
76 SkLights::Builder builder; in onOnceBeforeDraw()
83 SkLights::Builder builder; in onOnceBeforeDraw()
84 builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 0.0f, 0.0f), in onOnceBeforeDraw()
86 builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(0.0f, 1.0f, 0.0f), in onOnceBeforeDraw()
123 bool useTranslucentPaint, bool useTranslucentShader, sk_sp<SkLights> lights) { in drawRect()
277 sk_sp<SkLights> fLights;
278 sk_sp<SkLights> fLightsNoDir;
279 sk_sp<SkLights> fLightsTwoDir;
Dlightingshader.cpp82 SkLights::Builder builder; in onOnceBeforeDraw()
85 builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 1.0f, 1.0f), in onOnceBeforeDraw()
160 sk_sp<SkLights> fLights;
/third_party/flutter/skia/src/shaders/
DSkLightingShader.cpp50 sk_sp<SkLights> lights) in SkLightingShaderImpl()
93 sk_sp<SkLights> fLights;
118 sk_sp<SkLights> lights) { in Make()
129 const SkTArray<SkLights::Light>& directionalLights() const { return fDirectionalLights; } in directionalLights()
206 const SkTArray<SkLights::Light>& directionalLights = lightingFP.directionalLights(); in onSetData()
210 for (const SkLights::Light& light : directionalLights) { in onSetData()
229 SkTArray<SkLights::Light> fDirectionalLights;
241 LightingFP(std::unique_ptr<GrFragmentProcessor> normalFP, sk_sp<SkLights> lights) in LightingFP()
246 if (SkLights::Light::kDirectional_LightType == lights->light(i).type()) { in LightingFP()
272 SkTArray<SkLights::Light> fDirectionalLights;
[all …]
DSkLights.h23 class SK_API SkLights : public SkRefCnt {
93 friend class SkLights;
116 Builder() : fLights(new SkLights) {} in Builder()
136 sk_sp<SkLights> finish() { in finish()
141 sk_sp<SkLights> fLights;
172 static sk_sp<SkLights> MakeFromBuffer(SkReadBuffer& buf);
184 SkLights() : fAmbientLightColor(SkColor3f::Make(0.0f, 0.0f, 0.0f)) {} in SkLights() function
DSkLights.cpp12 sk_sp<SkLights> SkLights::MakeFromBuffer(SkReadBuffer& buf) { in MakeFromBuffer()
51 void SkLights::flatten(SkWriteBuffer& buf) const { in flatten()
DSkLightingShader.h34 sk_sp<SkLights> lights);
/third_party/flutter/skia/samplecode/
DSampleLighting.cpp16 static sk_sp<SkLights> create_lights(SkScalar angle, SkScalar blue) { in create_lights()
22 SkLights::Builder builder; in create_lights()
24 builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 1.0f, blue), dir)); in create_lights()
59 sk_sp<SkLights> lights(create_lights(fLightAngle, fColorFactor)); in onDrawContent()
DSampleLitAtlas.cpp182 SkLights::Builder builder; in updateLights()
184 builder.add(SkLights::Light::MakeDirectional( in updateLights()
439 sk_sp<SkLights> fLights;
/third_party/flutter/skia/tests/
DSerializationTest.cpp598 SkLights::Builder builder; in DEF_TEST()
600 builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 1.0f, 1.0f), in DEF_TEST()
604 sk_sp<SkLights> fLights = builder.finish(); in DEF_TEST()
/third_party/flutter/skia/gn/
Dcore.gni438 "$_src/shaders/SkLights.cpp",
439 "$_src/shaders/SkLights.h",
/third_party/flutter/build/skia/ohos/
DBUILD.gn512 "$flutter_root/skia/src/shaders/SkLights.cpp",
/third_party/flutter/build/skia/
DBUILD.gn826 "$flutter_root/skia/src/shaders/SkLights.cpp",
/third_party/flutter/engine/flutter/ci/licenses_golden/
Dlicenses_skia720 FILE: ../../../third_party/skia/src/shaders/SkLights.cpp
2982 FILE: ../../../third_party/skia/src/shaders/SkLights.h