-
Notifications
You must be signed in to change notification settings - Fork 16.2k
fix: port OSR code to new viz compositor codepath #17538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -0,0 +1,121 @@ | |||
// Copyright (c) 2016 GitHub, Inc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: update copyright year
For a pull request this large, it's challenging to inspect every nook and cranny as thoroughly as i'd like but based on this writeup and my understanding of the code at hand this seems to be sufficient for us to merge. I don't see any glaring issues and it's (imo) more important to release this to consumers such that the beta cycle surfaces any bugs that may be present therein and that weren't caught in initial development. |
A maintainer has manually backported this PR to "5-0-x", please check out #17572 |
btw, I'm pretty sure there's only one guy from CEF: Marshall Greenblatt :) |
@nornagon Well, most of the viz osr work is actually done by Alexander Guettler, we have group PM with him, Marshall Greenblatt and @codebytere where we discussed how things are going. See https://bitbucket.org/chromiumembedded/cef/issues/2575 |
@brenca can you rebase this PR? |
This should also fix the crash when there is navigation on macOS.
Release Notes Persisted
|
* fix: make OSR work with viz compositor * fix: update OSR patch * fix: update patch again * fix: update viz_osr.patch for macOS * fix: gn check warnings * chore: no need to change SoftwareOutputDeviceWinProxy * chore: add check in case we missed something * fix: consider scale factor when compare size * fix: make GPU OSR work * fix: autofill popups with OSR * chore: use UNIX line ending for osr_video_consumer * chore: code is already in defined(OS_MACOSX) * fix: share same OSR implementation on macOS This should also fix the crash when there is navigation on macOS. * test: osr window should not crash after navigation * fix: make osr work on Mac properly * fix: software osr on windows * fix: software osr on Linux * fix: compilation error introduced with rebase * fix: split local surface id allocation into two * Update osr_host_display_client_mac.mm * chore: update copyright year * fix: update patch
Description of Change
Fixes #16983.
There is an ongoing effort to upstream a large chunk of the patch to
chromium
(one of the guys fromCEF
is doing the upstreaming, and thechromium
folks indicated that they are open to the patch).TODO:
5-0-x
Checklist
npm test
passesRelease Notes
Notes: Fixed offscreen rendering not working with viz compositor.