Consider not running the refresh driver in VR mode, or at least skipping the painting machinery
Categories
(Core :: WebVR, enhancement)
Tracking
()
People
(Reporter: mstange, Assigned: daoshengmu)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxr-ww])
Attachments
(1 file)
In this profile of running a VR scene in the FxR browser, nsRefreshDriver::Tick takes up 2.6% of the total time: https://perfht.ml/2YjS5kC
Can we skip this work, or throttle it really aggressively? As far as I know, in VR mode, what the refresh driver paints will not end up on the screen until you leave VR mode.
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
MozReview-Commit-ID: 4L3PygFSFCB
Comment 3•6 years ago
|
||
Backed out changeset 553d7f3d8eed (bug 1537967) for Marionette failures in testing/firefox-ui/tests/functional/security/test_mixed_content_page.py
Log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=239554504&repo=autoland&lineNumber=5827
Push with failures:
https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=553d7f3d8eed1ab15fbf5f4b30dc861284bbb927
Backout:
https://hg.mozilla.org/integration/autoland/rev/4d47e0abfaa821d2e49ec1a2e6828ebdde810ceb
Assignee | ||
Comment 4•6 years ago
|
||
Try looks good now, https://treeherder.mozilla.org/#/jobs?repo=try&revision=54c150fb148f32969d74d99ed4c195f719190699
Comment 6•6 years ago
|
||
bugherder |
Updated•6 years ago
|
Comment 7•6 years ago
|
||
This patch caused a regression in Firefox Reality. Since it short circuits the refresh driver, WillRefresh()
calls are not make and this breaks the MediaRecorder.
Assignee | ||
Comment 8•6 years ago
|
||
(In reply to Randall Barker [:rbarker] from comment #7)
This patch caused a regression in Firefox Reality. Since it short circuits the refresh driver,
WillRefresh()
calls are not make and this breaks the MediaRecorder.
I supposed when doing VR immersive mode, we don't need Compositor to handle painting, I was thinking the immersive frames usually come from WebGL texture, and they don't need be through the compositor.
If there are a lot of cases still need compositor painting in the immersive mode, we should consider to undo this change.
Comment 9•6 years ago
|
||
This was fixed in https://bugzilla.mozilla.org/show_bug.cgi?id=1575694
Description
•