Make it possible to choose during run-time between using GLX and EGL (PR #26023)

26 views
Skip to first unread message

VZ

unread,
Dec 9, 2025, 9:36:14 PM (3 days ago) Dec 9
to wx-...@googlegroups.com, Subscribed

We've discussed this several times in the past and I've finally implemented the necessary refactoring to allow selecting between GLX and EGL at run-time, e.g. to allow users having problems with EGL to try using GLX (which is only possible when also using X11, of course, so this is probably much less useful now that Wayland is much more widespread than when we started talking about doing this, but better late than never, isn't it).

I'd like to clean up a couple of things here but I think this can already be tested and any such testing before I merge this would be really appreciated!

cc @dsa-t @swt2c


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/26023

Commit Summary

  • 76de566 Informally deprecate wxGLApp
  • 1fdde1e Allow choosing between GLX and EGL during run-time

File Changes

(34 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26023@github.com>

VZ

unread,
Dec 10, 2025, 10:20:02 AM (3 days ago) Dec 10
to wx-...@googlegroups.com, Push

@vadz pushed 6 commits.

  • 0b574c2 Add make_unique fallback implementation
  • d9df7db Allow choosing between GLX and EGL during run-time
  • 4817bb5 Remove redundant eglBindAPI() call
  • e9647b5 Document wxGLCanvas::GetGLXVersion()
  • 3ab85db Add wxGLCanvas::GetEGLVersion() to wxGTK and wxX11
  • edb824a Make wxGLContextX11 ctor code a bit shorter and more clear


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26023/before/1fdde1eac2ed7c333a2ca7a3f5080661705ac664/after/edb824a0cede93dbf653bc4960b01209c55671d5@github.com>

VZ

unread,
Dec 10, 2025, 11:01:37 AM (3 days ago) Dec 10
to wx-...@googlegroups.com, Push

@vadz pushed 2 commits.

  • 946ae2e Add wxGLCanvas::GetEGLVersion() to wxGTK and wxX11
  • 242dacd Make wxGLContextX11 ctor code a bit shorter and more clear


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26023/before/edb824a0cede93dbf653bc4960b01209c55671d5/after/242dacdb9f3b47a1e7c1f2f0f622e6cc5853d95f@github.com>

VZ

unread,
Dec 10, 2025, 11:01:44 AM (3 days ago) Dec 10
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26023)

This should be good to merge now, AFAICS. Please let me know if anybody sees any problems with it!


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26023/c3637798004@github.com>

Scott Talbert

unread,
Dec 10, 2025, 11:12:02 AM (3 days ago) Dec 10
to wx-...@googlegroups.com, Subscribed
swt2c left a comment (wxWidgets/wxWidgets#26023)

Thanks a lot for doing this! Will try to take a deeper look later today.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26023/c3637851043@github.com>

Reply all
Reply to author
Forward
0 new messages