Searched refs:SkLight (Results 1 – 6 of 6) sorted by relevance
/external/skia/src/core/ |
D | SkLightingShader.h | 27 Builder(const SkLight lights[], int numLights) in Builder() 34 void add(const SkLight& light) { in add() 52 const SkLight& light(int index) const { in light() 58 Lights(const SkLight lights[], int numLights) : fLights(lights, numLights) {} in Lights() 60 SkTDArray<SkLight> fLights;
|
D | SkLight.h | 14 class SK_API SkLight { 21 SkLight() : fType(kAmbient_LightType) { in SkLight() function 26 SkLight(const SkColor3f& color) in SkLight() function 32 SkLight(const SkColor3f& color, const SkVector3& dir) in SkLight() function
|
D | SkLightingShader.cpp | 160 if (SkLight::kAmbient_LightType == lights->light(i).type()) { in LightingFP() 528 const SkLight& light = lightShader.fLights->light(l); in shadeSpan() 530 if (SkLight::kAmbient_LightType == light.type()) { in shadeSpan() 603 builder.add(SkLight(color)); in CreateProc() 609 builder.add(SkLight(color, dir)); in CreateProc() 633 const SkLight& light = fLights->light(l); in flatten() 635 bool isAmbient = SkLight::kAmbient_LightType == light.type(); in flatten()
|
/external/skia/samplecode/ |
D | SampleLighting.cpp | 24 builder.add(SkLight(SkColor3f::Make(1.0f, 1.0f, blue), dir)); in create_lights() 25 builder.add(SkLight(SkColor3f::Make(0.1f, 0.1f, 0.1f))); in create_lights()
|
/external/skia/gm/ |
D | lightingshader.cpp | 51 builder.add(SkLight(SkColor3f::Make(1.0f, 1.0f, 1.0f), in LightingShaderGM() 53 builder.add(SkLight(SkColor3f::Make(0.2f, 0.2f, 0.2f))); in LightingShaderGM()
|
/external/skia/gyp/ |
D | core.gypi | 150 '<(skia_src_path)/core/SkLight.h',
|