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)
Core
Graphics: WebRender
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.
Reporter | ||
Updated•6 years ago
|
See Also: → https://github.com/servo/webrender/pull/3100
Reporter | ||
Comment 1•6 years ago
|
||
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.
Updated•6 years ago
|
Blocks: stage-wr-trains
Priority: -- → P2
Comment 3•6 years ago
|
||
(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 ?
Updated•5 years ago
|
Reporter | ||
Comment 5•5 years ago
|
||
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.
Description
•