luca-piccioni / OpenGL.Net

Modern OpenGL bindings for C#.
MIT License
570 stars 109 forks source link

Adding more Hardware support #42

Open wolfgangmauer opened 7 years ago

wolfgangmauer commented 7 years ago

I like to have more supported Hardware, not just Raspberry. At "stb-kodi-vuduo2" there various implementations with sourcecode for ... VuPlus, Android, Amlogic, Dreambox, IMX, V3D, V3DNXPL.

VuPlus in my case :-)

luca-piccioni commented 7 years ago

OpenGL.Net is almost agnostic about the hosting platform. Once the system provides a WGL, GLX or EGL implementation, it can be initialized and used. EGL is platform agnostic too, indeed it is the preferred method for supporting OpenGL on open/exotic platforms.

It happened that on Rpi the BCM VC4 layer should be initialized at some point, and this happens internally and automatically. This behavior can be generalized or extended, in the case you platforms requires some strictly-necessary initialization code.

Indeed you can introduce a new OpenGL.Net.VuPlus library for ease the creation of a rendering surface, just like other OpenGL.Net.* projects do.