Home
last modified time | relevance | path

Searched refs:SkLight (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/core/
DSkLightingShader.h27 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;
DSkLight.h14 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
DSkLightingShader.cpp160 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/
DSampleLighting.cpp24 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/
Dlightingshader.cpp51 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/
Dcore.gypi150 '<(skia_src_path)/core/SkLight.h',