Port spring to ogl Vulcan..

Port spring to ogl Vulcan..

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

Post Reply
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Port spring to ogl Vulcan..

Post by PicassoCT »

User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: Port spring to ogl Vulcan..

Post by Silentwings »

Currently supports only OGL2.1, with some missing functionality -> not viable.
ivand
Posts: 310
Joined: 27 Jun 2007, 17:05

Re: Port spring to ogl Vulcan..

Post by ivand »

If anything it's worth to consider porting spring to Vulkan (along with re-thinking whole graphical pipeline from scratch). While it will enable running on Mac and allow for maximum performance (in theory), it's extremely difficult task in terms of required man-hours, so I doubt it will ever be done for spring.
User avatar
MasterBel
Posts: 271
Joined: 18 Mar 2018, 07:48

Re: Port spring to ogl Vulcan..

Post by MasterBel »

ivand wrote:it will enable running on Mac
So will a port to a GL <=4.1 core profile. Current develop branch builds on mac last time I tried. I'm not aware of what the current progress in the conversion is. I haven't seen an obviously GL-related commit in a while, but I'm not the best at understanding C++
ivand
Posts: 310
Joined: 27 Jun 2007, 17:05

Re: Port spring to ogl Vulcan..

Post by ivand »

MasterBel wrote: 03 Nov 2018, 03:18
ivand wrote:it will enable running on Mac
So will a port to a GL <=4.1 core profile.
I kinda hope we eventually go for 4.5 or 4.6 core profile. 4.1 is almost 9 years and lots have been added to OpenGL since then.
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: Port spring to ogl Vulcan..

Post by gajop »

Does it need to be mandatory ;..;
I really would prefer we chose 3.x core profile as mandatory as a first step. It's a big enough change as it is.
ivand
Posts: 310
Joined: 27 Jun 2007, 17:05

Re: Port spring to ogl Vulcan..

Post by ivand »

gajop wrote: 03 Nov 2018, 10:58 Does it need to be mandatory ;..;
I really would prefer we chose 3.x core profile as mandatory as a first step. It's a big enough change as it is.
Dunno, I haven't looked what kind of functionality is currently leveraged, which is outside of 3.x. What I'm sure of that it's PITA to rely on extensions though. Imagine tons of hellish stuff like below:

Code: Select all

if (ARB_some_cool_extension) {
  //you do some cool and optimized stuff
}
else {
  //now you do what?
}
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: Port spring to ogl Vulcan..

Post by Kloot »

Yes, it needs to be mandatory. You are also a year too late for that discussion.

No, 105 will not run on Mac because Apple's GL4.1 implementation lacks crucial features and there are not going to be multiple code paths unless you pay me.

All things considered though, I think I'd rather write a new engine from the ground up.
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Re: Port spring to ogl Vulcan..

Post by PicassoCT »

How much would we have to pay for a volcan rewrite?
ivand
Posts: 310
Joined: 27 Jun 2007, 17:05

Re: Port spring to ogl Vulcan..

Post by ivand »

Kloot wrote: 03 Nov 2018, 11:28 All things considered though, I think I'd rather write a new engine from the ground up.
Not sure if it's irony or not. Anyway, if you start it, I'll try my very best to contribute to the graphical part.
hokomoko
Spring Developer
Posts: 593
Joined: 02 Jun 2014, 00:46

Re: Port spring to ogl Vulcan..

Post by hokomoko »

Kloot wrote: 03 Nov 2018, 11:28No, 105 will not run on Mac because Apple's GL4.1 implementation lacks crucial features and there are not going to be multiple code paths unless you pay me.
I suspect you mean that you won't write multiple code paths unless you get paid.
User avatar
MasterBel
Posts: 271
Joined: 18 Mar 2018, 07:48

Re: Port spring to ogl Vulcan..

Post by MasterBel »

Kloot wrote: 03 Nov 2018, 11:28 Yes, it needs to be mandatory. You are also a year too late for that discussion.

No, 105 will not run on Mac because Apple's GL4.1 implementation lacks crucial features and there are not going to be multiple code paths unless you pay me.

All things considered though, I think I'd rather write a new engine from the ground up.
Wait what? I though supporting Mac was the entire point of moving to the core profile…
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Port spring to ogl Vulcan..

Post by Forboding Angel »

ivand wrote: 03 Nov 2018, 15:54
Kloot wrote: 03 Nov 2018, 11:28 All things considered though, I think I'd rather write a new engine from the ground up.
Not sure if it's irony or not. Anyway, if you start it, I'll try my very best to contribute to the graphical part.
http://i.imgur.com/W6oybGm.gif
Last edited by Forboding Angel on 25 Feb 2019, 15:01, edited 1 time in total.
hawara
Posts: 8
Joined: 27 Nov 2018, 12:02

Re: Port spring to ogl Vulcan..

Post by hawara »

MasterBel wrote: 04 Nov 2018, 01:38
Kloot wrote: 03 Nov 2018, 11:28 Yes, it needs to be mandatory. You are also a year too late for that discussion.

No, 105 will not run on Mac because Apple's GL4.1 implementation lacks crucial features and there are not going to be multiple code paths unless you pay me.

All things considered though, I think I'd rather write a new engine from the ground up.
Wait what? I though supporting Mac was the entire point of moving to the core profile…
I'm confused about this point as well. Is it a foregone conclusion that Mac OS X support will be dropped in coming releases of spring and macos?
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: Port spring to ogl Vulcan..

Post by Silentwings »

It's not really fair to say that mac support will be "dropped".

Apple lacks support for some standard OpenGL features, which were added to OpenGL around 2010. Spring will update to use these features and probably doesn't have the resources to keep ~10yo backwards compat alive. This will mean Spring no longer compiles on macs.

Looks to me like apple aren't much interested in (non-phone/tablet) gaming.
Post Reply

Return to “General Discussion”