Closed Bug 1396131 Opened 7 years ago Closed 6 years ago

Redundant clipping of display list

Categories

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

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1485420
Tracking Status
firefox56 --- unaffected
firefox57 --- unaffected

People

(Reporter: jrmuizel, Unassigned)

References

(Blocks 1 open bug)

Details

Running https://jrmuizel.github.io/perf-tests/motion-mark-tagged-images-still.html gives a display list like: http://jrmuizel.github.io/bugs/frame-6.yaml.

In the child pipeline you'll notice that we have a bunch of unneeded duplicate clips like:

       -
        bounds: [81.5, 136, 1600, 800]
        "clip-rect": [81.5, 136, 1600, 800]
        "clip-and-scroll": 2
        type: clip
        id: 38
        "content-size": [1600, 800]

Removing them didn't improve performance but it will keep our display lists smaller and reduce processing time on the child and parent. (I did notice clip pushing time in child showing up in profiles in child)
Blocks: 1401574
I'm duping this against 1450701 as that's more current.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
That should've been bug 1485420
You need to log in before you can comment on or make changes to this bug.