Closed
Bug 1497606
Opened 6 years ago
Closed 6 years ago
Remove disable_composition_ in screen_capturer_win_gdi
Categories
(Core :: WebRTC: Audio/Video, enhancement, P3)
Tracking
()
RESOLVED
FIXED
mozilla65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: dminor, Assigned: dminor)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
We have a few changes to control composition being disabled: https://searchfox.org/mozilla-central/search?q=disable_composition_&redirect=false We should upstream those.
Assignee | ||
Comment 1•6 years ago
|
||
It appears that disable_composition_ is always set to false [1] and so these changes can be removed. [1] https://searchfox.org/mozilla-central/rev/3fdc51e66c9487b39220ad58dcee275fca070ccd/dom/media/systemservices/video_engine/desktop_capture_impl.cc#347
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → dminor
Status: NEW → ASSIGNED
Rank: 25
Summary: Upstream disable_composition_ in screen_capturer_win_gdi → Remove disable_composition_ in screen_capturer_win_gdi
Assignee | ||
Comment 2•6 years ago
|
||
Now that I look at this again, it appears we added disable_composition_ to store the value of the option. I don't see why we can't just use whether or not composition_func_ has a value to track whether we've disabled composition which is what upstream does.
Assignee | ||
Comment 3•6 years ago
|
||
This removes disable_composition_ and instead uses the value of composition_func_ to determine whether or not composition is disabled. This is what is done by upstream webrtc.org. We call options.set_disable_effects(false) in desktop_capture_impl.cc.
Assignee | ||
Comment 4•6 years ago
|
||
Try run here: https://treeherder.mozilla.org/#/jobs?repo=try&revision=721a9c6a159177195261357864833b6f41ee2088
Pushed by dminor@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b3f5cca4be44 Remove disable_composition_ in screen_capturer_win_gdi; r=ng
Comment 6•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b3f5cca4be44
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in
before you can comment on or make changes to this bug.
Description
•