This provides a way to use OpenGL-accelerated graphics from cairo. If you want to use hardware-accelerated graphics within the X Window system, you should use this Surface type.
Public Member Functions | |
GlitzSurface (cairo_surface_t *cobject, bool has_reference=false) | |
Create a C++ wrapper for the C instance. | |
virtual | ~GlitzSurface () |
Static Public Member Functions | |
static RefPtr< GlitzSurface > | create (glitz_surface_t *surface) |
Creates a new GlitzSurface. |
Cairo::GlitzSurface::GlitzSurface | ( | cairo_surface_t * | cobject, | |
bool | has_reference = false | |||
) | [explicit] |
Create a C++ wrapper for the C instance.
This C++ instance should then be given to a RefPtr.
cobject | The C instance. | |
has_reference | whether we already have a reference. Otherwise, the constructor will take an extra reference. |
virtual Cairo::GlitzSurface::~GlitzSurface | ( | ) | [virtual] |
static RefPtr<GlitzSurface> Cairo::GlitzSurface::create | ( | glitz_surface_t * | surface | ) | [static] |