Home
last modified time | relevance | path

Searched refs:SkColor3f (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/core/
DSkLight.h26 SkLight(const SkColor3f& color) in SkLight()
32 SkLight(const SkColor3f& color, const SkVector3& dir) in SkLight()
42 const SkColor3f& color() const { return fColor; } in color()
50 SkColor3f fColor; // linear (unpremul) color. Range is 0..1 in each channel.
DSkLightingShader.cpp255 const SkColor3f& lightColor = lightingFP.lightColor(); in onSetData()
261 const SkColor3f& ambientColor = lightingFP.ambientColor(); in onSetData()
278 SkColor3f fLightColor;
281 SkColor3f fAmbientColor;
299 const SkColor3f& lightColor() const { return fLightColor; } in lightColor()
300 const SkColor3f& ambientColor() const { return fAmbientColor; } in ambientColor()
323 SkColor3f fLightColor;
324 SkColor3f fAmbientColor;
450 static inline SkPMColor convert(SkColor3f color, U8CPU a) { in convert()
525 SkColor3f accum = SkColor3f::Make(0.0f, 0.0f, 0.0f); in shadeSpan()
[all …]
/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/include/core/
DSkPoint3.h122 typedef SkPoint3 SkColor3f; typedef