Added missing properties.
[tangerine.git] / arch / all-x11 / hidd / xshm.h
blob818414f541d23aaaa6e87a5a404886275ba3610d
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef X11HIDD_XSHM_H
7 #define X11HIDD_XSHM_H
9 #include <aros/config.h>
11 #if USE_XSHM
13 #define XSHM_MEMSIZE 500000 /* We allocate 500K for dumping images to X */
15 void *init_shared_mem(Display *display);
17 void cleanup_shared_mem(Display *display, void *meminfo);
19 XImage *create_xshm_ximage(Display *display, Visual *visual, int depth,
20 int format, int width, int height, void *xshminfo);
22 void put_xshm_ximage(Display *display, Drawable d, GC gc, XImage *ximage,
23 int xsrc, int ysrc, int xdest, int ydest,
24 int width, int height, Bool send_event);
26 void get_xshm_ximage(Display *display, Drawable d, XImage *image, int x, int y);
28 void destroy_xshm_ximage(XImage *image);
30 #endif /* USE_XSHM */
32 #endif /* X11HIDD_XSHM_H */