Lines Matching full:domain
86 SkRect domain;
87 domain.fLeft = (subset->fLeft + 0.5f) * sx;
88 domain.fTop = (subset->fTop + 0.5f)* sy;
89 domain.fRight = (subset->fRight - 0.5f) * sx;
90 domain.fBottom = (subset->fBottom - 0.5f) * sy;
95 GrTextureDomainEffect::Create(inputTexture, SkMatrix::I(), domain,
196 /** Determines whether a texture domain is necessary and if so what domain to use. There are two
204 * We want to avoid using a domain if possible. We consider the above rectangles, the filter type,
224 // If the src rectangle contains the whole texture then no need for a domain.
233 // don't need a domain.
238 // Get the domain inset based on sampling mode (or bail if mipped)
254 // No domain can save us here.
270 // the domain.
285 // rect in order to avoid having to add a domain.
312 // don't consider it when computing the domain.
347 const SkRect& domain,
352 return GrTextureDomainEffect::Create(texture, textureMatrix, domain,
361 return GrBicubicEffect::Create(texture, textureMatrix, domain);
389 SkRect domain;
408 &domain);
421 contentArea, &kBilerp, &domain);
425 (domain.fLeft <= domain.fRight && domain.fTop <= domain.fBottom));
427 return create_fp_for_domain_and_filter(texture, textureMatrix, domainMode, domain,
473 // We instead we compute the domain as though were bilerping which is only correct if we
490 SkRect domain;
494 &domain);
498 return create_fp_for_domain_and_filter(texture, normalizedTextureMatrix, domainMode, domain,