Searched refs:SkLights (Results 1 – 13 of 13) sorted by relevance
/third_party/flutter/skia/gm/ |
D | lightingshader2.cpp | 67 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;
|
D | lightingshader.cpp | 82 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/ |
D | SkLightingShader.cpp | 50 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 …]
|
D | SkLights.h | 23 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
|
D | SkLights.cpp | 12 sk_sp<SkLights> SkLights::MakeFromBuffer(SkReadBuffer& buf) { in MakeFromBuffer() 51 void SkLights::flatten(SkWriteBuffer& buf) const { in flatten()
|
D | SkLightingShader.h | 34 sk_sp<SkLights> lights);
|
/third_party/flutter/skia/samplecode/ |
D | SampleLighting.cpp | 16 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()
|
D | SampleLitAtlas.cpp | 182 SkLights::Builder builder; in updateLights() 184 builder.add(SkLights::Light::MakeDirectional( in updateLights() 439 sk_sp<SkLights> fLights;
|
/third_party/flutter/skia/tests/ |
D | SerializationTest.cpp | 598 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/ |
D | core.gni | 438 "$_src/shaders/SkLights.cpp", 439 "$_src/shaders/SkLights.h",
|
/third_party/flutter/build/skia/ohos/ |
D | BUILD.gn | 512 "$flutter_root/skia/src/shaders/SkLights.cpp",
|
/third_party/flutter/build/skia/ |
D | BUILD.gn | 826 "$flutter_root/skia/src/shaders/SkLights.cpp",
|
/third_party/flutter/engine/flutter/ci/licenses_golden/ |
D | licenses_skia | 720 FILE: ../../../third_party/skia/src/shaders/SkLights.cpp 2982 FILE: ../../../third_party/skia/src/shaders/SkLights.h
|