Lines Matching refs:lights
54 const SkLightingShader::Lights* lights, in SkLightingShaderImpl() argument
60 , fLights(SkRef(lights)) in SkLightingShaderImpl()
145 const GrTextureParams& normParams, const SkLightingShader::Lights* lights, in LightingFP() argument
159 for (int i = 0; i < lights->numLights(); ++i) { in LightingFP()
160 if (SkLight::kAmbient_LightType == lights->light(i).type()) { in LightingFP()
161 fAmbientColor += lights->light(i).color(); in LightingFP()
164 fLightColor = lights->light(i).color(); in LightingFP()
165 fLightDir = lights->light(i).dir(); in LightingFP()
613 SkAutoTUnref<const SkLightingShader::Lights> lights(builder.finish()); in CreateProc() local
615 return new SkLightingShaderImpl(diffuse, normal, lights, SkVector::Make(1.0f, 0.0f), in CreateProc()
705 const Lights* lights, in Create() argument
717 return new SkLightingShaderImpl(diffuse, normal, lights, invNormRotation, diffLocalM, in Create()