Lines Matching refs:fLights
54 , fLights(std::move(lights)) {} in SkLightingShaderImpl()
95 sk_sp<SkLights> fLights; member in SkLightingShaderImpl
291 LightingFP::Make(std::move(normalFP), fLights) in asFragmentProcessor()
303 return GrFragmentProcessor::PremulInput(LightingFP::Make(std::move(normalFP), fLights)); in asFragmentProcessor()
385 accum.fX += lightShader.fLights->ambientLightColor().fX * SkColorGetR(diffColor); in shadeSpan()
386 accum.fY += lightShader.fLights->ambientLightColor().fY * SkColorGetG(diffColor); in shadeSpan()
387 accum.fZ += lightShader.fLights->ambientLightColor().fZ * SkColorGetB(diffColor); in shadeSpan()
390 for (int l = 0; l < lightShader.fLights->numLights(); ++l) { in shadeSpan()
391 const SkLights::Light& light = lightShader.fLights->light(l); in shadeSpan()
444 fLights->flatten(buf); in flatten()
480 fLights->makeColorSpace(xformer)); in onMakeColorSpace()