Lines Matching refs:modeX
24 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()
185 SkASSERT(fHasMode && textureDomain.modeX() == fModeX && textureDomain.modeY() == fModeY); in setData()
186 if (kIgnore_Mode != textureDomain.modeX() || kIgnore_Mode != textureDomain.modeY()) { in setData()
187 bool sendDecalData = textureDomain.modeX() == kDecal_Mode || in setData()
267 GrTextureDomain::Mode modeX, in Make() argument
275 std::move(proxy), matrix, domain, modeX, modeY, sampler)); in Make()
281 GrTextureDomain::Mode modeX, in GrTextureDomainEffect() argument
286 GrTextureDomain::IsDecalSampled(sampler, modeX, modeY))) in GrTextureDomainEffect()
288 , fTextureDomain(proxy.get(), domain, modeX, modeY) in GrTextureDomainEffect()
290 SkASSERT((modeX != GrTextureDomain::kRepeat_Mode && modeY != GrTextureDomain::kRepeat_Mode) || in GrTextureDomainEffect()
366 GrTextureDomain::Mode modeX = in TestCreate() local
371 bool bilerp = modeX != GrTextureDomain::kRepeat_Mode && modeY != GrTextureDomain::kRepeat_Mode ? in TestCreate()
377 modeX, in TestCreate()