Home
last modified time | relevance | path

Searched refs:modeY (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);
62 Mode modeY() const { return fModeY; } in modeY() function
72 static const SkRect MakeTexelDomain(const SkIRect& texelRect, Mode modeX, Mode modeY) { in MakeTexelDomain() argument
76 SkScalar insetY = ((modeY == kClamp_Mode || modeY == kDecal_Mode) && texelRect.height() > 0) in MakeTexelDomain()
85 Mode modeX, Mode modeY) { in IsDecalSampled() argument
89 modeY == 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.cpp25 Mode modeY, int index) in GrTextureDomain() argument
27 , fModeY(modeY) in GrTextureDomain()
31 SkASSERT(modeX == kIgnore_Mode && modeY == kIgnore_Mode); in GrTextureDomain()
87 SkASSERT(!fHasMode || (textureDomain.modeX() == fModeX && textureDomain.modeY() == fModeY)); in sampleTexture()
89 SkDEBUGCODE(fModeY = textureDomain.modeY();) in sampleTexture()
92 if ((textureDomain.modeX() != kIgnore_Mode || textureDomain.modeY() != kIgnore_Mode) && in sampleTexture()
106 bool decalY = textureDomain.modeY() == kDecal_Mode; in sampleTexture()
125 if (textureDomain.modeX() != textureDomain.modeY()) { in sampleTexture()
130 SkString tcY = clamp_expression(textureDomain.modeY(), "origCoord", "y", in sampleTexture()
185 SkASSERT(fHasMode && textureDomain.modeX() == fModeX && textureDomain.modeY() == fModeY); in setData()
[all …]
DGrBicubicEffect.h52 GrTextureDomain::Mode modeY) { 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)