Searched refs:texelRect (Results 1 – 1 of 1) sorted by relevance
63 static const SkRect MakeTexelDomain(const GrTexture* texture, const SkIRect& texelRect) { in MakeTexelDomain() argument67 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() argument79 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()[all …]