Home | History | Annotate | Download | only in effects

Lines Matching refs:light

81 void SkEmbossMask::Emboss(SkMask* mask, const SkEmbossMaskFilter::Light& light) {
86 int specular = light.fSpecular;
87 int ambient = light.fAmbient;
88 SkFixed lx = SkScalarToFixed(light.fDirection[0]);
89 SkFixed ly = SkScalarToFixed(light.fDirection[1]);
90 SkFixed lz = SkScalarToFixed(light.fDirection[2]);
132 // R = 2 (Light * Normal) Normal - Light
143 // value in the light, and just pass that in to this function.