Lines Matching refs:Mode
24 * the edge of the domain or result in a half4 of zeros (decal mode). The domain is clipped to
30 enum Mode {
56 GrTextureDomain(GrTextureProxy*, const SkRect& domain, Mode modeX, Mode modeY, int index = -1);
61 Mode modeX() const { return fModeX; }
62 Mode modeY() const { return fModeY; }
66 * depending on the mode. The mode is used for both axes.
68 static const SkRect MakeTexelDomain(const SkIRect& texelRect, Mode mode) {
69 return MakeTexelDomain(texelRect, mode, mode);
72 static const SkRect MakeTexelDomain(const SkIRect& texelRect, Mode modeX, Mode modeY) {
82 // Convenience to determine if any axis of a texture uses an explicit decal mode or the hardware
83 // clamp to border decal mode.
85 Mode modeX, Mode modeY) {
92 static bool IsDecalSampled(const GrSamplerState::WrapMode wraps[2], Mode modeX, Mode modeY) {
96 static bool IsDecalSampled(const GrSamplerState& sampler, Mode modeX, Mode modeY) {
124 * domain and mode.
165 SkDEBUGCODE(Mode fModeX;)
166 SkDEBUGCODE(Mode fModeY;)
179 Mode fModeX;
180 Mode fModeY;
193 GrTextureDomain::Mode mode,
199 GrTextureDomain::Mode modeX,
200 GrTextureDomain::Mode modeY,
228 GrTextureDomain::Mode modeX,
229 GrTextureDomain::Mode modeY,
280 // Since we always use decal mode, there is no need for key data.