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

Function glXDestroyWindow

server/faker-glx.cpp:806–829  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

804// the corresponding VirtualWin instance and shuts down that instance.
805
806void glXDestroyWindow(Display *dpy, GLXWindow win)
807{
808 TRY();
809
810 if(IS_EXCLUDED(dpy))
811 {
812 _glXDestroyWindow(dpy, win); return;
813 }
814
815 /////////////////////////////////////////////////////////////////////////////
816 OPENTRACE(glXDestroyWindow); PRARGD(dpy); PRARGX(win); STARTTRACE();
817 /////////////////////////////////////////////////////////////////////////////
818
819 DISABLE_FAKER();
820
821 WINHASH.remove(dpy, win);
822
823 /////////////////////////////////////////////////////////////////////////////
824 STOPTRACE(); CLOSETRACE();
825 /////////////////////////////////////////////////////////////////////////////
826
827 CATCH();
828 ENABLE_FAKER();
829}
830
831
832// Hand off to the 3D X server without modification.

Callers 1

offScreenTestFunction · 0.85

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected