Home
last modified time | relevance | path

Searched refs:lightShader (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/core/
DSkLightingShader.cpp478 const SkLightingShaderImpl& lightShader = static_cast<const SkLightingShaderImpl&>(fShader); in shadeSpan() local
517 xformedNorm.fX = lightShader.fInvNormRotation.fX * norm.fX + in shadeSpan()
518 lightShader.fInvNormRotation.fY * norm.fY; in shadeSpan()
519 xformedNorm.fY = lightShader.fInvNormRotation.fX * norm.fX - in shadeSpan()
520 lightShader.fInvNormRotation.fY * norm.fY; in shadeSpan()
527 for (int l = 0; l < lightShader.fLights->numLights(); ++l) { in shadeSpan()
528 const SkLight& light = lightShader.fLights->light(l); in shadeSpan()