Searched refs:texelRect (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/gpu/effects/ |
D | GrTextureDomain.h | 68 static const SkRect MakeTexelDomain(const SkIRect& texelRect, Mode mode) { in MakeTexelDomain() argument 69 return MakeTexelDomain(texelRect, mode, mode); in MakeTexelDomain() 72 static const SkRect MakeTexelDomain(const SkIRect& texelRect, Mode modeX, Mode modeY) { in MakeTexelDomain() argument 74 SkScalar insetX = ((modeX == kClamp_Mode || modeX == kDecal_Mode) && texelRect.width() > 0) in MakeTexelDomain() 76 SkScalar insetY = ((modeY == kClamp_Mode || modeY == kDecal_Mode) && texelRect.height() > 0) in MakeTexelDomain() 78 return SkRect::MakeLTRB(texelRect.fLeft + insetX, texelRect.fTop + insetY, in MakeTexelDomain() 79 texelRect.fRight - insetX, texelRect.fBottom - insetY); in MakeTexelDomain()
|
/external/skqp/src/gpu/effects/ |
D | GrTextureDomain.h | 68 static const SkRect MakeTexelDomain(const SkIRect& texelRect, Mode mode) { in MakeTexelDomain() argument 69 return MakeTexelDomain(texelRect, mode, mode); in MakeTexelDomain() 72 static const SkRect MakeTexelDomain(const SkIRect& texelRect, Mode modeX, Mode modeY) { in MakeTexelDomain() argument 74 SkScalar insetX = ((modeX == kClamp_Mode || modeX == kDecal_Mode) && texelRect.width() > 0) in MakeTexelDomain() 76 SkScalar insetY = ((modeY == kClamp_Mode || modeY == kDecal_Mode) && texelRect.height() > 0) in MakeTexelDomain() 78 return SkRect::MakeLTRB(texelRect.fLeft + insetX, texelRect.fTop + insetY, in MakeTexelDomain() 79 texelRect.fRight - insetX, texelRect.fBottom - insetY); in MakeTexelDomain()
|