Home | History | Annotate | Download | only in core

Lines Matching full:lightingfp

141 class LightingFP : public GrFragmentProcessor {
143 LightingFP(GrTexture* diffuse, GrTexture* normal, const SkMatrix& diffMatrix,
169 this->initClassID<LightingFP>();
240 // const LightingFP& lightingFP = proc.cast<LightingFP>();
247 const LightingFP& lightingFP = proc.cast<LightingFP>();
249 const SkVector3& lightDir = lightingFP.lightDir();
255 const SkColor3f& lightColor = lightingFP.lightColor();
261 const SkColor3f& ambientColor = lightingFP.ambientColor();
267 const SkVector& invNormRotation = lightingFP.invNormRotation();
292 const char* name() const override { return "LightingFP"; }
307 const LightingFP& lightingFP = proc.cast<LightingFP>();
308 return fDiffDeviceTransform == lightingFP.fDiffDeviceTransform &&
309 fNormDeviceTransform == lightingFP.fNormDeviceTransform &&
310 fDiffuseTextureAccess == lightingFP.fDiffuseTextureAccess &&
311 fNormalTextureAccess == lightingFP.fNormalTextureAccess &&
312 fLightDir == lightingFP.fLightDir &&
313 fLightColor == lightingFP.fLightColor &&
314 fAmbientColor == lightingFP.fAmbientColor &&
315 fInvNormRotation == lightingFP.fInvNormRotation;
406 new LightingFP(diffuseTexture, normalTexture, diffM, normM, diffParams, normParams, fLights,