2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
9 #include <aros/config.h>
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
);
32 #endif /* X11HIDD_XSHM_H */