Skip to content

Added curved window mode on visionOS 26#15298

Draft
slouken wants to merge 40 commits intolibsdl-org:mainfrom
slouken:visionos
Draft

Added curved window mode on visionOS 26#15298
slouken wants to merge 40 commits intolibsdl-org:mainfrom
slouken:visionos

Conversation

@slouken
Copy link
Copy Markdown
Collaborator

@slouken slouken commented Apr 1, 2026

This adds a window ornament that switches the SDL window into curved mode using RealityKit

@slouken slouken marked this pull request as draft April 1, 2026 21:19
@slouken slouken added this to the 3.6.0 milestone Apr 1, 2026
Comment thread src/video/uikit/SDL_CurvedContentHosting.swift
@slouken slouken marked this pull request as ready for review April 1, 2026 22:11
@slouken
Copy link
Copy Markdown
Collaborator Author

slouken commented Apr 1, 2026

@icculus, I'm going to squash this when I merge, but do you have any thoughts before I do?

@slouken slouken requested a review from icculus April 1, 2026 22:12
@icculus
Copy link
Copy Markdown
Collaborator

icculus commented Apr 2, 2026

That's a lot of code to get a curved window. 😬

How far does this get you on doing "real" VisionOS apps (verses just getting a 2D window floating in your environment)?

@slouken
Copy link
Copy Markdown
Collaborator Author

slouken commented Apr 2, 2026

How far does this get you on doing "real" VisionOS apps (verses just getting a 2D window floating in your environment)?

This is just a 2D window floating in your environment. There are some commits in here that switch you into an immersive scene, but that's out of scope for this PR (and presumably involves some OpenXR integration that hasn't been done)

@icculus
Copy link
Copy Markdown
Collaborator

icculus commented Apr 2, 2026

Yikes, but okay, I'll take it.

@slouken slouken marked this pull request as draft April 10, 2026 17:57
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.

3 participants