Closed
Bug 1346982
Opened 9 years ago
Closed 9 years ago
Only build WebRender DisplayItems for BoxShadowOuter when supported
Categories
(Core :: Graphics: WebRender, enhancement)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla55
| Tracking | Status | |
|---|---|---|
| firefox55 | --- | fixed |
People
(Reporter: rhunt, Assigned: rhunt)
Details
(Whiteboard: [gfx-noted])
Attachments
(1 file)
|
5.25 KB,
patch
|
mchang
:
review+
|
Details | Diff | Splinter Review |
This is so we can flip the pref on for a demo and not have it crash with an assert.
| Assignee | ||
Comment 1•9 years ago
|
||
I essentially just took the bad conditions from the CreateWebRenderCommands function and moved them to a separate function.
Attachment #8846867 -
Flags: review?(mchang)
Comment 2•9 years ago
|
||
Comment on attachment 8846867 [details] [diff] [review]
boxshadow-outer.patch
Review of attachment 8846867 [details] [diff] [review]:
-----------------------------------------------------------------
::: layout/painting/nsDisplayList.cpp
@@ +4964,5 @@
> + nsRect shadowRect = nsCSSRendering::GetShadowRect(borderRect,
> + nativeTheme,
> + mFrame);
> +
> + RectCornerRadii borderRadii;
nit: If we have a border radius at all, return false since we clip incorrectly in WR right now.
Attachment #8846867 -
Flags: review?(mchang) → review+
| Assignee | ||
Comment 3•9 years ago
|
||
Settled on a better title.
Summary: Don't assert when we can't build a WR BoxShadowOuter DI → Only build WebRender DisplayItems for BoxShadowOuter when supported
Pushed by rhunt@eqrion.net:
https://hg.mozilla.org/projects/graphics/rev/569c7a783e96
Only build WebRender DisplayItems for BoxShadowOuter when supported r=mchang
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Pushed by rhunt@eqrion.net:
https://hg.mozilla.org/projects/graphics/rev/eaa70038e3f0
Fix static bustage and backwards condition r=me
Comment 6•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/569c7a783e96
https://hg.mozilla.org/mozilla-central/rev/eaa70038e3f0
status-firefox55:
--- → fixed
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•