Closed
Bug 1459686
Opened 7 years ago
Closed 7 years ago
Apply async images when sending display list to WR
Categories
(Core :: Graphics: WebRender, enhancement)
Tracking
()
RESOLVED
FIXED
mozilla62
Tracking | Status | |
---|---|---|
firefox62 | --- | fixed |
People
(Reporter: kats, Assigned: kats)
References
Details
(Whiteboard: [gfx-noted])
Attachments
(3 files)
When we send a new display list to WR at [1] that contains new async image pipeline references, the contents of those referenced pipelines don't actually get sent to WR until later. This can result in WR complaining about missing pipelines. What happens is that when WRBP gets the transaction from the content process, it updates the AsyncImagePipelineManager at [2], but it doesn't send that info to WR. That only happens later at [3] in a separate transaction. So the scene build that is triggered by [1] doesn't find the pipelines that are referenced in the DL.
[1] https://searchfox.org/mozilla-central/rev/b28b94dc81d60c6d9164315adbd4a5073526d372/gfx/layers/wr/WebRenderBridgeParent.cpp#651-655
[2] https://searchfox.org/mozilla-central/rev/b28b94dc81d60c6d9164315adbd4a5073526d372/gfx/layers/wr/WebRenderBridgeParent.cpp#621
[3] https://searchfox.org/mozilla-central/rev/b28b94dc81d60c6d9164315adbd4a5073526d372/gfx/layers/wr/WebRenderBridgeParent.cpp#1293
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → bugmail
Assignee | ||
Comment 1•7 years ago
|
||
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8973799 [details]
Bug 1459686 - Remove WebRenderCommandBuilder::mParentCommands which is always empty.
https://reviewboard.mozilla.org/r/242168/#review248126
Yea, we do not need it anymore.
Attachment #8973799 -
Flags: review?(sotaro.ikeda.g) → review+
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8973800 [details]
Bug 1459686 - Refactor to have the ApplyAsyncImages callsite provide the transaction.
https://reviewboard.mozilla.org/r/242170/#review248132
Attachment #8973800 -
Flags: review?(sotaro.ikeda.g) → review+
Comment 7•7 years ago
|
||
mozreview-review |
Comment on attachment 8973801 [details]
Bug 1459686 - Include async image updates in the displaylist transaction.
https://reviewboard.mozilla.org/r/242172/#review248134
You might want to add a comment why it is necessary.
Attachment #8973801 -
Flags: review?(sotaro.ikeda.g) → review+
Assignee | ||
Comment 8•7 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #7)
> You might want to add a comment why it is necessary.
Will do. Also I just realized the part 1 patch seems to have a bunch of merge day goop in it, no idea how that happened. I'll clean it up.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 12•7 years ago
|
||
Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4869243efd9c
Remove WebRenderCommandBuilder::mParentCommands which is always empty. r=sotaro
https://hg.mozilla.org/integration/autoland/rev/b27eadf1b8de
Refactor to have the ApplyAsyncImages callsite provide the transaction. r=sotaro
https://hg.mozilla.org/integration/autoland/rev/25652d08b28e
Include async image updates in the displaylist transaction. r=sotaro
Comment 13•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4869243efd9c
https://hg.mozilla.org/mozilla-central/rev/b27eadf1b8de
https://hg.mozilla.org/mozilla-central/rev/25652d08b28e
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in
before you can comment on or make changes to this bug.
Description
•