OpenGL 3.0

Support and general discussion.
Post Reply
User avatar
xXLuckyXx
Posts: 66
Joined: Tue 06 Feb, 2018 3:52 pm

OpenGL 3.0

Post by xXLuckyXx »

What is the difference between Direct3D and OpenGL 3.0 in PCem?
What should I use for games?
User avatar
leilei
Posts: 1039
Joined: Fri 25 Apr, 2014 4:47 pm

Re: OpenGL 3.0

Post by leilei »

Either are fine, unless your video chipset driver decides otherwise. YMMV.

The OpenGL 3.0 backend in PCem has a shader system in addition in which it can work with GLSL shaders written for retroarch. This isn't available in the D3D backend (though it could be......if there was some niche interest in HLSL shader support that would contribute an implementation)
User avatar
xXLuckyXx
Posts: 66
Joined: Tue 06 Feb, 2018 3:52 pm

Re: OpenGL 3.0

Post by xXLuckyXx »

So there is almost no difference.
JosepMa
Posts: 202
Joined: Tue 20 Jun, 2017 6:25 pm

Re: OpenGL 3.0

Post by JosepMa »

Direct3D used to have a bug on v12 where it would crash the emulator after minimizing or doing other things that stopped the screen refresh. That is already fixed in v13.

Other than that, it is really a question of which one works better with your graphics driver.
And as leiley said, if you care about shaders (used to alter the graphics output and simulate the older screens), OpenGL 3 is the only option.
User avatar
xXLuckyXx
Posts: 66
Joined: Tue 06 Feb, 2018 3:52 pm

Re: OpenGL 3.0

Post by xXLuckyXx »

I had that problem in v12. Thanks for advice.
Post Reply