MCPcopy Create free account
hub / github.com/VirtualGL/virtualgl / xcb_create_window_aux_checked

Function xcb_create_window_aux_checked

server/faker-xcb.cpp:103–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101
102
103xcb_void_cookie_t xcb_create_window_aux_checked(xcb_connection_t *conn,
104 uint8_t depth, xcb_window_t wid, xcb_window_t parent, int16_t x, int16_t y,
105 uint16_t width, uint16_t height, uint16_t border_width, uint16_t _class,
106 xcb_visualid_t visual, uint32_t value_mask,
107 const xcb_create_window_value_list_t *value_list)
108{
109 xcb_void_cookie_t cookie = { 0 };
110
111 TRY();
112
113 if(!fconfig.fakeXCB || IS_EXCLUDED(XCBCONNHASH.getX11Display(conn)))
114 return _xcb_create_window_aux_checked(conn, depth, wid, parent, x, y,
115 width, height, border_width, _class, visual, value_mask, value_list);
116
117 /////////////////////////////////////////////////////////////////////////////
118 OPENTRACE(xcb_create_window_aux_checked); PRARGX(conn); PRARGI(depth);
119 PRARGX(wid); PRARGX(parent); PRARGI(x); PRARGI(y); PRARGI(width);
120 PRARGI(height); PRARGI(border_width); PRARGI(_class); PRARGX(visual);
121 PRARGX(value_mask); STARTTRACE();
122 /////////////////////////////////////////////////////////////////////////////
123
124 cookie = _xcb_create_window_aux_checked(conn, depth, wid, parent, x, y,
125 width, height, border_width, _class, visual, value_mask, value_list);
126 if(cookie.sequence) WINHASH.add(XCBCONNHASH.getX11Display(conn), wid);
127
128 /////////////////////////////////////////////////////////////////////////////
129 STOPTRACE(); CLOSETRACE();
130 /////////////////////////////////////////////////////////////////////////////
131
132 CATCH();
133
134 return cookie;
135}
136
137
138xcb_void_cookie_t xcb_create_window_checked(xcb_connection_t *conn,

Callers 1

subWinTestFunction · 0.85

Calls 2

getX11DisplayMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected