summaryrefslogtreecommitdiff
path: root/image.h
blob: cf4123575b034e0580320ff3a740126ad6804f9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef IMAGE_H
#define IMAGE_H

/* Like xcb_put_image (with XCB_IMAGE_FORMAT_Z_PIXMAP), but capable of
   breaking the data into multiple requests if it's too big for the
   server to handle in one. */
extern xcb_void_cookie_t put_image( xcb_drawable_t drawable, xcb_gcontext_t gc,
				    uint16_t width, uint16_t height, int16_t x,
				    int16_t y, uint8_t left_pad, uint8_t depth,
				    uint32_t len, const uint8_t *data );

#endif