Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

OpenGl deprecated in Mac 10.14 #193

Open
Ciruman opened this issue Sep 3, 2018 · 10 comments
Open

OpenGl deprecated in Mac 10.14 #193

Ciruman opened this issue Sep 3, 2018 · 10 comments
Labels
enhancement New feature or request

Comments

@Ciruman
Copy link
Contributor

Ciruman commented Sep 3, 2018

As provided at the end of the apple documentation:

https://developer.apple.com/macos/whats-new/

OpenGL is going to be deprecated.

@joerg-wille
Copy link

Very important topic for new projects.
What about Vulkan? Maybe Metal can also be handled with Vulkan:
MoltenVK

@Ciruman
Copy link
Contributor Author

Ciruman commented Sep 3, 2018

Also related to the issue are the following links:

https://bitbucket.org/dejayberlin/joglfxpipeline/overview
https://skia.org/

@tomsontom Did you start with skia?

@kevinrushforth
Copy link
Collaborator

We are exploring a Metal port, which is what Apple suggests using instead of OpenGL.

I think Vulkan is a less interesting alternative without Apple's support (which they are not likely to do).

I doubt that Skia would be a good alternative for a couple of reasons: 1, it would bring a dependency on a third-party graphics library, since unlike OpenGL or Metal (or DirectX on Windows), it doesn't come with the platform); 2, it is only a 2D library and wouldn't handle any 3D rendering (it may or may not have enough support to accelerate our filter effects or other 2D rendering effects)

@Ciruman
Copy link
Contributor Author

Ciruman commented Sep 3, 2018

Metal port
pros: which Mac are likely to do, cleaner.
cons: new implementation just for Mac.(from now double support: openGl->Linux, Metal->Mac)

Vulkan + MoltenVK
pros: one implementation for Linux and Mac
cons: additional dependency to MoltenVK

Skia
pros: one implementation for the 3 platforms.
cons: 1, it would bring a dependency on a third-party graphics library 2, it is only a 2D library and wouldn't handle any 3D rendering

Does it make sense to mention https://moltengl.com/moltengl/? It´s not open source, and you need to purchase a License, and at the end it is another dependency.

Is there any branch with the Metal port, where we could have a look and maybe contribute?

*When we are talking about Metal, I assume we are all talking about last version, Metal 2.

@eugener eugener added the enhancement New feature or request label Sep 3, 2018
@XakepSDK
Copy link

XakepSDK commented Sep 5, 2018

@Ciruman vulkan works in windows too

@Ciruman
Copy link
Contributor Author

Ciruman commented Sep 6, 2018

@XakepSDK You are right, sorry, I forgot it.

@mkroening
Copy link
Contributor

There is also gfx-portability, a subproject of gfx-rs, which implements the Vulkan Portability Initiative which "is defining and providing a standardized subset of the familiar Vulkan API that will run universally on all new-generation 3D-enabled platforms, including those that currently support only DirectX and Metal".

It is being introduced to Firefox and showcases Dota2, RPCS3 and Dolphin.

@Ciruman
Copy link
Contributor Author

Ciruman commented Dec 7, 2018

Are there any updates? I heard there is a work done in openjdk. Where can we find the source code?

@vlaaad
Copy link
Contributor

vlaaad commented Jan 22, 2019

We are developing a cross-platform JavaFX application and this is a big worry for us, can you please post an update regarding status of this issue? Thanks in advance.

@kevinrushforth
Copy link
Collaborator

There is no indication that Apple will remove OpenGL for several years, but we plan to prototype this soon. We'll post an update as soon as we have something to share.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants