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:
committed by
Vadim Zeitlin
parent
ed4b9e5f97
commit
7cd12a2bd6
@@ -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__
|
||||
|
Reference in New Issue
Block a user