Python 3.11 support
Expose headless/standalone flag
- Missing manylinux wheels for python 3.9
- Minor issue in setup.py
python 3.9 support
- EGL backend will now use
eglQueryDevicesEXTinstead of only relying onEGL_DEFAULT_DISPLAY - EGL backend now supports
device_indexfor selecting a device
- x11 and egl backend will now use
ctypes.utils.find_libraryto locate GL and EGL if notlibglandlibeglparameter is passed to the backend
- Support setting backend arguments using environment variables.
GLCONTEXT_GLVERSIONfor setting opengl versionGLCONTEXT_LINUX_LIBGLfor specifying libgl nameGLCONTEXT_LINUX_LIBX11for specifying libx11 nameGLCONTEXT_LINUX_LIBEGLfor specifying libegl nameGLCONTEXT_WIN_LIBGLfor specifying dll name
- x11: More details in error messages
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
glversionand other arguments - The
standaloneargument is now calledmodeand can containstandalone,shareanddetect. - Added
get_backendfor requesting specific backends like EGL.
- darwin: Fixed a segfault when releasing a context
- x11: Fixed an issue causing context creation to fail
Initial release. Contains backends for wgl, darwin and x11 including experimental egl backend.