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

Support OpenGL rendering? #123

Open
palmerj opened this issue Aug 9, 2022 · 5 comments
Open

Support OpenGL rendering? #123

palmerj opened this issue Aug 9, 2022 · 5 comments

Comments

@palmerj
Copy link

palmerj commented Aug 9, 2022

When I run tyrquake on retroarch (MacOS) it seems to only use software rending rather than opengl rendering, evne though my retroarch video renderer is set to 'gl'. Any option to enable openGL?

@hizzlekizzle
Copy link
Contributor

Not currently, no, but there are also some good reasons to stick with software rendering, such as the fact that it will work even on devices with no OpenGL support at all (such as a Wii or various OpenDingus handhelds).

@palmerj
Copy link
Author

palmerj commented Aug 9, 2022

But I assume there could be an option which could choose which renderer to use.

It's interesting that this fork has removed OpenGL parts of the codebase from upstream i.e common/vid_sgl.c. So maybe support was not wanted from the outset.

@palmerj
Copy link
Author

palmerj commented Aug 9, 2022

Looks like GL parts were removed early on in the code porting 3cee1ef. But commit message from @inactive123 said removing for now...

@LibretroAdmin
Copy link
Contributor

The problem with that GL renderer is that it's old dusty code predating even OpenGL 1.1. It's using a subset of GL 1.x because early graphics accelerators didn't even support the full OpenGL featureset. The code would not work on mobile because they use GLES and it'd likely be a problem for GL core context too since you cannot use fixed function code anymore with such a context.

@palmerj
Copy link
Author

palmerj commented Aug 10, 2022

Putting GLES to one side, the upstream version of tyrquake has been making many quality of life improvements to the opengl renderer which makes the opengl work well on windows, mac and linux. See browseable via cgit

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

3 participants