V-EZ icon indicating copy to clipboard operation
V-EZ copied to clipboard

Port to macOS, too!

Open leafi opened this issue 8 years ago • 20 comments

Given that the MoltenVK translation layer is now open source and handled by the Khronos group, please consider compiling for macOS in addition to Linux.

While MoltenVK's translation apparently isn't perfect, it will definitely improve over time, and supporting macOS in addition to Windows and Linux will make V-EZ a more attractive target for ISVs who may want to provide builds for this platform down the line.

leafi avatar Mar 27 '18 08:03 leafi

Porting to macOS is certainly on our TODO list. Thanks.

soconne avatar Mar 27 '18 13:03 soconne

+1

drhaynes avatar Mar 28 '18 15:03 drhaynes

+1

oscarbg avatar Mar 30 '18 10:03 oscarbg

This is currently being investigated however there are still limitations with MoltenVK. If the various issues I've encountered can be fixed, macOS support will be part of the next release.

soconne avatar May 01 '18 20:05 soconne

Thanks.. have you reported, by opening separate issues on MoltenVK Github site?.. they are supportive and if they take care of issues you found may be useful for other project MacOS ports also..

oscarbg avatar May 01 '18 21:05 oscarbg

@soconne can you point us in the direction of the issues that are blockers? Incase myself or someone else has some bandwidth to take a look.

drhaynes avatar May 02 '18 11:05 drhaynes

Given that macOS is on the roadmap, are iOS and Android support on that roadmap as well?

EncodedNybble avatar May 21 '18 17:05 EncodedNybble

iOS and Android are unlikely to get full support as AMD does not have hardware for either of those platforms. However since V-EZ is open source, you can always try to get it compiling on them.

soconne avatar Aug 25 '18 18:08 soconne

Have the MoltenVK limitations been fixed?

  • If so, is it coming? :)
  • If not, what are they and have they been raised to the MoltenVK project? Since it's OpenSource, someone might actually be able to patch the limitations, or do some intermediate layer between V-EZ and MoltenVk, or something.

cybik avatar Aug 30 '18 16:08 cybik

What is the status of MoltenVK integration? Using E-VZ on MacOS would be really useful.

RSI3D avatar Sep 28 '18 20:09 RSI3D

Please point out what are limitations of MoltenVK affecting V-EZ and progress updates. I'm glad to investigate and help resolving the issues.

manhnt9 avatar Oct 04 '18 00:10 manhnt9

Our attempt to port V-EZ to MacOS. It works but currently the window resolution is wrong somehow.

Running on Intel(R) Iris(TM) Graphics 550 Screen_Shot_2019-07-02_at_6 05 38_PM

manhnt9 avatar Jul 02 '19 11:07 manhnt9

You running that on a Retina display? If you are and you are also using glfw, check the glfw docs about using glfwGetFramebufferSize instead of glfwGetWindowSize.

rextimmy avatar Jul 02 '19 11:07 rextimmy

Maybe, I'm not familiar with Mac (it is a Macbook). Thanks for the suggestion! I'll test it out.

manhnt9 avatar Jul 02 '19 12:07 manhnt9

We've succesfully built and run Saga3D (which uses V-EZ underlying) on MacOS, some samples are working on iOS initially. Saga3D is 90% ported for iOS, more news is coming!

manhnt9 avatar Aug 02 '19 04:08 manhnt9

@manhnt9 , nice.. current MoltenVK 1.0.36 in SDK 1.1.114 works out of the box? or V-EZ needs some MoltenVK patches? thanks..

oscarbg avatar Aug 02 '19 07:08 oscarbg

It needs a little patching. I haven't grabbed full changelogs from team yet. Here is a Saga3D Triangle sample running on real iPhone we have today.

Screen_Shot_2019-08-02_at_4 38 44_PM

manhnt9 avatar Aug 02 '19 12:08 manhnt9

Three cheers for @manhnt9 coming through for us :D

(I could probably reuse this)

cybik avatar Aug 02 '19 17:08 cybik

We are able to load a mesh and render it on iPhone 6 with V-EZ. Check out Saga3D (ios branch) here: https://gitlab.com/InnerPieceOSS/Saga3D/ Screen_Shot_2019-08-05_at_11 03 33_PM

Since V-EZ's repo is inactive now, I'm not sure how we would contribute back to it. If V-EZ gets too long to be updated we may step up to maintain our own fork. There was some progress on Android by us too.

manhnt9 avatar Aug 06 '19 06:08 manhnt9

Feel free to fork their repo here and introduce a PR. We can probably source your patches from there :)

cybik avatar Aug 06 '19 06:08 cybik