Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upHide window #25799
Hide window #25799
Conversation
highfive
commented
Feb 19, 2020
|
Heads up! This PR modifies the following files:
|
| @@ -71,6 +71,10 @@ void BrowserPage::BindServoEvents() { | |||
| ? Visibility::Collapsed | |||
| : Visibility::Visible); | |||
| }); | |||
| Window::Current().VisibilityChanged( | |||
This comment has been minimized.
This comment has been minimized.
Manishearth
Feb 19, 2020
Member
I assume this gets called when we enter immersive mode on the hololens as well, right? Is there an FPS improvement?
This comment has been minimized.
This comment has been minimized.
paulrouget
Feb 20, 2020
Author
Contributor
I assume this gets called when we enter immersive mode on the hololens as well, right?
Yes.
Is there an FPS improvement?
I haven't looked.
This comment has been minimized.
This comment has been minimized.
paulrouget
Feb 20, 2020
Author
Contributor
I don't see obvious improvements, but the emulator is probably not the best way of measure that.
|
@bors-servo r+ |
|
|
Hide window Stop animations when the window is hidden. Tested with both Immersive Mode, and regular window being minimized. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #25794 (GitHub issue number if applicable)
|
|
|
@bors-servo retry |
Hide window Stop animations when the window is hidden. Tested with both Immersive Mode, and regular window being minimized. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #25794 (GitHub issue number if applicable)
|
|
|
@bors-servo retry |
Hide window Stop animations when the window is hidden. Tested with both Immersive Mode, and regular window being minimized. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #25794 (GitHub issue number if applicable)
|
|
|
@bors-servo retry |
|
|
paulrouget commentedFeb 19, 2020
Stop animations when the window is hidden.
Tested with both Immersive Mode, and regular window being minimized.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errors