-
Notifications
You must be signed in to change notification settings - Fork 110
GL \ Platform Support
Luca Piccioni edited this page May 23, 2017
·
2 revisions
The OpenGL.Net dynamically loads Khronos API dynamically. Depending on the platform, the path of the host-specific libraries are hard-encoded, and documented here for reference. Library paths were encoded to avoid to the user the burden of the manual setup of a host-specific application configuration file (app.config), for each supported system.
Libraries searched by various supported API are:
- OpenGL Destktop [GL]
- OpenGL ES 1 [GLES2]
- OpenGL ES 2 [GLES2]
- Platform APIs for Windows [WGL], for Unix [GLX] and native [EGL]
- Broadcom VideoCore IV [VC4]
- OpenWF Compositor [WFC]
Below there are listed the library paths used for requesting symbol loading. Those strings can be modified on specific environment using an application configuration file, but they should be fine for any standard system.
Windows GNU/Linux MacOS Android
[GL ] "opengl32.dll" "libGL.so.1" "/usr/X11/lib/libGL.1.dylib"
[GLES1] "libGLESv1_CM.dll" "libGLESv2.so" "libGLESv2.dll"
[GLES2] "libGLESv2.dll" "libGLESv2.so" "libGLESv2.dll"
[GLX ] "libGL.so.1" "libGL.so.1"
[WGL ] "opengl32.dll"
[EGL ] "libEGL.dll" "libEGL.so" "libEGL.dll"
[VC4 ] "libbcm_host.so"
[WFC ] "libWFC.so"