linearScanEnd
This commit is contained in:
parent
576ecfb918
commit
412757d4c0
1 changed files with 4 additions and 0 deletions
|
@ -1540,6 +1540,8 @@ proc fillCoverage(
|
||||||
blendBlob(maskBlendNormal)
|
blendBlob(maskBlendNormal)
|
||||||
|
|
||||||
of MaskBlend:
|
of MaskBlend:
|
||||||
|
{.linearScanEnd.}
|
||||||
|
|
||||||
when allowSimd:
|
when allowSimd:
|
||||||
when defined(amd64):
|
when defined(amd64):
|
||||||
for _ in 0 ..< coverages.len div 16:
|
for _ in 0 ..< coverages.len div 16:
|
||||||
|
@ -1685,6 +1687,8 @@ proc fillHits(
|
||||||
fillUnsafe(mask.data, 255, mask.dataIndex(start, y), len)
|
fillUnsafe(mask.data, 255, mask.dataIndex(start, y), len)
|
||||||
|
|
||||||
of MaskBlend:
|
of MaskBlend:
|
||||||
|
{.linearScanEnd.}
|
||||||
|
|
||||||
var filledTo = startX
|
var filledTo = startX
|
||||||
for (start, len) in hits.walkInteger(numHits, windingRule, y, mask.width):
|
for (start, len) in hits.walkInteger(numHits, windingRule, y, mask.width):
|
||||||
let gapBetween = start - filledTo
|
let gapBetween = start - filledTo
|
||||||
|
|
Loading…
Reference in a new issue