Lines Matching refs:domain

15 GrTextureDomain::GrTextureDomain(const SkRect& domain, Mode mode, int index)  in GrTextureDomain()  argument
19 if (domain.contains(kFullRect) && kClamp_Mode == mode) { in GrTextureDomain()
29 SkASSERT(domain.fLeft <= domain.fRight); in GrTextureDomain()
30 SkASSERT(domain.fTop <= domain.fBottom); in GrTextureDomain()
31 fDomain.fLeft = SkScalarPin(domain.fLeft, kFullRect.fLeft, kFullRect.fRight); in GrTextureDomain()
32 fDomain.fRight = SkScalarPin(domain.fRight, kFullRect.fLeft, kFullRect.fRight); in GrTextureDomain()
33 fDomain.fTop = SkScalarPin(domain.fTop, kFullRect.fTop, kFullRect.fBottom); in GrTextureDomain()
34 fDomain.fBottom = SkScalarPin(domain.fBottom, kFullRect.fTop, kFullRect.fBottom); in GrTextureDomain()
88 const char* domain = fDomainName.c_str(); in sampleTexture() local
105 domain, domain, domain); in sampleTexture()
107 domain, domain, domain); in sampleTexture()
113 domain); in sampleTexture()
115 domain); in sampleTexture()
145 SkScalarToFloat(textureDomain.domain().left()), in setData()
146 SkScalarToFloat(textureDomain.domain().top()), in setData()
147 SkScalarToFloat(textureDomain.domain().right()), in setData()
148 SkScalarToFloat(textureDomain.domain().bottom()) in setData()
198 const GrTextureDomain& domain = textureDomainEffect.textureDomain(); in emitCode() local
202 fGLDomain.sampleTexture(fsBuilder, domain, outputColor, coords2D, samplers[0], inputColor); in emitCode()
208 const GrTextureDomain& domain = textureDomainEffect.textureDomain(); in setData() local
209 fGLDomain.setData(pdman, domain, processor.texture(0)->origin()); in setData()
214 const GrTextureDomain& domain = processor.cast<GrTextureDomainEffect>().textureDomain(); in GenKey() local
215 b->add32(GrTextureDomain::GLDomain::DomainKey(domain)); in GenKey()
223 const SkRect& domain, in Create() argument
229 (GrTextureDomain::kClamp_Mode == mode && domain.contains(kFullRect))) { in Create()
235 domain, in Create()
244 const SkRect& domain, in GrTextureDomainEffect() argument
249 , fTextureDomain(domain, mode) { in GrTextureDomainEffect()
295 SkRect domain; in TestCreate() local
296 domain.fLeft = random->nextUScalar1(); in TestCreate()
297 domain.fRight = random->nextRangeScalar(domain.fLeft, SK_Scalar1); in TestCreate()
298 domain.fTop = random->nextUScalar1(); in TestCreate()
299 domain.fBottom = random->nextRangeScalar(domain.fTop, SK_Scalar1); in TestCreate()
307 domain, in TestCreate()