Searched refs:wInv (Results 1 – 4 of 4) sorted by relevance
/external/skia/src/gpu/effects/ |
D | GrTextureDomain.h | 64 SkScalar wInv = SK_Scalar1 / texture->width(); in MakeTexelDomain() local 67 texelRect.fLeft * wInv, in MakeTexelDomain() 69 texelRect.fRight * wInv, in MakeTexelDomain() 77 SkScalar wInv = SK_Scalar1 / texture->width(); in MakeTexelDomainForMode() local 81 (texelRect.fLeft + inset) * wInv, in MakeTexelDomainForMode() 83 (texelRect.fRight - inset) * wInv, in MakeTexelDomainForMode()
|
/external/skia/src/gpu/batches/ |
D | GrAAHairLinePathRenderer.cpp | 432 SkScalar wInv = SkScalarMul(normA.fX, normB.fY) - in intersect_lines() local 434 wInv = SkScalarInvert(wInv); in intersect_lines() 437 result->fX = SkScalarMul(result->fX, wInv); in intersect_lines() 440 result->fY = SkScalarMul(result->fY, wInv); in intersect_lines()
|
/external/mesa3d/src/mesa/main/ |
D | light.c | 988 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()
|
/external/skia/src/gpu/ |
D | SkGpuDevice.cpp | 1108 SkScalar wInv = SkScalarInvert(SkIntToScalar(texture->width())); in internalDrawBitmap() local 1110 paintRect.setLTRB(SkScalarMul(srcRect.fLeft, wInv), in internalDrawBitmap() 1112 SkScalarMul(srcRect.fRight, wInv), in internalDrawBitmap() 1122 texMatrix.setScale(wInv, hInv); in internalDrawBitmap()
|