feat: Add opt-in native secondary-screen rendering - #35
Open
marcbennasarp wants to merge 2 commits into
Open
marcbennasarp wants to merge 2 commits into
marcbennasarp wants to merge 2 commits into
Conversation
Support separate SDL windows with shared navigation and secondary theme views through the GLES3 renderer. Keep single-window behavior by default. Document experimental Thor support, manual validation, and remaining limitations.
Author
|
the screensaver doesn't seem to turn off the lower screen, I'll try to fix that tomorrow |
Blank the secondary window and stop its theme components while the screensaver is active. Rebuild the selected view on dismissal. Tested idle timeout, manual activation, and restored navigation on AYN Thor.
Author
|
fixed on 11537bf |
Contributor
|
Can you send this to https://github.com/batocera-linux/batocera-emulationstation, if they don't merge it then we will. |
Author
|
sure, it's done at batocera-linux/batocera-emulationstation#2215 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Title: Add opt-in native dual-screen support
Why
Dual-screen themes currently rely on oversized windows, dummy outputs and layout offsets to spread content across both displays. These workarounds can break other UI elements, including menus, popups and the left sidebar, because they use the oversized window’s dimensions.
This change gives each screen its own native window so themes can place content on either display without those workarounds.
Changes
screen="secondary"theme views.The feature is optional and disabled by default. Existing users retain single-window behavior unless they explicitly enable it through the display environment variables.
A compatible Thor theme will be published on the
thor-native-screensbranch of marcbennasarp/canvas-ds.Validation
Manually tested the native preview on AYN Thor running ROCKNIX 20260901: screen layouts, controller navigation, game lists, menus, and game launch/return. The contribution also builds on the updated upstream base; that rebuilt version has not yet been retested on the device.
Limitations
This is experimental. Menus remain on the primary screen, and secondary touch is ignored. Hotplug, screensavers and video/resource lifecycle need further work. True suspend and other devices, including RG DS, have not been tested.