Home
last modified time | relevance | path

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

/external/skia/src/gpu/effects/
DGrTextureDomain.h65 SkScalar hInv = SK_Scalar1 / texture->height(); in MakeTexelDomain() local
68 texelRect.fTop * hInv, in MakeTexelDomain()
70 texelRect.fBottom * hInv in MakeTexelDomain()
78 SkScalar hInv = SK_Scalar1 / texture->height(); in MakeTexelDomainForMode() local
82 (texelRect.fTop + inset) * hInv, in MakeTexelDomainForMode()
84 (texelRect.fBottom - inset) * hInv in MakeTexelDomainForMode()
/external/skia/src/gpu/
DSkGpuDevice.cpp1109 SkScalar hInv = SkScalarInvert(SkIntToScalar(texture->height())); in internalDrawBitmap() local
1111 SkScalarMul(srcRect.fTop, hInv), in internalDrawBitmap()
1113 SkScalarMul(srcRect.fBottom, hInv)); in internalDrawBitmap()
1122 texMatrix.setScale(wInv, hInv); in internalDrawBitmap()