Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DSkGpuDevice_drawTexture.cpp29 static const SkScalar kColorBleedTolerance = 0.001f; variable
33 …s(SkScalarRoundToScalar(transformedRect.left()) - transformedRect.left()) < kColorBleedTolerance && in has_aligned_samples()
34 …s(SkScalarRoundToScalar(transformedRect.top()) - transformedRect.top()) < kColorBleedTolerance && in has_aligned_samples()
35 SkScalarAbs(transformedRect.width() - srcRect.width()) < kColorBleedTolerance && in has_aligned_samples()
36 SkScalarAbs(transformedRect.height() - srcRect.height()) < kColorBleedTolerance) { in has_aligned_samples()
61 outerTransformedRect.inset(kColorBleedTolerance, kColorBleedTolerance); in may_color_bleed()
62 innerTransformedRect.outset(kColorBleedTolerance, kColorBleedTolerance); in may_color_bleed()