Lines Matching refs:lights
51 sk_sp<SkLights> lights) in SkLightingShaderImpl() argument
54 , fLights(std::move(lights)) {} in SkLightingShaderImpl()
120 sk_sp<SkLights> lights) { in Make() argument
122 std::move(lights))); in Make()
243 LightingFP(std::unique_ptr<GrFragmentProcessor> normalFP, sk_sp<SkLights> lights) in LightingFP() argument
246 fAmbientColor = lights->ambientLightColor(); in LightingFP()
247 for (int i = 0; i < lights->numLights(); ++i) { in LightingFP()
248 if (SkLights::Light::kDirectional_LightType == lights->light(i).type()) { in LightingFP()
249 fDirectionalLights.push_back(lights->light(i)); in LightingFP()
427 sk_sp<SkLights> lights = SkLights::MakeFromBuffer(buf); in CreateProc() local
438 std::move(lights)); in CreateProc()
487 sk_sp<SkLights> lights) { in Make() argument
488 SkASSERT(lights); in Make()
494 std::move(lights)); in Make()