Skip to content

sdl3: Add OpenGL and Vulkan contexts - #19353

Open
RobLoach wants to merge 1 commit into
libretro:masterfrom
RobLoach:sdl3-hardware-contexts
Open

sdl3: Add OpenGL and Vulkan contexts#19353
RobLoach wants to merge 1 commit into
libretro:masterfrom
RobLoach:sdl3-hardware-contexts

Conversation

@RobLoach

@RobLoach RobLoach commented Aug 5, 2026

Copy link
Copy Markdown
Member

Adds the SDL3 OpenGL and Vulkan contexts so that the SDL3 video driver can load hardware-rendered cores. Also fixes up a few things within the video driver itself:

  • Can remember window positions
  • Consolidates shared code across the driver and contexts into sdl3_common
  • Fixes a rendering bug when applying the scissor rect
  • Addresses windowed fullscreen vs normal fullscreen

Test

  1. Compile, and run RetroArch
  2. Set the video driver to "sdl3"
  3. Load up all three of the libretro-video samples
  4. Watch the logs, when loading
  5. Expect to see that it shows the SDL3 context driver in the logs

@cscd98

cscd98 commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Does this include GLES?

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.

2 participants