-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Make the virtual display's window translucent #9828
Conversation
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.
The logic here LGTM. Are you planning on landing tests for this in another repo after this lands?
@cyanglaz is working on screenshot tests for the platform views (flutter/flutter#36200 is the first step), we should add a test case for this as well there. This PR will have to land before the tests anyway so a golden can be produced. |
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.
Got it, LGTM!
flutter/engine@3f27c57...74af88b git log 3f27c57..74af88b --no-merges --oneline 74af88b Make the virtual display's window translucent (flutter/engine#9828) bf91bdb Roll src/third_party/skia 563d044c0e76..9d844d8ce5a2 (10 commits) (flutter/engine#9831) The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff (garyq@google.com), and stop the roller if necessary.
flutter/engine@3f27c57...74af88b git log 3f27c57..74af88b --no-merges --oneline 74af88b Make the virtual display&flutter#39;s window translucent (flutter/engine#9828) bf91bdb Roll src/third_party/skia 563d044c0e76..9d844d8ce5a2 (10 commits) (flutter/engine#9831) The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff (garyq@google.com), and stop the roller if necessary.
By default alpha is not preserved for the VD's contents.
We make the window translucent as a side effect of doing so is preserving alpha.
There should not be extra performance cost for setting the window to be translucent as there is only a single window within the VD.
Fixes flutter/flutter#33756