diff options
author | Owen Taylor <otaylor@redhat.com> | 2005-05-13 17:54:43 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@redhat.com> | 2005-05-13 17:54:43 +0000 |
commit | bef4b1371676444e51dcd73f1ec52024265c1f5b (patch) | |
tree | ad827db831f22c0e94624bdf472a91119bbf98e6 /src/cairo-xlib.h | |
parent | 15ecc8776327ee076274d4234f36ab584956c073 (diff) |
src/cairo-xlib-surface.c src/cairo-xlib.h doc/public/cairo-sections.txt: Drop the _for_pixmap() and _for_window() out of the create functions and use some lazy cleverness to sniff the information out as needed.
src/cairo-xlib-surface.c src/cairo-xlib-test.h Makefile.am: add cairo_test_xlib_disable_render() to turn off RENDER for tests.
Test various different types of Xlib surface creation.
Remove left-over include of Xrender.h.
Diffstat (limited to 'src/cairo-xlib.h')
-rw-r--r-- | src/cairo-xlib.h | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/src/cairo-xlib.h b/src/cairo-xlib.h index 29b260dc..3024a53b 100644 --- a/src/cairo-xlib.h +++ b/src/cairo-xlib.h @@ -42,24 +42,18 @@ #if CAIRO_HAS_XLIB_SURFACE #include <X11/Xlib.h> -#include <X11/extensions/Xrender.h> CAIRO_BEGIN_DECLS cairo_surface_t * -cairo_xlib_surface_create_for_pixmap (Display *dpy, - Pixmap pixmap, - cairo_format_t format); +cairo_xlib_surface_create (Display *dpy, + Drawable drawable, + cairo_format_t format); cairo_surface_t * -cairo_xlib_surface_create_for_pixmap_with_visual (Display *dpy, - Pixmap pixmap, - Visual *visual); - -cairo_surface_t * -cairo_xlib_surface_create_for_window_with_visual (Display *dpy, - Window window, - Visual *visual); +cairo_xlib_surface_create_with_visual (Display *dpy, + Drawable drawable, + Visual *visual); void cairo_xlib_surface_set_size (cairo_surface_t *surface, |