Add EGL-based backend for wxGLCanvas

Among other things, this enables wxGLCanvas to be used natively on
Wayland.

Closes https://github.com/wxWidgets/wxWidgets/pull/2038

Closes #17702.
This commit is contained in:
Scott Talbert
2020-08-28 11:59:27 -04:00
committed by Vadim Zeitlin
parent ed4b9e5f97
commit 7cd12a2bd6
23 changed files with 1101 additions and 31 deletions

View File

@@ -780,6 +780,18 @@ void WXDLLIMPEXP_CORE wxGetMousePosition( int* x, int* y );
#ifdef __WXGTK__
WXDLLIMPEXP_CORE void *wxGetDisplay();
enum wxDisplayType
{
wxDisplayNone,
wxDisplayX11,
wxDisplayWayland
};
struct wxDisplayInfo
{
void* dpy;
wxDisplayType type;
};
WXDLLIMPEXP_CORE wxDisplayInfo wxGetDisplayInfo();
#endif
#ifdef __X__