Home
last modified time | relevance | path

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

/external/skqp/src/gpu/effects/
DGrTextureDomain.h56 GrTextureDomain(GrTextureProxy*, const SkRect& domain, Mode modeX, Mode modeY, int index = -1);
61 Mode modeX() const { return fModeX; } in modeX() function
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()
85 Mode modeX, Mode modeY) { in IsDecalSampled() argument
88 modeX == kDecal_Mode || in IsDecalSampled()
92 static bool IsDecalSampled(const GrSamplerState::WrapMode wraps[2], Mode modeX, Mode modeY) { in IsDecalSampled() argument
93 return IsDecalSampled(wraps[0], wraps[1], modeX, modeY); in IsDecalSampled()
96 static bool IsDecalSampled(const GrSamplerState& sampler, Mode modeX, Mode modeY) { in IsDecalSampled() argument
97 return IsDecalSampled(sampler.wrapModeX(), sampler.wrapModeY(), modeX, modeY); in IsDecalSampled()
[all …]
DGrTextureDomain.cpp24 GrTextureDomain::GrTextureDomain(GrTextureProxy* proxy, const SkRect& domain, Mode modeX, in GrTextureDomain() argument
26 : fModeX(modeX) in GrTextureDomain()
31 SkASSERT(modeX == kIgnore_Mode && modeY == kIgnore_Mode); in GrTextureDomain()
87 SkASSERT(!fHasMode || (textureDomain.modeX() == fModeX && textureDomain.modeY() == fModeY)); in sampleTexture()
88 SkDEBUGCODE(fModeX = textureDomain.modeX();) in sampleTexture()
92 if ((textureDomain.modeX() != kIgnore_Mode || textureDomain.modeY() != kIgnore_Mode) && in sampleTexture()
105 bool decalX = textureDomain.modeX() == kDecal_Mode; in sampleTexture()
125 if (textureDomain.modeX() != textureDomain.modeY()) { in sampleTexture()
128 SkString tcX = clamp_expression(textureDomain.modeX(), "origCoord", "x", in sampleTexture()
136 SkString tc = clamp_expression(textureDomain.modeX(), "origCoord", "xy", in sampleTexture()
[all …]
DGrBicubicEffect.h51 GrTextureDomain::Mode modeX, in Make() argument
54 wrapModes, modeX, modeY)); in Make()
80 GrTextureDomain::Mode modeX, GrTextureDomain::Mode modeY);
DGrBicubicEffect.cpp123 GrTextureDomain::Mode modeX, GrTextureDomain::Mode modeY) in GrBicubicEffect() argument
126 GrTextureDomain::IsDecalSampled(wrapModes, modeX,modeY))} in GrBicubicEffect()
130 SkIRect::MakeWH(proxy->width(), proxy->height()), modeX, modeY),
131 modeX, modeY)