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

Function XDestroyWindow

server/faker-x11.cpp:305–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303
304
305int XDestroyWindow(Display *dpy, Window win)
306{
307 int retval = 0;
308 TRY();
309
310 if(IS_EXCLUDED(dpy))
311 return _XDestroyWindow(dpy, win);
312
313 /////////////////////////////////////////////////////////////////////////////
314 OPENTRACE(XDestroyWindow); PRARGD(dpy); PRARGX(win); STARTTRACE();
315 /////////////////////////////////////////////////////////////////////////////
316
317 DISABLE_FAKER();
318
319 if(dpy && win) DeleteWindow(dpy, win);
320 retval = _XDestroyWindow(dpy, win);
321
322 /////////////////////////////////////////////////////////////////////////////
323 STOPTRACE(); CLOSETRACE();
324 /////////////////////////////////////////////////////////////////////////////
325
326 CATCH();
327 ENABLE_FAKER();
328 return retval;
329}
330
331
332// If we're freeing a visual that is hashed to an FB config, then remove the

Callers 15

testFunction · 0.85
readbackTestFunction · 0.85
readbackTestMSFunction · 0.85
flushTestFunction · 0.85
multiThreadTestFunction · 0.85
offScreenTestFunction · 0.85
contextMismatchTestFunction · 0.85
copyContextTestFunction · 0.85
subWinTestFunction · 0.85
mainFunction · 0.85
readbackTestFunction · 0.85
multiThreadTestFunction · 0.85

Calls 1

DeleteWindowFunction · 0.70

Tested by 4

testFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68