#include <gfxXlibSurface.h>
List of all members.
Public Member Functions |
| | gfxXlibSurface (Display *dpy, Drawable drawable, Visual *visual) |
| | gfxXlibSurface (Display *dpy, Drawable drawable, Visual *visual, const gfxIntSize &size) |
| | gfxXlibSurface (Screen *screen, Drawable drawable, XRenderPictFormat *format, const gfxIntSize &size) |
| | gfxXlibSurface (cairo_surface_t *csurf) |
| virtual | ~gfxXlibSurface () |
virtual already_AddRefed
< gfxASurface > | CreateSimilarSurface (gfxContentType aType, const gfxIntSize &aSize) |
| | Create an offscreen surface that can be efficiently copied into this surface (at least if tiling is not involved).
|
| virtual const gfxIntSize | GetSize () const |
| Display * | XDisplay () |
| Screen * | XScreen () |
| Drawable | XDrawable () |
| XRenderPictFormat * | XRenderFormat () |
| void | TakePixmap () |
| Drawable | ReleasePixmap () |
| PRBool | GetColormapAndVisual (Colormap *colormap, Visual **visual) |
Static Public Member Functions |
static already_AddRefed
< gfxXlibSurface > | Create (Screen *screen, Visual *visual, const gfxIntSize &size, Drawable relatedDrawable=None) |
static already_AddRefed
< gfxXlibSurface > | Create (Screen *screen, XRenderPictFormat *format, const gfxIntSize &size, Drawable relatedDrawable=None) |
| static int | DepthOfVisual (const Screen *screen, const Visual *visual) |
| static Visual * | FindVisual (Screen *screen, gfxImageFormat format) |
| static XRenderPictFormat * | FindRenderFormat (Display *dpy, gfxImageFormat format) |
Protected Member Functions |
| void | DoSizeQuery () |
Protected Attributes |
| PRBool | mPixmapTaken |
| Display * | mDisplay |
| Drawable | mDrawable |
| gfxIntSize | mSize |
Constructor & Destructor Documentation
| gfxXlibSurface::gfxXlibSurface |
( |
Display * |
dpy, |
|
|
Drawable |
drawable, |
|
|
Visual * |
visual | |
|
) |
| | |
| gfxXlibSurface::gfxXlibSurface |
( |
Display * |
dpy, |
|
|
Drawable |
drawable, |
|
|
Visual * |
visual, |
|
|
const gfxIntSize & |
size | |
|
) |
| | |
| gfxXlibSurface::gfxXlibSurface |
( |
Screen * |
screen, |
|
|
Drawable |
drawable, |
|
|
XRenderPictFormat * |
format, |
|
|
const gfxIntSize & |
size | |
|
) |
| | |
| virtual gfxXlibSurface::~gfxXlibSurface |
( |
|
) |
[virtual] |
Member Function Documentation
Create an offscreen surface that can be efficiently copied into this surface (at least if tiling is not involved).
Returns null on error.
Reimplemented from gfxASurface.
| static int gfxXlibSurface::DepthOfVisual |
( |
const Screen * |
screen, |
|
|
const Visual * |
visual | |
|
) |
| | [static] |
| void gfxXlibSurface::DoSizeQuery |
( |
|
) |
[protected] |
| static XRenderPictFormat* gfxXlibSurface::FindRenderFormat |
( |
Display * |
dpy, |
|
|
gfxImageFormat |
format | |
|
) |
| | [static] |
| static Visual* gfxXlibSurface::FindVisual |
( |
Screen * |
screen, |
|
|
gfxImageFormat |
format | |
|
) |
| | [static] |
| PRBool gfxXlibSurface::GetColormapAndVisual |
( |
Colormap * |
colormap, |
|
|
Visual ** |
visual | |
|
) |
| | |
| virtual const gfxIntSize gfxXlibSurface::GetSize |
( |
|
) |
const [inline, virtual] |
| Drawable gfxXlibSurface::ReleasePixmap |
( |
|
) |
[inline] |
| void gfxXlibSurface::TakePixmap |
( |
|
) |
[inline] |
| Display* gfxXlibSurface::XDisplay |
( |
|
) |
[inline] |
| Drawable gfxXlibSurface::XDrawable |
( |
|
) |
[inline] |
| XRenderPictFormat* gfxXlibSurface::XRenderFormat |
( |
|
) |
|
| Screen* gfxXlibSurface::XScreen |
( |
|
) |
|
Member Data Documentation
The documentation for this class was generated from the following file: