The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

X11::GLX::Pixmap - Object representing a GLX Pixmap

VERSION

version 0.06

DESCRIPTION

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.

ATTRIBUTES

Extends X11::Xlib::Pixmap with:

x_pixmap

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.

AUTHOR

Michael Conrad <mike@nrdvana.net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2021 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.