Home
last modified time | relevance | path

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

/external/skia/src/gpu/ops/
DGrAAHairLinePathRenderer.cpp430 SkScalar wInv = normA.fX * normB.fY - normA.fY * normB.fX; in intersect_lines() local
431 wInv = SkScalarInvert(wInv); in intersect_lines()
434 result->fX *= wInv; in intersect_lines()
437 result->fY *= wInv; in intersect_lines()
/external/skia/src/gpu/effects/
DGrTextureDomain.cpp204 SkScalar wInv = SK_Scalar1 / tex->width(); in setData() local
208 SkScalarToFloat(textureDomain.domain().fLeft * wInv), in setData()
210 SkScalarToFloat(textureDomain.domain().fRight * wInv), in setData()
/external/mesa3d/src/mesa/main/
Dlight.c988 GLfloat wInv = (GLfloat)1.0 / light->_Position[3]; in compute_light_positions() local
989 light->_Position[0] *= wInv; in compute_light_positions()
990 light->_Position[1] *= wInv; in compute_light_positions()
991 light->_Position[2] *= wInv; in compute_light_positions()