Open Bug 1451422 Opened 6 years ago Updated 17 days ago

Revisit blob image rounding / snapping

Categories

(Core :: Graphics: WebRender, enhancement, P3)

enhancement

Tracking

()

Tracking Status
firefox61 --- disabled

People

(Reporter: mstange, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

For fallback items, with or without blob invalidation, we sometimes round rectangles. We need to audit all the places where it's happening and apply some consistency.

Rules to keep in mind:
 - Rounding should always happen in LayerPixel space. This applies to the size of the image, and to the coordinates that we pass to push_image, for example. LayerPixel space is the "scaled device pixel" space.
 - There are items that snap and items that don't. For example, border images snap, but SVG rectangles don't snap, they anti-alias. For items that don't snap, we need to round the rectangle *outwards*.
Depends on: 1451504
Depends on: 1451102
Moving to p3 because no activity for at least 24 weeks.
Priority: P1 → P3
Severity: normal → S3
Blocks: wr-snap
No longer blocks: stage-wr-next
You need to log in before you can comment on or make changes to this bug.