Home
last modified time | relevance | path

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

/external/skia/src/gpu/effects/
DGrTextureDomain.h65 static const SkRect MakeTexelDomain(const SkIRect& texelRect) { in MakeTexelDomain() argument
66 return SkRect::Make(texelRect); in MakeTexelDomain()
69 static const SkRect MakeTexelDomainForMode(const SkIRect& texelRect, Mode mode) { in MakeTexelDomainForMode() argument
71 SkScalar inset = (mode == kClamp_Mode && !texelRect.isEmpty()) ? SK_ScalarHalf : 0; in MakeTexelDomainForMode()
72 return SkRect::MakeLTRB(texelRect.fLeft + inset, texelRect.fTop + inset, in MakeTexelDomainForMode()
73 texelRect.fRight - inset, texelRect.fBottom - inset); in MakeTexelDomainForMode()