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
eglQueryDevicesEXT
instead of only relying onEGL_DEFAULT_DISPLAY
- EGL backend now supports
device_index
for selecting a device
- x11 and egl backend will now use
ctypes.utils.find_library
to locate GL and EGL if notlibgl
andlibegl
parameter is passed to the backend
- Support setting backend arguments using environment variables.
GLCONTEXT_GLVERSION
for setting opengl versionGLCONTEXT_LINUX_LIBGL
for specifying libgl nameGLCONTEXT_LINUX_LIBX11
for specifying libx11 nameGLCONTEXT_LINUX_LIBEGL
for specifying libegl nameGLCONTEXT_WIN_LIBGL
for 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
glversion
and other arguments - The
standalone
argument is now calledmode
and can containstandalone
,share
anddetect
. - Added
get_backend
for 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.