Added curved window mode on visionOS 26#15298
Draft
slouken wants to merge 40 commits intolibsdl-org:mainfrom
Draft
Added curved window mode on visionOS 26#15298slouken wants to merge 40 commits intolibsdl-org:mainfrom
slouken wants to merge 40 commits intolibsdl-org:mainfrom
Conversation
madebr
reviewed
Apr 1, 2026
Collaborator
Author
|
@icculus, I'm going to squash this when I merge, but do you have any thoughts before I do? |
Collaborator
|
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)? |
Collaborator
Author
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) |
Collaborator
|
Yikes, but okay, I'll take it. |
Also resize the mesh when the view size changes, not the other way around.
We'll use the full floating point precision instead of linear colorspace with 8-bit color.
This more closely aligns with what people expect when trying to match monitor curves
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.
This adds a window ornament that switches the SDL window into curved mode using RealityKit