Lines Matching refs:texelRect
63 static const SkRect MakeTexelDomain(const GrTexture* texture, const SkIRect& texelRect) { in MakeTexelDomain() argument
67 texelRect.fLeft * wInv, in MakeTexelDomain()
68 texelRect.fTop * hInv, in MakeTexelDomain()
69 texelRect.fRight * wInv, in MakeTexelDomain()
70 texelRect.fBottom * hInv in MakeTexelDomain()
75 …static const SkRect MakeTexelDomainForMode(const GrTexture* texture, const SkIRect& texelRect, Mod… in MakeTexelDomainForMode() argument
79 SkScalar inset = (mode == kClamp_Mode && !texelRect.isEmpty()) ? SK_ScalarHalf : 0; in MakeTexelDomainForMode()
81 (texelRect.fLeft + inset) * wInv, in MakeTexelDomainForMode()
82 (texelRect.fTop + inset) * hInv, in MakeTexelDomainForMode()
83 (texelRect.fRight - inset) * wInv, in MakeTexelDomainForMode()
84 (texelRect.fBottom - inset) * hInv in MakeTexelDomainForMode()