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

/external/skia/src/core/
H A DSkLight.h26 SkLight(const SkColor3f& color)
32 SkLight(const SkColor3f& color, const SkVector3& dir)
42 const SkColor3f& color() const { return fColor; }
50 SkColor3f fColor; // linear (unpremul) color. Range is 0..1 in each channel.
H A DSkLightingShader.cpp255 const SkColor3f& lightColor = lightingFP.lightColor();
261 const SkColor3f& ambientColor = lightingFP.ambientColor();
278 SkColor3f fLightColor;
281 SkColor3f fAmbientColor;
299 const SkColor3f& lightColor() const { return fLightColor; }
300 const SkColor3f& ambientColor() const { return fAmbientColor; }
323 SkColor3f fLightColor;
324 SkColor3f fAmbientColor;
450 static inline SkPMColor convert(SkColor3f color, U8CPU a) {
525 SkColor3f accu
[all...]
/external/skia/samplecode/
H A DSampleLighting.cpp24 builder.add(SkLight(SkColor3f::Make(1.0f, 1.0f, blue), dir));
25 builder.add(SkLight(SkColor3f::Make(0.1f, 0.1f, 0.1f)));
/external/skia/include/core/
H A DSkPoint3.h122 typedef SkPoint3 SkColor3f; typedef
/external/skia/gm/
H A Dlightingshader.cpp51 builder.add(SkLight(SkColor3f::Make(1.0f, 1.0f, 1.0f),
53 builder.add(SkLight(SkColor3f::Make(0.2f, 0.2f, 0.2f)));

Completed in 107 milliseconds