22 #define XCB_SHM_MAJOR_VERSION 1    23 #define XCB_SHM_MINOR_VERSION 2    27 typedef uint32_t xcb_shm_seg_t;
    39 #define XCB_SHM_COMPLETION 0    45     uint8_t        response_type;
    48     xcb_drawable_t drawable;
    57 #define XCB_SHM_BAD_SEG 0    65     unsigned int sequence;
    69 #define XCB_SHM_QUERY_VERSION 0    84     uint8_t  response_type;
    85     uint8_t  shared_pixmaps;
    88     uint16_t major_version;
    89     uint16_t minor_version;
    92     uint8_t  pixmap_format;
    97 #define XCB_SHM_ATTACH 1   103     uint8_t       major_opcode;
   104     uint8_t       minor_opcode;
   106     xcb_shm_seg_t shmseg;
   113 #define XCB_SHM_DETACH 2   119     uint8_t       major_opcode;
   120     uint8_t       minor_opcode;
   122     xcb_shm_seg_t shmseg;
   126 #define XCB_SHM_PUT_IMAGE 3   132     uint8_t        major_opcode;
   133     uint8_t        minor_opcode;
   135     xcb_drawable_t drawable;
   137     uint16_t       total_width;
   138     uint16_t       total_height;
   149     xcb_shm_seg_t  shmseg;
   157     unsigned int sequence;
   161 #define XCB_SHM_GET_IMAGE 4   167     uint8_t        major_opcode;
   168     uint8_t        minor_opcode;
   170     xcb_drawable_t drawable;
   178     xcb_shm_seg_t  shmseg;
   186     uint8_t        response_type;
   190     xcb_visualid_t visual;
   195 #define XCB_SHM_CREATE_PIXMAP 5   201     uint8_t        major_opcode;
   202     uint8_t        minor_opcode;
   205     xcb_drawable_t drawable;
   210     xcb_shm_seg_t  shmseg;
   215 #define XCB_SHM_ATTACH_FD 6   221     uint8_t       major_opcode;
   222     uint8_t       minor_opcode;
   224     xcb_shm_seg_t shmseg;
   233     unsigned int sequence;
   237 #define XCB_SHM_CREATE_SEGMENT 7   243     uint8_t       major_opcode;
   244     uint8_t       minor_opcode;
   246     xcb_shm_seg_t shmseg;
   256     uint8_t  response_type;
   343                         xcb_shm_seg_t     shmseg,
   357                 xcb_shm_seg_t     shmseg,
   374                         xcb_shm_seg_t     shmseg);
   386                 xcb_shm_seg_t     shmseg);
   401                            xcb_drawable_t    drawable,
   403                            uint16_t          total_width,
   404                            uint16_t          total_height,
   414                            xcb_shm_seg_t     shmseg,
   427                    xcb_drawable_t    drawable,
   429                    uint16_t          total_width,
   430                    uint16_t          total_height,
   440                    xcb_shm_seg_t     shmseg,
   453                    xcb_drawable_t    drawable,
   460                    xcb_shm_seg_t     shmseg,
   476                              xcb_drawable_t    drawable,
   483                              xcb_shm_seg_t     shmseg,
   519                                xcb_drawable_t    drawable,
   523                                xcb_shm_seg_t     shmseg,
   537                        xcb_drawable_t    drawable,
   541                        xcb_shm_seg_t     shmseg,
   557                            xcb_shm_seg_t     shmseg,
   571                    xcb_shm_seg_t     shmseg,
   585                         xcb_shm_seg_t     shmseg,
   602                                   xcb_shm_seg_t     shmseg,
 Generic error. 
Definition: xcb.h:170
xcb_void_cookie_t xcb_shm_attach_fd_checked(xcb_connection_t *c, xcb_shm_seg_t shmseg, int32_t shm_fd, uint8_t read_only)
Definition: shm.c:492
struct xcb_shm_attach_request_t xcb_shm_attach_request_t
xcb_shm_attach_request_t 
xcb_shm_get_image_cookie_t xcb_shm_get_image_unchecked(xcb_connection_t *c, xcb_drawable_t drawable, int16_t x, int16_t y, uint16_t width, uint16_t height, uint32_t plane_mask, uint8_t format, xcb_shm_seg_t shmseg, uint32_t offset)
Definition: shm.c:363
xcb_shm_get_image_cookie_t 
Definition: shm.h:156
struct xcb_shm_get_image_cookie_t xcb_shm_get_image_cookie_t
xcb_shm_get_image_cookie_t 
void xcb_shm_seg_next(xcb_shm_seg_iterator_t *i)
Definition: shm.c:22
struct xcb_shm_create_segment_request_t xcb_shm_create_segment_request_t
xcb_shm_create_segment_request_t 
xcb_void_cookie_t xcb_shm_detach(xcb_connection_t *c, xcb_shm_seg_t shmseg)
Definition: shm.c:184
xcb_void_cookie_t xcb_shm_attach_fd(xcb_connection_t *c, xcb_shm_seg_t shmseg, int32_t shm_fd, uint8_t read_only)
Definition: shm.c:524
struct xcb_shm_detach_request_t xcb_shm_detach_request_t
xcb_shm_detach_request_t 
Generic iterator. 
Definition: xcb.h:114
struct xcb_shm_attach_fd_request_t xcb_shm_attach_fd_request_t
xcb_shm_attach_fd_request_t 
xcb_shm_create_segment_request_t 
Definition: shm.h:242
xcb_shm_create_pixmap_request_t 
Definition: shm.h:200
struct xcb_shm_get_image_request_t xcb_shm_get_image_request_t
xcb_shm_get_image_request_t 
xcb_shm_create_segment_cookie_t xcb_shm_create_segment(xcb_connection_t *c, xcb_shm_seg_t shmseg, uint32_t size, uint8_t read_only)
Definition: shm.c:556
struct xcb_shm_create_segment_reply_t xcb_shm_create_segment_reply_t
xcb_shm_create_segment_reply_t 
struct xcb_shm_seg_iterator_t xcb_shm_seg_iterator_t
xcb_shm_seg_iterator_t 
xcb_shm_query_version_cookie_t xcb_shm_query_version_unchecked(xcb_connection_t *c)
Definition: shm.c:64
struct xcb_shm_put_image_request_t xcb_shm_put_image_request_t
xcb_shm_put_image_request_t 
struct xcb_shm_completion_event_t xcb_shm_completion_event_t
xcb_shm_completion_event_t 
xcb_shm_detach_request_t 
Definition: shm.h:118
xcb_shm_create_segment_reply_t 
Definition: shm.h:255
xcb_shm_get_image_cookie_t xcb_shm_get_image(xcb_connection_t *c, xcb_drawable_t drawable, int16_t x, int16_t y, uint16_t width, uint16_t height, uint32_t plane_mask, uint8_t format, xcb_shm_seg_t shmseg, uint32_t offset)
Definition: shm.c:320
xcb_shm_get_image_request_t 
Definition: shm.h:166
xcb_shm_create_segment_cookie_t xcb_shm_create_segment_unchecked(xcb_connection_t *c, xcb_shm_seg_t shmseg, uint32_t size, uint8_t read_only)
Definition: shm.c:587
xcb_shm_query_version_cookie_t 
Definition: shm.h:64
xcb_shm_get_image_reply_t * xcb_shm_get_image_reply(xcb_connection_t *c, xcb_shm_get_image_cookie_t cookie, xcb_generic_error_t **e)
Definition: shm.c:406
xcb_shm_put_image_request_t 
Definition: shm.h:131
xcb_shm_attach_request_t 
Definition: shm.h:102
xcb_shm_query_version_reply_t * xcb_shm_query_version_reply(xcb_connection_t *c, xcb_shm_query_version_cookie_t cookie, xcb_generic_error_t **e)
Definition: shm.c:88
xcb_shm_completion_event_t 
Definition: shm.h:44
xcb_shm_get_image_reply_t 
Definition: shm.h:185
xcb_shm_attach_fd_request_t 
Definition: shm.h:220
struct xcb_shm_query_version_reply_t xcb_shm_query_version_reply_t
xcb_shm_query_version_reply_t 
xcb_shm_query_version_request_t 
Definition: shm.h:74
struct xcb_shm_query_version_cookie_t xcb_shm_query_version_cookie_t
xcb_shm_query_version_cookie_t 
xcb_void_cookie_t xcb_shm_put_image_checked(xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint16_t total_width, uint16_t total_height, uint16_t src_x, uint16_t src_y, uint16_t src_width, uint16_t src_height, int16_t dst_x, int16_t dst_y, uint8_t depth, uint8_t format, uint8_t send_event, xcb_shm_seg_t shmseg, uint32_t offset)
Definition: shm.c:210
struct xcb_shm_create_segment_cookie_t xcb_shm_create_segment_cookie_t
xcb_shm_create_segment_cookie_t 
xcb_shm_query_version_cookie_t xcb_shm_query_version(xcb_connection_t *c)
Definition: shm.c:40
xcb_shm_create_segment_reply_t * xcb_shm_create_segment_reply(xcb_connection_t *c, xcb_shm_create_segment_cookie_t cookie, xcb_generic_error_t **e)
Definition: shm.c:618
xcb_void_cookie_t xcb_shm_detach_checked(xcb_connection_t *c, xcb_shm_seg_t shmseg)
Definition: shm.c:158
xcb_void_cookie_t xcb_shm_attach(xcb_connection_t *c, xcb_shm_seg_t shmseg, uint32_t shmid, uint8_t read_only)
Definition: shm.c:127
struct xcb_shm_query_version_request_t xcb_shm_query_version_request_t
xcb_shm_query_version_request_t 
xcb_void_cookie_t xcb_shm_attach_checked(xcb_connection_t *c, xcb_shm_seg_t shmseg, uint32_t shmid, uint8_t read_only)
Definition: shm.c:96
xcb_void_cookie_t xcb_shm_create_pixmap(xcb_connection_t *c, xcb_pixmap_t pid, xcb_drawable_t drawable, uint16_t width, uint16_t height, uint8_t depth, xcb_shm_seg_t shmseg, uint32_t offset)
Definition: shm.c:453
xcb_shm_create_segment_cookie_t 
Definition: shm.h:232
xcb_void_cookie_t xcb_shm_create_pixmap_checked(xcb_connection_t *c, xcb_pixmap_t pid, xcb_drawable_t drawable, uint16_t width, uint16_t height, uint8_t depth, xcb_shm_seg_t shmseg, uint32_t offset)
Definition: shm.c:414
xcb_generic_iterator_t xcb_shm_seg_end(xcb_shm_seg_iterator_t i)
Definition: shm.c:30
struct xcb_shm_create_pixmap_request_t xcb_shm_create_pixmap_request_t
xcb_shm_create_pixmap_request_t 
xcb_shm_query_version_reply_t 
Definition: shm.h:83
Generic cookie. 
Definition: xcb.h:187
xcb_void_cookie_t xcb_shm_put_image(xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint16_t total_width, uint16_t total_height, uint16_t src_x, uint16_t src_y, uint16_t src_width, uint16_t src_height, int16_t dst_x, int16_t dst_y, uint8_t depth, uint8_t format, uint8_t send_event, xcb_shm_seg_t shmseg, uint32_t offset)
Definition: shm.c:265
int * xcb_shm_create_segment_reply_fds(xcb_connection_t *c, xcb_shm_create_segment_reply_t *reply)
Definition: shm.c:626
struct xcb_shm_get_image_reply_t xcb_shm_get_image_reply_t
xcb_shm_get_image_reply_t 
xcb_shm_seg_iterator_t 
Definition: shm.h:32
xcb_value_error_t 
Definition: xproto.h:1263