Termux-packages: OpenGL without windowing system?

Created on 14 Nov 2015  路  7Comments  路  Source: termux/termux-packages

I have no experience on any library could provide OpenGL without X or a windowing system. That is not therotically impossible AFAIK as OpenGL APIs don't care about windowing system anyway and some kind of directly writing into framebuffer perhaps is possible but I guess GLFW and freeglut libraries won't support us here. What library could be used for such thing? Is it something would be possible eventually or it is already possible in someway I am not aware of? Thank you

enhancement

Most helpful comment

Something like OSMesa?

A program that I have experience with that uses OSMesa is asymptote to render 3d images.

I used asymptote in the past on android with osmesa, but using a chroot with Arch Linux. Never tried it with termux.

All 7 comments

Android uses EGL to interface between OpenGL and the windowing system, so that should probably be used if possible (never used that myself).

For windowed OpenGL rendering I'm planning to add a separate app which will support launching while specifying a shared library. At launch this app will dlopen() and call the shared library specified dynamically, enabling one to build and launch OpenGL ES-using programs.

L脰VE (a Lua framework for building games) just released version 0.10.0, with an Android port! https://love2d.org/wiki/0.10.0
More info:

Something like OSMesa?

A program that I have experience with that uses OSMesa is asymptote to render 3d images.

I used asymptote in the past on android with osmesa, but using a chroot with Arch Linux. Never tried it with termux.

For windowed OpenGL rendering I'm planning to add a separate app which will support launching while specifying a shared library. At launch this app will dlopen() and call the shared library specified dynamically, enabling one to build and launch OpenGL ES-using programs.

Has there been any progress on this? I could really use something like this so I would not mind giving it a go if it is not already in the works.

Does this other app exist? Is this opengl idea still active?
I would love to be able to use it!

I did some work on this about a year ago. https://github.com/markus-zzz/vulkan/tree/master/soloader

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Wetitpig picture Wetitpig  路  3Comments

roycebank picture roycebank  路  3Comments

Cyb3rD3m0n picture Cyb3rD3m0n  路  3Comments

thurask picture thurask  路  3Comments

reggi picture reggi  路  4Comments