Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metal Contentview.layer in syswm #6629

Closed
icculus opened this issue Nov 26, 2022 · 2 comments
Closed

Metal Contentview.layer in syswm #6629

icculus opened this issue Nov 26, 2022 · 2 comments

Comments

@icculus
Copy link
Collaborator

icculus commented Nov 26, 2022

Mentioned in #6535, for future consideration:

However SDL_SysWMinfo probably should expose a pointer to contentView.layer.

Originally posted by @icculus in #3519 (comment)

@slime73
Copy link
Contributor

slime73 commented Nov 30, 2022

Does SDL_Metal_GetLayer return what they needed? I actually don't know if it returns the same layer as the backing view's layer on macOS, but I think it is what VkMetalSurfaceCreateInfoEXT expects at least.

@slouken
Copy link
Collaborator

slouken commented Nov 7, 2023

I think so. Also I'd like to move a bunch of the SysWM stuff into window properties in the future so it can be easily extended.

@slouken slouken closed this as not planned Won't fix, can't repro, duplicate, stale Nov 7, 2023
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

No branches or pull requests

3 participants