-
Notifications
You must be signed in to change notification settings - Fork 5
Opencpn gl
Tarnyko edited this page Oct 8, 2013
·
4 revisions
OpenCPN uses the legacy OpenGL API to render its navigation maps in the GLCanvas provided by wxWidgets.
Wayland doesn't support GL for native rendering (as libGL.so pulls libX11.so with its integrated GLX bindings) but only OpenGLES1/2.
So we used the jwzGLES wrapper to remap them to GLES1 ones.
So, after having wrapped most GL calls to GLES1 ones, we just modified the OpenCPN source code with this patch for stable 3.2.0 and recompiled against it.
OpenCPN is then able to start and display its main navigation window :
Here is an online video of it.