Home | History | Annotate | Download | only in core

Lines Matching refs:diffuse

24         allow 'diffuse' & 'normal' to be of different dimensions?
31 non-opaque diffuse textures
32 A8 diffuse textures
45 lights to light the diffuse bitmap.
46 @param diffuse the diffuse bitmap
50 @param diffLocalM the local matrix for the diffuse coordinates
53 SkLightingShaderImpl(const SkBitmap& diffuse, const SkBitmap& normal,
58 , fDiffuseMap(diffuse)
143 LightingFP(GrTexture* diffuse, GrTexture* normal, const SkMatrix& diffMatrix,
147 : fDiffDeviceTransform(kLocal_GrCoordSet, diffMatrix, diffuse, diffParams.filterMode())
149 , fDiffuseTextureAccess(diffuse, diffParams)
231 // diffuse light
359 // we assume diffuse and normal maps have same width and height
578 SkBitmap diffuse;
579 if (!buf.readBitmap(&diffuse)) {
582 diffuse.setImmutable();
615 return new SkLightingShaderImpl(diffuse, normal, lights, SkVector::Make(1.0f, 0.0f),
704 SkShader* SkLightingShader::Create(const SkBitmap& diffuse, const SkBitmap& normal,
708 if (diffuse.isNull() || bitmap_is_too_big(diffuse) ||
710 diffuse.width() != normal.width() ||
711 diffuse.height() != normal.height()) {
717 return new SkLightingShaderImpl(diffuse, normal, lights, invNormRotation, diffLocalM,