Home
last modified time | relevance | path

Searched refs:constraintRect (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/gpu/
DGrTextureProducer.cpp92 const SkRect& constraintRect, in DetermineDomainMode() argument
101 SkASSERT(proxyBounds.contains(constraintRect)); in DetermineDomainMode()
106 contentRect->contains(constraintRect))); in DetermineDomainMode()
111 if (constraintRect.contains(proxyBounds) && proxyIsExact) { in DetermineDomainMode()
162 *domainRect = constraintRect.makeInset(kDomainInset, kDomainInset); in DetermineDomainMode()
175 contentRect->fLeft + filterHalfWidth > constraintRect.fLeft) { in DetermineDomainMode()
180 contentRect->fTop + filterHalfWidth > constraintRect.fTop) { in DetermineDomainMode()
185 contentRect->fRight - filterHalfWidth < constraintRect.fRight) { in DetermineDomainMode()
190 contentRect->fBottom - filterHalfWidth < constraintRect.fBottom) { in DetermineDomainMode()
DGrTextureAdjuster.cpp120 SkTCopyOnFirstWrite<SkRect> constraintRect(origConstraintRect); in createFragmentProcessor() local
124 constraintRect.writable()->offset(l, t); in createFragmentProcessor()
146 DetermineDomainMode(*constraintRect, filterConstraint, coordsLimitedToConstraintRect, in createFragmentProcessor()
160 DetermineDomainMode(*constraintRect, filterConstraint, coordsLimitedToConstraintRect, in createFragmentProcessor()
DGrTextureProducer.h62 const SkRect& constraintRect,
126 const SkRect& constraintRect,
DGrTextureMaker.cpp57 const SkRect& constraintRect, in createFragmentProcessor() argument
94 DetermineDomainMode(constraintRect, filterConstraint, coordsLimitedToConstraintRect, in createFragmentProcessor()
DGrTextureMaker.h33 const SkRect& constraintRect,
DGrTextureAdjuster.h31 const SkRect& constraintRect,
/external/skia/tests/
DDetermineDomainModeTest.cpp27 const SkRect& constraintRect, in DetermineDomainMode() argument
34 return GrTextureProducer::DetermineDomainMode(constraintRect, in DetermineDomainMode()
389 const SkRect* constraintRect = (*constraintRectMaker)( in proxy_test() local
396 SkASSERT(constraintRect); // always need one of these in proxy_test()
398 SkASSERT(contentRect->contains(*constraintRect)); in proxy_test()
400 SkASSERT(outermost.rect().contains(*constraintRect)); in proxy_test()
409 *constraintRect, in proxy_test()