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

OpenGL support? #508

Open
pmarks-net opened this issue Nov 25, 2024 · 0 comments
Open

OpenGL support? #508

pmarks-net opened this issue Nov 25, 2024 · 0 comments

Comments

@pmarks-net
Copy link

pmarks-net commented Nov 25, 2024

I notice that libretro MAME includes vestigial support for OpenGL, but the retroogl.c file doesn't exist:

https://github.com/libretro/mame/blob/master/src/osd/libretro/libretro-internal/libretro.cpp#L68

Instead, the graphics are rendered in software here:

https://github.com/libretro/mame/blob/master/src/emu/rendersw.hxx

Is there a reason why OpenGL was never implemented? I want to run vector games like Asteroids, but MAME's software renderer looks awful compared to OpenGL, particularly when increasing the Beam Width and Beam Dot Size. Dots are drawn as vertical lines instead of circles:

mame_software
mame_opengl

Note that enabling the alternate renderer in RetroArch improves the resolution, but not the roundness.

Would it be more productive to use OpenGL, or to work on improving MAME's software renderer?

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

1 participant