Closed
Bug 1415034
Opened 3 years ago
Closed 3 years ago
Convert drop-shadow CSS filter to WebRender
Categories
(Core :: Graphics: WebRender, enhancement, P1)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla59
| Tracking | Status | |
|---|---|---|
| firefox57 | --- | unaffected |
| firefox58 | --- | unaffected |
| firefox59 | --- | fixed |
People
(Reporter: mtseng, Assigned: mtseng)
References
Details
(Keywords: feature, Whiteboard: [wr-reserve])
Attachments
(1 file, 4 obsolete files)
|
9.29 KB,
patch
|
mtseng
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1370564 +++
Updated•3 years ago
|
Whiteboard: [wr-mvp][wr-triage] → [wr-mvp] [triage]
Updated•3 years ago
|
Assignee: nobody → ethlin
Updated•3 years ago
|
Whiteboard: [wr-mvp] [triage] → [wr-mvp] [triage][wr-reserve-candidate]
Updated•3 years ago
|
Updated•3 years ago
|
Whiteboard: [wr-mvp] [triage][wr-reserve-candidate] → [wr-reserve]
Updated•3 years ago
|
Assignee: ethlin → nobody
Comment 1•3 years ago
|
||
This bug is related fb performance. I think we probably want to address this for wr-nightly based on bug 1411813 comment 13.
Whiteboard: [wr-reserve] → [wr-reserve][triage]
Updated•3 years ago
|
Whiteboard: [wr-reserve][triage] → [wr-mvp] [triage]
Updated•3 years ago
|
Whiteboard: [wr-mvp] [triage] → [wr-reserve]
Sure, we can move it to nightly. Still want to wait a bit before we work on it, until we clear out some of the non-fallback types of performance issues.
Here's the corresponding webrender issue: https://github.com/servo/webrender/issues/2044
Comment 5•3 years ago
|
||
(In reply to Milan Sreckovic [:milan] from comment #2) > Sure, we can move it to nightly. Still want to wait a bit before we work on > it, until we clear out some of the non-fallback types of performance issues. I think this bug is needed to reduce the fallback items on fb and MotionMark. It's not improving the fallback path performance. Change to P2?
Flags: needinfo?(milan)
Updated•3 years ago
|
Status: NEW → ASSIGNED
Priority: P3 → P1
Whiteboard: [wr-reserve] → [wr-mvp]
Updated•3 years ago
|
Flags: needinfo?(milan)
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 8•3 years ago
|
||
Upload a gecko wip. Still depend on webrender pull request. pr is here https://github.com/servo/webrender/pull/2091
| Assignee | ||
Comment 9•3 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=65b78085e1add61ec44a86095dd07e978e470292
Updated•3 years ago
|
See Also: → https://github.com/servo/webrender/pull/2091
Updated•3 years ago
|
Whiteboard: [wr-mvp] → [wr-reserve]
| Assignee | ||
Comment 10•3 years ago
|
||
The long-chain.html failure is tracking by https://github.com/servo/webrender/issues/2197 MozReview-Commit-ID: FECidSvTQrY
Attachment #8935625 -
Flags: review?(bugmail)
| Assignee | ||
Updated•3 years ago
|
Attachment #8931585 -
Attachment is obsolete: true
| Assignee | ||
Comment 11•3 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=11ea28ab783e2dfc76a0d9322bb93a872b738fa6&selectedJob=150092732
Comment 12•3 years ago
|
||
Comment on attachment 8935625 [details] [diff] [review] Add drop-shadow support. Review of attachment 8935625 [details] [diff] [review]: ----------------------------------------------------------------- r+. One suggestion below. I don't feel too strongly about it but it would make it a little cleaner I think. ::: gfx/webrender_bindings/src/bindings.rs @@ +365,5 @@ > #[repr(C)] > #[derive(Copy, Clone)] > pub struct WrFilterOp { > filter_type: WrFilterOpType, > + argument: [c_float; 7], Instead of lumping all 7 floats into one array it might be a bit cleaner to separate this into three fields: argument: c_float, // holds radius for DropShadow; value for other filters offset: LayoutVector2D, // only used for DropShadow color: ColorF, // only used for DropShadow and then all the existing filters can just use the same c_filter.argument unchanged, and you can use the extra fields in a more strongly-typed fashion for the DropShadow filter. cbindgen should be able to deal with this correctly.
Attachment #8935625 -
Flags: review?(bugmail) → review+
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 14•3 years ago
|
||
Thanks for suggestion. The code becomes much cleaner now.
| Assignee | ||
Comment 15•3 years ago
|
||
try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=6fb6fb7ceadc45e17d035b2816de4efe13463913
| Assignee | ||
Comment 16•3 years ago
|
||
Comment on attachment 8931585 [details] Bug 1415034 - Add drop-shadow support. oops, accidentally sending a review.
Attachment #8931585 -
Flags: review?(bugmail)
| Assignee | ||
Updated•3 years ago
|
Attachment #8931585 -
Attachment is obsolete: true
| Assignee | ||
Comment 17•3 years ago
|
||
The long-chain.html failure is tracking by https://github.com/servo/webrender/issues/2197 MozReview-Commit-ID: FECidSvTQrY
Attachment #8936415 -
Flags: review+
| Assignee | ||
Updated•3 years ago
|
Attachment #8935625 -
Attachment is obsolete: true
| Assignee | ||
Comment 18•3 years ago
|
||
Fix try failures. MozReview-Commit-ID: FECidSvTQrY
Attachment #8936437 -
Flags: review+
| Assignee | ||
Updated•3 years ago
|
Attachment #8936415 -
Attachment is obsolete: true
| Assignee | ||
Comment 19•3 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=451c6bffc7ee39b1c9be4254c922b06fd9c1d8fe
| Assignee | ||
Comment 20•3 years ago
|
||
latest try looks good: https://treeherder.mozilla.org/#/jobs?repo=try&revision=af007644c312909a80a4844f5809d91294f0ddb2&selectedJob=151327728
| Assignee | ||
Comment 21•3 years ago
|
||
The long-chain.html failure is tracking by https://github.com/servo/webrender/issues/2197 MozReview-Commit-ID: FECidSvTQrY
Attachment #8936463 -
Flags: review+
| Assignee | ||
Updated•3 years ago
|
Attachment #8936437 -
Attachment is obsolete: true
Comment 22•3 years ago
|
||
Pushed by mtseng@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/fd2a2e17aef3 Add drop-shadow support. r=kats
Backed out for build bustage at layout/painting/nsDisplayList.cpp:9992: https://hg.mozilla.org/integration/mozilla-inbound/rev/bcae439efd9ce769f1412b14d2c4ce3205117eb9 Push with bustage: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=fd2a2e17aef386ad47cfbd2259b7dd791999d194&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-resultStatus=retry&filter-resultStatus=usercancel&filter-resultStatus=runnable Build log: https://treeherder.mozilla.org/logviewer.html#?job_id=151474795&repo=mozilla-inbound /builds/worker/workspace/build/src/layout/painting/nsDisplayList.cpp:9992:11: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] /builds/worker/workspace/build/src/layout/painting/nsDisplayList.cpp:9994:11: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
Flags: needinfo?(mtseng)
Comment 24•3 years ago
|
||
Pushed by mtseng@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/8859d342fd59 Add drop-shadow support. r=kats
| Assignee | ||
Comment 25•3 years ago
|
||
Sorry for that, submit another patch to fix it.
Flags: needinfo?(mtseng)
Comment 26•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/8859d342fd59
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in
before you can comment on or make changes to this bug.
Description
•