D | SkLightingShader.cpp | 53 SkLightingShaderImpl(const SkBitmap& diffuse, const SkBitmap& normal, in SkLightingShaderImpl() argument 58 , fDiffuseMap(diffuse) in SkLightingShaderImpl() 143 LightingFP(GrTexture* diffuse, GrTexture* normal, const SkMatrix& diffMatrix, in LightingFP() argument 147 : fDiffDeviceTransform(kLocal_GrCoordSet, diffMatrix, diffuse, diffParams.filterMode()) in LightingFP() 149 , fDiffuseTextureAccess(diffuse, diffParams) in LightingFP() 578 SkBitmap diffuse; in CreateProc() local 579 if (!buf.readBitmap(&diffuse)) { in CreateProc() 582 diffuse.setImmutable(); in CreateProc() 615 return new SkLightingShaderImpl(diffuse, normal, lights, SkVector::Make(1.0f, 0.0f), in CreateProc() 704 SkShader* SkLightingShader::Create(const SkBitmap& diffuse, const SkBitmap& normal, in Create() argument [all …]
|