Home | History | Annotate | Download | only in effects

Lines Matching refs:light

46 void SkEmbossMask::Emboss(SkMask* mask, const SkEmbossMaskFilter::Light& light) {
49 int specular = light.fSpecular;
50 int ambient = light.fAmbient;
51 SkFixed lx = SkScalarToFixed(light.fDirection[0]);
52 SkFixed ly = SkScalarToFixed(light.fDirection[1]);
53 SkFixed lz = SkScalarToFixed(light.fDirection[2]);
87 // R = 2 (Light * Normal) Normal - Light
98 // value in the light, and just pass that in to this function.