Searched defs:texelRect (Results 1 - 2 of 2) sorted by relevance

/external/skia/src/gpu/effects/
H A DGrTextureDomain.h63 /* Computes a domain that bounds all the texels in texelRect. Note that with bilerp enabled
65 static const SkRect MakeTexelDomain(const SkIRect& texelRect) { argument
66 return SkRect::Make(texelRect);
69 static const SkRect MakeTexelDomainForMode(const SkIRect& texelRect, Mode mode) { argument
71 SkScalar inset = (mode == kClamp_Mode && !texelRect.isEmpty()) ? SK_ScalarHalf : 0;
72 return SkRect::MakeLTRB(texelRect.fLeft + inset, texelRect.fTop + inset,
73 texelRect.fRight - inset, texelRect.fBottom - inset);
/external/skqp/src/gpu/effects/
H A DGrTextureDomain.h63 /* Computes a domain that bounds all the texels in texelRect. Note that with bilerp enabled
65 static const SkRect MakeTexelDomain(const SkIRect& texelRect) { argument
66 return SkRect::Make(texelRect);
69 static const SkRect MakeTexelDomainForMode(const SkIRect& texelRect, Mode mode) { argument
71 SkScalar inset = (mode == kClamp_Mode && !texelRect.isEmpty()) ? SK_ScalarHalf : 0;
72 return SkRect::MakeLTRB(texelRect.fLeft + inset, texelRect.fTop + inset,
73 texelRect.fRight - inset, texelRect.fBottom - inset);

Completed in 195 milliseconds