Add multi-screen support with extended video callback#210
Open
danprice142 wants to merge 1 commit into
Open
Conversation
Introduce multi-screen capability and an extended video refresh callback so the core can stream an auxiliary (bottom) screen to the frontend. Adds environment commands RETRO_ENVIRONMENT_SET_MULTI_SCREEN_AVAILABILITY and RETRO_ENVIRONMENT_GET_MULTI_SCREEN_ACTIVE, types retro_video_refresh_ext_t, retro_multi_screen_info, retro_multi_screen_query, and retro_set_video_refresh_ext. Implements an option (melonds_aux_stream_bottom_screen) to enable streaming of the bottom screen, updates geometry and screen layout handling when enabled, and emits the auxiliary framebuffer via the new callback when active. Changes touch headers, core options, state, and rendering logic to support this behavior and to notify the frontend of available screens during load_game.
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.
Introduce multi-screen capability and an extended video refresh callback so the core can stream an auxiliary (bottom) screen to the frontend. Adds environment commands RETRO_ENVIRONMENT_SET_MULTI_SCREEN_AVAILABILITY and RETRO_ENVIRONMENT_GET_MULTI_SCREEN_ACTIVE, types retro_video_refresh_ext_t, retro_multi_screen_info, retro_multi_screen_query, and retro_set_video_refresh_ext. Implements an option (melonds_aux_stream_bottom_screen) to enable streaming of the bottom screen, updates geometry and screen layout handling when enabled, and emits the auxiliary framebuffer via the new callback when active. Changes touch headers, core options, state, and rendering logic to support this behavior and to notify the frontend of available screens during load_game.
Requires libretro/RetroArch#19019
Closes #205