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

Method GLFrame

client/GLFrame.cpp:32–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31
32GLFrame::GLFrame(char *dpystring, Window win_) : Frame(), dpy(NULL), win(win_),
33 ctx(0), tjhnd(NULL), newdpy(false)
34{
35 if(!dpystring || !win)
36 throw(Error("GLFrame::GLFrame", "Invalid argument"));
37
38 if(!(dpy = XOpenDisplay(dpystring))) THROW("Could not open display");
39 newdpy = true;
40 isGL = true;
41 init();
42}
43
44
45GLFrame::GLFrame(Display *dpy_, Window win_) : Frame(), dpy(NULL), win(win_),

Callers

nothing calls this directly

Calls 3

XOpenDisplayFunction · 0.85
ErrorClass · 0.50
initFunction · 0.50

Tested by

no test coverage detected