Lines Matching full:light
93 void SkEmbossMask::Emboss(SkMask* mask, const SkEmbossMaskFilter::Light& light)
99 int specular = light.fSpecular;
100 int ambient = light.fAmbient;
101 SkFixed lx = SkScalarToFixed(light.fDirection[0]);
102 SkFixed ly = SkScalarToFixed(light.fDirection[1]);
103 SkFixed lz = SkScalarToFixed(light.fDirection[2]);
149 // R = 2 (Light * Normal) Normal - Light
161 // value in the light, and just pass that in to this function.