WebSite Information > Comments, Suggestions & Questions

3D Support for OS/2 - OpenGL - MesaGL - Etc

(1/3) > >>

David McKenna:
 There is a project: https://github.com/rswinkle/PortableGL that might be the easiest route to some kind of 3D library because it is designed to be portable and is being continuously worked on...

Regards,

Dave Yeo:
It looks interesting and should just work for SDL2. Reading the readme, there is also https://github.com/keith2018/SoftGLRender which is C++ and uses simd so should be faster (and perhaps buggier on our platform), looks like more work to port though.

Dave Yeo:
Well with some makefile editing and changing <SDL.h> to <SDL2/SLD.h> much of the examples compile. Seems Bitwise didn't compile in gomp into GCC so going to have to use one of Paul's GCC builds for some of the examples. Here's one that didn't need gomp. Needs SDL2, exit with ALT-F4 as it catches the mouse

Roderick Klein:

--- Quote from: Dave Yeo on November 23, 2023, 04:35:31 pm ---We do have an old MesaGL which, even using software rendering, works fairly well. Unluckily as Roderick says, manpower.
SDL is another library that would benefit.

--- End quote ---

Software OpenGL in some form could be done. But for OpenGL to work on hardware requires per chipset a pretty decent amount of work. Based on the fact that we have not gotten new chipsets added to SNAP for 2D acceleration should be good enough of an indicator how scarce our community resources are (manpower). But more about that in my Warpstock presentation in Phoenix Arizona.

Roderick

mike:

--- Quote from: Dave Yeo on November 23, 2023, 04:35:31 pm ---We do have an old MesaGL which, even using software rendering, works fairly well. Unluckily as Roderick says, manpower.
SDL is another library that would benefit.

--- End quote ---
Doesn't SNAP had OpenGL software rendering included? The OpenGL feature level might not be the same to have at least the OpenGL ES compatibility. On the other hand Vulkan is the replacement for OpenGL today.

Navigation

[0] Message Index

[#] Next page

Go to full version