Open Bug 1493068 Opened Last year Updated 3 months ago

Gecko often creates invisible or inefficient gradient display items.

Categories

(Core :: Graphics: WebRender, defect, P2)

defect

Tracking

()

People

(Reporter: gw, Unassigned)

References

(Blocks 1 open bug)

Details

Open https://en.wikipedia.org/wiki/Cricket, and scroll to the bottom of the page, where the references are.

Take a WR capture, and open the scene-1-0.ron file in a text editor. There are a large number of gradients that contain stops with alpha 0, that can't contribute to the scene.

WR will handle this case internally soon, but if Gecko can detect this it can save on display list (de)serialization time by eliminating it from the DL completely.
Another case that Gecko seems to create on some pages is a gradient with 2 stops, where the colors are equal. We could detect this early and draw it as a rectangle instead.
Priority: -- → P2
Depends on: 1493473
No longer depends on: 1493473

(In reply to Glenn Watson [:gw] from comment #1)

Another case that Gecko seems to create on some pages is a gradient with 2
stops, where the colors are equal. We could detect this early and draw it as
a rectangle instead.

Is this fixed by bug 1533236 ?

See Also: → 1533236
Blocks: wr-perf
No longer blocks: stage-wr-next
You need to log in before you can comment on or make changes to this bug.