#include <pixmapext.h>
Public Member Functions | |
Glib::RefPtr< Pixmap > | set_gl_capability (const Glib::RefPtr< const Config > &glconfig, const int *attrib_list=0) |
void | unset_gl_capability () |
bool | is_gl_capable () const |
Glib::RefPtr< Pixmap > | get_gl_pixmap () const |
Glib::RefPtr< Gdk::GL::Drawable > | get_gl_drawable () const |
Friends | |
PixmapExtProxy | ext (const Glib::RefPtr< Gdk::Pixmap > &) |
const PixmapExtProxy | ext (const Glib::RefPtr< const Gdk::Pixmap > &) |
|
Returns the Gdk::GL::Drawable held by the Gdk::Pixmap .
|
|
Returns the Gdk::GL::Pixmap held by the Gdk::Pixmap .
|
|
Returns whether the Gdk::Pixmap is OpenGL-capable.
|
|
Set the OpenGL-capability to the Gdk::Pixmap. This function creates a new Gdk::GL::Pixmap held by the Gdk::Pixmap. attrib_list is currently unused. This must be set to
|
|
Unset the OpenGL-capability of the Gdk::Pixmap . This function destroys the Gdk::GL::Pixmap held by the Gdk::Pixmap. |
|
OpenGL extension API wrapper. This is a Gdk::Pixmap wrapper to invoke OpenGL extension function. See Gdk::GL::PixmapExtProxy for available functions.
|
|
OpenGL extension API wrapper. This is a Gdk::Pixmap wrapper to invoke OpenGL extension function. See Gdk::GL::PixmapExtProxy for available functions. Here is a simple example:
|