|
Public Member Functions |
| virtual | ~Context () |
| GdkGLContext * | gobj () |
| const GdkGLContext * | gobj () const |
| GdkGLContext * | gobj_copy () |
| bool | copy (const Glib::RefPtr< const Context > &src, unsigned long mask=GL_ALL_ATTRIB_BITS) |
| | Copy state from one rendering context to another.
|
| Glib::RefPtr< Drawable > | get_gl_drawable () |
| | Gets Gdk::GLDrawable to which the glcontext is bound.
|
| Glib::RefPtr< const Drawable > | get_gl_drawable () const |
| | Gets Gdk::GLDrawable to which the glcontext is bound.
|
| Glib::RefPtr< Config > | get_gl_config () |
| | Gets Gdk::GLConfig with which the glcontext is configured.
|
| Glib::RefPtr< const Config > | get_gl_config () const |
| | Gets Gdk::GLConfig with which the glcontext is configured.
|
| Glib::RefPtr< Context > | get_share_list () |
| | Gets Gdk::GLContext with which the glcontext shares the display lists and texture objects.
|
| Glib::RefPtr< const Context > | get_share_list () const |
| | Gets Gdk::GLContext with which the glcontext shares the display lists and texture objects.
|
| bool | is_direct () const |
| | Returns whether the glcontext is a direct rendering context.
|
| int | get_render_type () const |
| | Gets render_type of the glcontext .
|
Static Public Member Functions |
| Glib::RefPtr< Context > | create (const Glib::RefPtr< const Drawable > &gldrawable, const Glib::RefPtr< const Context > &share_list, bool direct=true, int render_type=RGBA_TYPE) |
| | Create a new OpenGL rendering context.
|
| Glib::RefPtr< Context > | create (const Glib::RefPtr< const Drawable > &gldrawable, bool direct=true, int render_type=RGBA_TYPE) |
| | Create a new OpenGL rendering context.
|
| Glib::RefPtr< Context > | get_current () |
| | Returns the current Gdk::GLContext.
|
Protected Member Functions |
| | Context (const Glib::RefPtr< const Drawable > &gldrawable, const Glib::RefPtr< const Context > &share_list, bool direct=true, int render_type=RGBA_TYPE) |
| | Context (const Glib::RefPtr< const Drawable > &gldrawable, bool direct=true, int render_type=RGBA_TYPE) |
Related Functions |
(Note that these are not member functions.)
|
| Glib::RefPtr< Gdk::GL::Context > | wrap (GdkGLContext *object, bool take_copy=false) |