Closed
Bug 1413229
Opened 7 years ago
Closed 7 years ago
Don't call CreateWebRenderCommands for event regions display items
Categories
(Core :: Graphics: WebRender, enhancement, P1)
Tracking
()
RESOLVED
FIXED
mozilla58
Tracking | Status | |
---|---|---|
firefox57 | --- | unaffected |
firefox58 | --- | unaffected |
People
(Reporter: kats, Assigned: kats)
References
Details
(Whiteboard: [wr-mvp] [gfx-noted])
Attachments
(1 file)
Right now we are calling CreateWebRenderCommands for all event regions display items. This is bad because (a) there are a lot of these items, (b) it's a virtual function call, and (c) it always returns false, so we then run the fallback codepath for these items. All of this is wasted work because the event regions display items are handled separately in WebRenderCommandBuilder and don't paint anything anyway.
Updated•7 years ago
|
Comment hidden (mozreview-request) |
Updated•7 years ago
|
Status: NEW → ASSIGNED
Priority: P3 → P1
Whiteboard: [gfx-noted][wr-mvp][triage] → [wr-mvp] [gfx-noted]
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8923866 [details] Bug 1413229 - Stop calling CreateWebRenderCommands for event regions types. https://reviewboard.mozilla.org/r/195038/#review200098 It's not obvious to me that this will be that much faster, but sure.
Attachment #8923866 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Comment 3•7 years ago
|
||
Can't hurt, anyway.
Pushed by kgupta@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3d78aef92c79 Stop calling CreateWebRenderCommands for event regions types. r=jrmuizel
Comment 5•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3d78aef92c79
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in
before you can comment on or make changes to this bug.
Description
•