X11::GLX::Pixmap - Object representing a GLX Pixmap
version 0.03
GLX Pixmaps are built on top of a normal X pixmap by calling "glXCreateGLXPixmap" in X11::GLX, which attaches some buffers needed by OpenGL and returns a new X11 resource ID. The pixmap can then be a rendering target.
The pixmap must also be freed with "glXDestroyGLXPixmap" in X11::GLX, which this module handles.
Extends X11::Xlib::Pixmap with:
The X11 pixmap which this GLX pixmap is extending.
This GLX pixmap wrapper holds a reference to the X pixmap to make sure it isn't destroyed until after the GLX pixmap.
Michael Conrad <mike@nrdvana.net>
This software is copyright (c) 2017 by Michael Conrad.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install X11::GLX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm X11::GLX
CPAN shell
perl -MCPAN -e shell install X11::GLX
For more information on module installation, please visit the detailed CPAN module installation guide.