Open devel-chm opened 7 years ago
I'd be happy to assist adding any API you need in the X11::GLX module.
But also, in my recent experience working with Xlib, I've learned that it's really a mess, and that building on xcb (the new C bindings for X11) would be preferred. However, all the glX functions require a "Display" and this is specific to Xlib. xcb uses "xcb_connection" for its connections. If anyone knows a way to make GLX functions operate directly on xcb, I'd be interested to know.
@nrdvana has recently released his X11::GLX module providing the GLX to OpenGL glue needed for X11 programming. He has also released X11::Xlib this spring for more general X11 programming. I was able to build X11:Xlib on cygwin/win7 but there were test failures for X11::GLX. If those problems can be resolved, this module could be the basis for the desired OpenGL::GLX functionality from OpenGL to make it (and more!) available for OpenGL::Modern users.
https://github.com/nrdvana/perl-X11-GLX https://metacpan.org/pod/X11::GLX