Closed Bug 1436409 Opened 6 years ago Closed 6 years ago

Remove nsDisplayLayerEventRegions and related code

Categories

(Core :: Web Painting, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: mikokm, Assigned: kats)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

Follow-up to bug 1434243. Using nsDisplayCompositorHitTestInfo display items instead of nsDisplayLayerEventRegions seems to be both faster and simpler solution.

Since they both implement the same functionality, we should get rid of nsDisplayLayerEventRegions completely.
Blocks: 1434243
No longer depends on: 1434243
Priority: -- → P3
Fx 60, which shipped the simple-event-regions codepath, has been in the wild now for a month with no (to my knowledge) issues reported. I think we should now dump the nsDisplayLayerEventRegions codepaths as it's a lot of code complexity that can be eliminated.
Assignee: nobody → bugmail
Comment on attachment 8984586 [details]
Bug 1436409 - Remove gecko/APZ hit-test codepath from WebRenderCommandBuilder.

https://reviewboard.mozilla.org/r/250454/#review256762

I didn't look very closely at the changes to WebRenderCommandBuilder.
Attachment #8984586 - Flags: review?(botond) → review+
Comment on attachment 8984589 [details]
Bug 1436409 - Remove the nsDisplayLayerEventRegions display item.

https://reviewboard.mozilla.org/r/250460/#review256790
Attachment #8984589 - Flags: review?(tnikkel) → review+
Comment on attachment 8984587 [details]
Bug 1436409 - Remove the layout.event-regions.enabled pref and bake it in as false everywhere.

https://reviewboard.mozilla.org/r/250456/#review256792
Attachment #8984587 - Flags: review?(tnikkel) → review-
Comment on attachment 8984589 [details]
Bug 1436409 - Remove the nsDisplayLayerEventRegions display item.

https://reviewboard.mozilla.org/r/250460/#review256800
Attachment #8984589 - Flags: review?(matt.woodrow) → review+
Comment on attachment 8984588 [details]
Bug 1436409 - Remove the simple-event-region-items pref and bake it in as true.

https://reviewboard.mozilla.org/r/250458/#review256820
Attachment #8984588 - Flags: review?(mikokm) → review+
Timothy, did you mean to r- the one patch?
Flags: needinfo?(tnikkel)
Comment on attachment 8984587 [details]
Bug 1436409 - Remove the layout.event-regions.enabled pref and bake it in as false everywhere.

https://reviewboard.mozilla.org/r/250456/#review256794
Attachment #8984587 - Flags: review- → review+
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #12)
> Timothy, did you mean to r- the one patch?

No, mozreview must have messed up because I remember accidentally hitting r- and then changing it to r+ before pressing publish but mozreview must have only saved the r- part.
Flags: needinfo?(tnikkel)
Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3f96430462f8
Remove gecko/APZ hit-test codepath from WebRenderCommandBuilder. r=botond
https://hg.mozilla.org/integration/autoland/rev/53572697be32
Remove the layout.event-regions.enabled pref and bake it in as false everywhere. r=tnikkel
https://hg.mozilla.org/integration/autoland/rev/b5327ed6e61a
Remove the simple-event-region-items pref and bake it in as true. r=miko
https://hg.mozilla.org/integration/autoland/rev/995feb0ecd7f
Remove the nsDisplayLayerEventRegions display item. r=mattwoodrow,tnikkel
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: