waffle-gl / waffle

A C library for selecting an OpenGL API and window system at runtime
https://waffle.freedesktop.org
BSD 2-Clause "Simplified" License
35 stars 16 forks source link

Add QNX support #49

Open groleo opened 6 years ago

groleo commented 6 years ago

The patch set begins by fixing some minor issues, unrelated to QNX. Then, new functions are added to linux_platform for specifying GL library names; this is done to avoid adding ifdefs for lib names.

I've found a case where eglGetPlatformDisplay is available as a library symbol, but there's no EGLPLATFORM enum for it, so it returns EGL_NONE.

The rest of the patch set adds a QNX screen platform, and makes the new backend available to wflinfo and examples.