23 #define XCB_DAMAGE_MAJOR_VERSION 1 24 #define XCB_DAMAGE_MINOR_VERSION 1 28 typedef uint32_t xcb_damage_damage_t;
34 xcb_damage_damage_t *data;
39 typedef enum xcb_damage_report_level_t {
40 XCB_DAMAGE_REPORT_LEVEL_RAW_RECTANGLES = 0,
41 XCB_DAMAGE_REPORT_LEVEL_DELTA_RECTANGLES = 1,
42 XCB_DAMAGE_REPORT_LEVEL_BOUNDING_BOX = 2,
43 XCB_DAMAGE_REPORT_LEVEL_NON_EMPTY = 3
44 } xcb_damage_report_level_t;
47 #define XCB_DAMAGE_BAD_DAMAGE 0 53 uint8_t response_type;
62 unsigned int sequence;
66 #define XCB_DAMAGE_QUERY_VERSION 0 75 uint32_t client_major_version;
76 uint32_t client_minor_version;
83 uint8_t response_type;
87 uint32_t major_version;
88 uint32_t minor_version;
93 #define XCB_DAMAGE_CREATE 1 100 uint8_t minor_opcode;
102 xcb_damage_damage_t damage;
103 xcb_drawable_t drawable;
109 #define XCB_DAMAGE_DESTROY 2 115 uint8_t major_opcode;
116 uint8_t minor_opcode;
118 xcb_damage_damage_t damage;
122 #define XCB_DAMAGE_SUBTRACT 3 128 uint8_t major_opcode;
129 uint8_t minor_opcode;
131 xcb_damage_damage_t damage;
132 xcb_xfixes_region_t repair;
133 xcb_xfixes_region_t parts;
137 #define XCB_DAMAGE_ADD 4 143 uint8_t major_opcode;
144 uint8_t minor_opcode;
146 xcb_drawable_t drawable;
147 xcb_xfixes_region_t region;
151 #define XCB_DAMAGE_NOTIFY 0 157 uint8_t response_type;
160 xcb_drawable_t drawable;
161 xcb_damage_damage_t damage;
162 xcb_timestamp_t timestamp;
200 uint32_t client_major_version,
201 uint32_t client_minor_version);
216 uint32_t client_major_version,
217 uint32_t client_minor_version);
251 xcb_damage_damage_t damage,
252 xcb_drawable_t drawable,
265 xcb_damage_damage_t damage,
266 xcb_drawable_t drawable,
282 xcb_damage_damage_t damage);
294 xcb_damage_damage_t damage);
309 xcb_damage_damage_t damage,
310 xcb_xfixes_region_t repair,
311 xcb_xfixes_region_t parts);
323 xcb_damage_damage_t damage,
324 xcb_xfixes_region_t repair,
325 xcb_xfixes_region_t parts);
340 xcb_drawable_t drawable,
341 xcb_xfixes_region_t region);
353 xcb_drawable_t drawable,
354 xcb_xfixes_region_t region);
xcb_damage_notify_event_t
Definition: damage.h:156
Generic error.
Definition: xcb.h:170
xcb_void_cookie_t xcb_damage_destroy_checked(xcb_connection_t *c, xcb_damage_damage_t damage)
Definition: damage.c:167
xcb_damage_bad_damage_error_t
Definition: damage.h:52
xcb_void_cookie_t xcb_damage_subtract(xcb_connection_t *c, xcb_damage_damage_t damage, xcb_xfixes_region_t repair, xcb_xfixes_region_t parts)
Definition: damage.c:249
xcb_void_cookie_t xcb_damage_add_checked(xcb_connection_t *c, xcb_drawable_t drawable, xcb_xfixes_region_t region)
Definition: damage.c:279
struct xcb_damage_query_version_cookie_t xcb_damage_query_version_cookie_t
xcb_damage_query_version_cookie_t
xcb_damage_query_version_cookie_t xcb_damage_query_version(xcb_connection_t *c, uint32_t client_major_version, uint32_t client_minor_version)
Definition: damage.c:41
Generic iterator.
Definition: xcb.h:114
xcb_damage_query_version_cookie_t
Definition: damage.h:61
xcb_damage_query_version_cookie_t xcb_damage_query_version_unchecked(xcb_connection_t *c, uint32_t client_major_version, uint32_t client_minor_version)
Definition: damage.c:69
xcb_generic_iterator_t xcb_damage_damage_end(xcb_damage_damage_iterator_t i)
Definition: damage.c:31
struct xcb_damage_create_request_t xcb_damage_create_request_t
xcb_damage_create_request_t
void xcb_damage_damage_next(xcb_damage_damage_iterator_t *i)
Definition: damage.c:23
xcb_void_cookie_t xcb_damage_add(xcb_connection_t *c, xcb_drawable_t drawable, xcb_xfixes_region_t region)
Definition: damage.c:307
struct xcb_damage_query_version_reply_t xcb_damage_query_version_reply_t
xcb_damage_query_version_reply_t
xcb_damage_damage_iterator_t
Definition: damage.h:33
xcb_damage_query_version_reply_t
Definition: damage.h:82
xcb_void_cookie_t xcb_damage_subtract_checked(xcb_connection_t *c, xcb_damage_damage_t damage, xcb_xfixes_region_t repair, xcb_xfixes_region_t parts)
Definition: damage.c:219
struct xcb_damage_notify_event_t xcb_damage_notify_event_t
xcb_damage_notify_event_t
struct xcb_damage_damage_iterator_t xcb_damage_damage_iterator_t
xcb_damage_damage_iterator_t
struct xcb_damage_query_version_request_t xcb_damage_query_version_request_t
xcb_damage_query_version_request_t
struct xcb_damage_subtract_request_t xcb_damage_subtract_request_t
xcb_damage_subtract_request_t
xcb_damage_query_version_request_t
Definition: damage.h:71
xcb_damage_add_request_t
Definition: damage.h:142
xcb_damage_destroy_request_t
Definition: damage.h:114
xcb_rectangle_t
Definition: xproto.h:234
struct xcb_damage_add_request_t xcb_damage_add_request_t
xcb_damage_add_request_t
xcb_void_cookie_t xcb_damage_destroy(xcb_connection_t *c, xcb_damage_damage_t damage)
Definition: damage.c:193
xcb_damage_subtract_request_t
Definition: damage.h:127
xcb_void_cookie_t xcb_damage_create(xcb_connection_t *c, xcb_damage_damage_t damage, xcb_drawable_t drawable, uint8_t level)
Definition: damage.c:136
struct xcb_damage_destroy_request_t xcb_damage_destroy_request_t
xcb_damage_destroy_request_t
struct xcb_damage_bad_damage_error_t xcb_damage_bad_damage_error_t
xcb_damage_bad_damage_error_t
xcb_void_cookie_t xcb_damage_create_checked(xcb_connection_t *c, xcb_damage_damage_t damage, xcb_drawable_t drawable, uint8_t level)
Definition: damage.c:105
xcb_damage_create_request_t
Definition: damage.h:98
xcb_damage_query_version_reply_t * xcb_damage_query_version_reply(xcb_connection_t *c, xcb_damage_query_version_cookie_t cookie, xcb_generic_error_t **e)
Definition: damage.c:97
Generic cookie.
Definition: xcb.h:187