Skip to content

Releases: moderngl/glcontext

2.3.0

19 Jan 00:53
Compare
Choose a tag to compare
  • Python 3.9 support
  • EGL backend will now use eglQueryDevicesEXT instead of only relying on EGL_DEFAULT_DISPLAY
  • EGL backend now supports device_index for selecting a device

2.3.dev0

09 Jun 13:11
Compare
Choose a tag to compare
2.3.dev0 Pre-release
Pre-release
  • EGL backend will now use eglQueryDevicesEXT instead of only relying on EGL_DEFAULT_DISPLAY
  • EGL backend now supports device_index for selecting a device

2.2.0

21 May 01:45
Compare
Choose a tag to compare
  • x11 and egl backend will now use ctypes.utils.find_library to locate GL and EGL if not libgl and libegl parameter is passed to the backend

2.1.0

22 Mar 08:29
Compare
Choose a tag to compare
  • Support setting backend arguments using environment variables.
    • GLCONTEXT_GLVERSION for setting opengl version
    • GLCONTEXT_LINUX_LIBGL for specifying libgl name
    • GLCONTEXT_LINUX_LIBX11 for specifying libx11 name
    • GLCONTEXT_LINUX_LIBEGL for specifying libegl name
    • GLCONTEXT_WIN_LIBGL for specifying dll name
  • x11: More details in error messages

2.0.0

27 Jan 01:21
Compare
Choose a tag to compare

Support passing in values to backends for more detailed configuration. Method signatures have changed so upgrading from 1.* needs smaller code changes.

  • default_backend() no longer takes any arguments
  • The returned backend now takes glversion and other arguments
  • The standalone argument is now called mode and can contain standalone, share and detect.
  • Added get_backend_by_name for requesting specific backends like EGL.

1.0.1

22 Nov 22:38
Compare
Choose a tag to compare
  • darwin: Fixed a segfault when releasing a context
  • x11: Fixed an issue causing context creation to fail

1.0.0

14 Nov 03:07
Compare
Choose a tag to compare

Initial release. Contains backends for wgl, darwin and x11 including experimental egl backend.