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

Native Metal backend #284

Open
rweichler opened this issue Aug 12, 2024 · 3 comments
Open

Native Metal backend #284

rweichler opened this issue Aug 12, 2024 · 3 comments

Comments

@rweichler
Copy link

rweichler commented Aug 12, 2024

Hi, I saw this: mpv-player/mpv#12486 (comment)

I was wondering what the rough plan for this is? Has it been started yet? I was actually considering pulling MoltenVK into my project but if there's been any progress made on the Metal backend I think I would rather use that, even if it's incomplete. I looked at the OpenGL backend which is ~3KLOC, assuming the Metal backend is in the same ballpark I would rather maintain something like that (vs bring in MoltenVK as a dependency).

Thanks

@rweichler rweichler changed the title Metal backend? Native Metal backend Aug 12, 2024
@haasn
Copy link
Owner

haasn commented Aug 12, 2024

Hey,

The idea has been effectively put on hold. I am too busy these days with other projects, and my personal life. I didn't even get around to upgrading my aging laptop. (The catalyst was that I was planning on picking up a Macbook and using that for development, but this is also on hold for the time being)

I wouldn't say the idea is completely dead, just that I have other priorities at the moment. Even in the context of libplacebo, there are things I'd say are more important (e.g. finishing the refactor of the queue and swapchain APIs)

Edit: That said, if you are interested enough in this, I can definitely find the time to provide guidance on how to implement a new GPU backend.

@rweichler
Copy link
Author

Maybe I'll give it a shot. Porting it to Metal might still be easier than trying to fit MoltenVK into my project. If I were to attempt this, I would try porting the OpenGL code to Metal, as I'm only familiar with those two.

@rweichler
Copy link
Author

No guarantees though.

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

2 participants