Closed Bug 1493068 Opened 6 years ago Closed 5 years ago

Gecko often creates invisible or inefficient gradient display items.

Categories

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

defect

Tracking

()

RESOLVED INVALID

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 ?

Blocks: wr-perf
No longer blocks: stage-wr-next

Glenn, is this still a thing?

Flags: needinfo?(gwatson)

I don't think so, let's close it.

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(gwatson)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.