Closed
Bug 1495352
Opened 6 years ago
Closed 6 years ago
Make wr_notifier_nop_frame_done() notify DidComposite
Categories
(Core :: Graphics: WebRender, enhancement, P2)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: sotaro, Assigned: sotaro)
References
Details
Attachments
(1 file)
6.67 KB,
patch
|
nical
:
review+
|
Details | Diff | Splinter Review |
Non WR case, DidComposite is notified even the following cases. - [1] When LayerManagerComposite does not have root. - [2] when LayerManagerComposite skips composite because of no invalidation. But with WR [1] does not notify DidComposite. [2] is going to be implemented by Bug 1461239, but wr_notifier_nop_frame_done() does not notify DidComposite. For Bug 1461239, wr_notifier_nop_frame_done() needs to notify DidComposite.
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → sotaro.ikeda.g
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=f1af9990c8cea3c77252ec6c1155f4aeff29c595
Assignee | ||
Updated•6 years ago
|
Attachment #9013220 -
Flags: review?(nical.bugzilla)
Updated•6 years ago
|
Blocks: stage-wr-trains
Priority: -- → P2
Comment 3•6 years ago
|
||
Comment on attachment 9013220 [details] [diff] [review] patch - Make wr_notifier_nop_frame_done() notify DidComposite Review of attachment 9013220 [details] [diff] [review]: ----------------------------------------------------------------- r=me if you are positive we don't need to do anything special when UpdateAndRender returns false. ::: gfx/webrender_bindings/RenderThread.cpp @@ +369,5 @@ > > auto& renderer = it->second; > > + if (aRender) { > + renderer->UpdateAndRender(aReadback); So there's nothing to do if we didn't manage to render?
Attachment #9013220 -
Flags: review?(nical.bugzilla) → review+
Assignee | ||
Comment 4•6 years ago
|
||
Comment on attachment 9013220 [details] [diff] [review] patch - Make wr_notifier_nop_frame_done() notify DidComposite Review of attachment 9013220 [details] [diff] [review]: ----------------------------------------------------------------- ::: gfx/webrender_bindings/RenderThread.cpp @@ +369,5 @@ > > auto& renderer = it->second; > > + if (aRender) { > + renderer->UpdateAndRender(aReadback); We do not do error handling in RenderThread::UpdateAndRender() level. The current error handling is just not notify did composite. It is not good. Error handling is already done in RendererOGL::UpdateAndRender() level.
Assignee | ||
Comment 5•6 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #4) > We do not do error handling in RenderThread::UpdateAndRender() level. Correction: > We do not need to do error handling in RenderThread::UpdateAndRender() level.
Pushed by sikeda@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/aa6baa1cd577 Make wr_notifier_nop_frame_done() notify DidComposite r=nical
Comment 7•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/aa6baa1cd577
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in
before you can comment on or make changes to this bug.
Description
•