This repository was archived by the owner on Jan 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vm_tools: sommelier: improve randr emulation behaviour
1. Fetch virtual screen info for the window to find the appropriate emulation rect. 2. Send ConfigureWindow event after emulation. Some games require manual triggering (ex. to re-enter fullscreen, etc). 3. Some games set max dimensions as INT_MAX. Take account of this in sl_window_is_containerized and sl_internal_toplevel_configure_size_containerized. 4. When emulation is active, override viewport destination size when window is non-fullscreen in compositor (so that window can be resized like non-emulated mode). 5. Make toplevel_configure_position always use emulated position. BUG=b:328699937,b:331688838 TEST=Test games: Stardew Valley, CS2 Change-Id: I79b945e15348ecdad61f63cac6b1192a4117ddf2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/5460650 Commit-Queue: Max Lee <[email protected]> Reviewed-by: Chloe Pelling <[email protected]> Tested-by: Max Lee <[email protected]>
- Loading branch information
Max Lee
authored and
Chromeos LUCI
committed
Apr 23, 2024
1 parent
cbaa703
commit b0dd93e
Showing
5 changed files
with
131 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters