MCPcopy Create free account
hub / github.com/VirtualGL/virtualgl / ~VirtualWin

Method ~VirtualWin

server/VirtualWin.cpp:90–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88
89
90VirtualWin::~VirtualWin(void)
91{
92 mutex.lock(false);
93 delete oldDraw; oldDraw = NULL;
94 delete x11trans; x11trans = NULL;
95 delete vglconn; vglconn = NULL;
96 #ifdef USEXV
97 delete xvtrans; xvtrans = NULL;
98 #endif
99 if(plugin)
100 {
101 try
102 {
103 delete plugin; plugin = NULL;
104 }
105 catch(std::exception &e)
106 {
107 if(fconfig.verbose)
108 vglout.println("[VGL] WARNING: %s", e.what());
109 }
110 }
111 if(eventdpy) { _XCloseDisplay(eventdpy); eventdpy = NULL; }
112 mutex.unlock(false);
113}
114
115
116int VirtualWin::init(int w, int h, VGLFBConfig config_)

Callers

nothing calls this directly

Calls 4

printlnMethod · 0.80
whatMethod · 0.80
lockMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected