(this thread got live again, and I saw an old reply on it that could do with some updates)
VANYA wrote:In my opinion, the best solution would be to rewrite the fbgfx library under OpenGL. Obvious advantages:
This would be a perfectly valid opinion a few years ago, but you are writing this a week after Apple announced it would drop OpenGL, and the last year Vulkan slowly is getting more relevant for new development
Small update: Apple's recent release of Catalina means the end of opengl-by-default on Apple targets. It is said not to have Vulkan either, only Apple's own Metal layers. There are a few 3rd party libraries like moltenvk that can help a bit there (bridging apis like vulkan to metal), but I'm told they are not very userfriendly.
3) independence from Microsoft. Who knows what they will declare tomorrow obsolete ...
Well, of all the graphics apis, OpenGL has the biggest chance.[/quote]
One can't find one API that works crossplatform on all anymore it seems. So multiple APIs (backends) will be needed.