Skip to content

Add multi-screen support with extended video callback#210

Open
danprice142 wants to merge 1 commit into
libretro:masterfrom
danprice142:master
Open

Add multi-screen support with extended video callback#210
danprice142 wants to merge 1 commit into
libretro:masterfrom
danprice142:master

Conversation

@danprice142
Copy link
Copy Markdown

@danprice142 danprice142 commented May 27, 2026

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

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Add multi-monitor support

1 participant