Closed
Bug 1362892
Opened 9 years ago
Closed 2 years ago
Slow inset box-shadows on tekrevue.com
Categories
(Core :: Graphics, defect, P3)
Core
Graphics
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: mstange, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [gfx-noted])
Scrolling on https://www.tekrevue.com/tip/opt-out-os-x-pre-release-updates/ checkerboards a lot.
Profile: https://perfht.ml/2qeYWxX
Looks like it's all due to inset box-shadows.
Updated•8 years ago
|
Flags: needinfo?(mstange)
| Reporter | ||
Comment 2•8 years ago
|
||
No checkerboarding at all in webrender on that page, but there are a few frameskips due to long composites: https://perfht.ml/2wRf0bT
Flags: needinfo?(mstange)
| Reporter | ||
Comment 3•8 years ago
|
||
But with webrender the inset box shadows seem to have a big cost, too. While they're on the screen, the GPU cost per frame goes up from 4.00ms to 6.66ms on my machine.
These box shadows are applied to the "Related articles" images on the right.
.widget_posts_related li::before {
content: "";
pointer-events: none;
position: absolute;
top: 0;
right: -300px;
bottom: 0;
left: -300px;
box-shadow: inset 0 -90px 200px rgba(0,0,0,.5);
}
So they have a radius of 200px and they right and left parts are clipped off.
Updated•8 years ago
|
Priority: -- → P3
Updated•3 years ago
|
Severity: normal → S3
Comment 4•2 years ago
|
||
This is smooth now, and we have other bugs filed to track box shadows.
https://share.firefox.dev/4dC6LRQ
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•