/external/skia/src/shaders/ |
D | SkLights.h | 24 class SK_API SkLights : public SkRefCnt { 94 friend class SkLights; 117 Builder() : fLights(new SkLights) {} in Builder() 137 sk_sp<SkLights> finish() { in finish() 142 sk_sp<SkLights> fLights; 173 static sk_sp<SkLights> MakeFromBuffer(SkReadBuffer& buf); 185 SkLights() : fAmbientLightColor(SkColor3f::Make(0.0f, 0.0f, 0.0f)) {} in SkLights() function 187 sk_sp<SkLights> makeColorSpace(SkColorSpaceXformer* xformer) const;
|
D | SkLightingShader.cpp | 51 sk_sp<SkLights> lights) in SkLightingShaderImpl() 95 sk_sp<SkLights> fLights; 120 sk_sp<SkLights> lights) { in Make() 131 const SkTArray<SkLights::Light>& directionalLights() const { return fDirectionalLights; } in directionalLights() 208 const SkTArray<SkLights::Light>& directionalLights = lightingFP.directionalLights(); in onSetData() 212 for (const SkLights::Light& light : directionalLights) { in onSetData() 231 SkTArray<SkLights::Light> fDirectionalLights; 243 LightingFP(std::unique_ptr<GrFragmentProcessor> normalFP, sk_sp<SkLights> lights) in LightingFP() 248 if (SkLights::Light::kDirectional_LightType == lights->light(i).type()) { in LightingFP() 274 SkTArray<SkLights::Light> fDirectionalLights; [all …]
|
D | SkLights.cpp | 13 sk_sp<SkLights> SkLights::MakeFromBuffer(SkReadBuffer& buf) { in MakeFromBuffer() 63 sk_sp<SkLights> SkLights::makeColorSpace(SkColorSpaceXformer* xformer) const { in makeColorSpace() 64 SkLights::Builder builder; in makeColorSpace() 74 void SkLights::flatten(SkWriteBuffer& buf) const { in flatten()
|
D | SkLightingShader.h | 34 sk_sp<SkLights> lights);
|
/external/skqp/src/shaders/ |
D | SkLights.h | 24 class SK_API SkLights : public SkRefCnt { 94 friend class SkLights; 117 Builder() : fLights(new SkLights) {} in Builder() 137 sk_sp<SkLights> finish() { in finish() 142 sk_sp<SkLights> fLights; 173 static sk_sp<SkLights> MakeFromBuffer(SkReadBuffer& buf); 185 SkLights() : fAmbientLightColor(SkColor3f::Make(0.0f, 0.0f, 0.0f)) {} in SkLights() function 187 sk_sp<SkLights> makeColorSpace(SkColorSpaceXformer* xformer) const;
|
D | SkLightingShader.cpp | 51 sk_sp<SkLights> lights) in SkLightingShaderImpl() 95 sk_sp<SkLights> fLights; 120 sk_sp<SkLights> lights) { in Make() 131 const SkTArray<SkLights::Light>& directionalLights() const { return fDirectionalLights; } in directionalLights() 210 const SkTArray<SkLights::Light>& directionalLights = lightingFP.directionalLights(); in onSetData() 214 for (const SkLights::Light& light : directionalLights) { in onSetData() 233 SkTArray<SkLights::Light> fDirectionalLights; 245 LightingFP(std::unique_ptr<GrFragmentProcessor> normalFP, sk_sp<SkLights> lights) in LightingFP() 250 if (SkLights::Light::kDirectional_LightType == lights->light(i).type()) { in LightingFP() 276 SkTArray<SkLights::Light> fDirectionalLights; [all …]
|
D | SkLights.cpp | 13 sk_sp<SkLights> SkLights::MakeFromBuffer(SkReadBuffer& buf) { in MakeFromBuffer() 63 sk_sp<SkLights> SkLights::makeColorSpace(SkColorSpaceXformer* xformer) const { in makeColorSpace() 64 SkLights::Builder builder; in makeColorSpace() 74 void SkLights::flatten(SkWriteBuffer& buf) const { in flatten()
|
D | SkLightingShader.h | 34 sk_sp<SkLights> lights);
|
/external/skqp/gm/ |
D | lightingshader2.cpp | 51 SkLights::Builder builder; in onOnceBeforeDraw() 52 builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 1.0f, 1.0f), in onOnceBeforeDraw() 60 SkLights::Builder builder; in onOnceBeforeDraw() 67 SkLights::Builder builder; in onOnceBeforeDraw() 68 builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 0.0f, 0.0f), in onOnceBeforeDraw() 70 builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(0.0f, 1.0f, 0.0f), in onOnceBeforeDraw() 112 bool useTranslucentPaint, bool useTranslucentShader, sk_sp<SkLights> lights) { in drawRect() 267 sk_sp<SkLights> fLights; 268 sk_sp<SkLights> fLightsNoDir; 269 sk_sp<SkLights> fLightsTwoDir;
|
D | lightingshader.cpp | 69 SkLights::Builder builder; in onOnceBeforeDraw() 72 builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 1.0f, 1.0f), in onOnceBeforeDraw() 152 sk_sp<SkLights> fLights;
|
/external/skia/gm/ |
D | lightingshader2.cpp | 51 SkLights::Builder builder; in onOnceBeforeDraw() 52 builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 1.0f, 1.0f), in onOnceBeforeDraw() 60 SkLights::Builder builder; in onOnceBeforeDraw() 67 SkLights::Builder builder; in onOnceBeforeDraw() 68 builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 0.0f, 0.0f), in onOnceBeforeDraw() 70 builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(0.0f, 1.0f, 0.0f), in onOnceBeforeDraw() 112 bool useTranslucentPaint, bool useTranslucentShader, sk_sp<SkLights> lights) { in drawRect() 267 sk_sp<SkLights> fLights; 268 sk_sp<SkLights> fLightsNoDir; 269 sk_sp<SkLights> fLightsTwoDir;
|
D | lightingshader.cpp | 69 SkLights::Builder builder; in onOnceBeforeDraw() 72 builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 1.0f, 1.0f), in onOnceBeforeDraw() 152 sk_sp<SkLights> fLights;
|
/external/skqp/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() 69 sk_sp<SkLights> lights(create_lights(fLightAngle, fColorFactor)); in onDrawContent()
|
D | SampleLitAtlas.cpp | 184 SkLights::Builder builder; in updateLights() 186 builder.add(SkLights::Light::MakeDirectional( in updateLights() 445 sk_sp<SkLights> fLights;
|
/external/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() 69 sk_sp<SkLights> lights(create_lights(fLightAngle, fColorFactor)); in onDrawContent()
|
D | SampleLitAtlas.cpp | 184 SkLights::Builder builder; in updateLights() 186 builder.add(SkLights::Light::MakeDirectional( in updateLights() 445 sk_sp<SkLights> fLights;
|
/external/skia/tests/ |
D | SerializationTest.cpp | 583 SkLights::Builder builder; in DEF_TEST() 585 builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 1.0f, 1.0f), in DEF_TEST() 589 sk_sp<SkLights> fLights = builder.finish(); in DEF_TEST()
|
/external/skqp/tests/ |
D | SerializationTest.cpp | 583 SkLights::Builder builder; in DEF_TEST() 585 builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 1.0f, 1.0f), in DEF_TEST() 589 sk_sp<SkLights> fLights = builder.finish(); in DEF_TEST()
|
/external/skia/gn/ |
D | core.gni | 345 "$_src/shaders/SkLights.cpp", 346 "$_src/shaders/SkLights.h",
|
/external/skqp/gn/ |
D | core.gni | 345 "$_src/shaders/SkLights.cpp", 346 "$_src/shaders/SkLights.h",
|
/external/skqp/ |
D | Android.bp | 1131 "src/shaders/SkLights.cpp",
|
/external/skia/ |
D | Android.bp | 433 "src/shaders/SkLights.cpp",
|