Home | History | Annotate | Download | only in effects

Lines Matching refs:GrTextureDomain

8 #include "GrTextureDomain.h"
15 GrTextureDomain::GrTextureDomain(const SkRect& domain, Mode mode, int index)
42 void GrTextureDomain::GLDomain::sampleTexture(GrGLShaderBuilder* builder,
43 const GrTextureDomain& textureDomain,
78 SkASSERT(GrTextureDomain::kDecal_Mode == textureDomain.mode());
114 void GrTextureDomain::GLDomain::setData(const GrGLUniformManager& uman,
115 const GrTextureDomain& textureDomain,
160 GrTextureDomain::GLDomain fGLDomain;
177 const GrTextureDomain& domain = effect.textureDomain();
186 const GrTextureDomain& domain = effect.textureDomain();
192 const GrTextureDomain& domain = drawEffect.castEffect<GrTextureDomainEffect>().textureDomain();
193 return GrTextureDomain::GLDomain::DomainKey(domain);
202 GrTextureDomain::Mode mode,
206 if (GrTextureDomain::kIgnore_Mode == mode ||
207 (GrTextureDomain::kClamp_Mode == mode && domain.contains(kFullRect))) {
225 GrTextureDomain::Mode mode,
247 if (GrTextureDomain::kDecal_Mode == fTextureDomain.mode()) { // TODO: helper
269 GrTextureDomain::Mode mode =
270 (GrTextureDomain::Mode) random->nextULessThan(GrTextureDomain::kModeCount);