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

Function xcb_create_window_aux

server/faker-xcb.cpp:68–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66
67
68xcb_void_cookie_t xcb_create_window_aux(xcb_connection_t *conn, uint8_t depth,
69 xcb_window_t wid, xcb_window_t parent, int16_t x, int16_t y, uint16_t width,
70 uint16_t height, uint16_t border_width, uint16_t _class,
71 xcb_visualid_t visual, uint32_t value_mask,
72 const xcb_create_window_value_list_t *value_list)
73{
74 xcb_void_cookie_t cookie = { 0 };
75
76 TRY();
77
78 if(!fconfig.fakeXCB || IS_EXCLUDED(XCBCONNHASH.getX11Display(conn)))
79 return _xcb_create_window_aux(conn, depth, wid, parent, x, y, width,
80 height, border_width, _class, visual, value_mask, value_list);
81
82 /////////////////////////////////////////////////////////////////////////////
83 OPENTRACE(xcb_create_window_aux); PRARGX(conn); PRARGI(depth);
84 PRARGX(wid); PRARGX(parent); PRARGI(x); PRARGI(y); PRARGI(width);
85 PRARGI(height); PRARGI(border_width); PRARGI(_class); PRARGX(visual);
86 PRARGX(value_mask); STARTTRACE();
87 /////////////////////////////////////////////////////////////////////////////
88
89 cookie = _xcb_create_window_aux(conn, depth, wid, parent, x, y, width,
90 height, border_width, _class, visual, value_mask, value_list);
91 if(cookie.sequence) WINHASH.add(XCBCONNHASH.getX11Display(conn), wid);
92
93 /////////////////////////////////////////////////////////////////////////////
94 STOPTRACE(); CLOSETRACE();
95 /////////////////////////////////////////////////////////////////////////////
96
97 CATCH();
98
99 return cookie;
100}
101
102
103xcb_void_cookie_t xcb_create_window_aux_checked(xcb_connection_t *conn,

Callers 1

subWinTestFunction · 0.85

Calls 2

getX11DisplayMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected