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

Method VirtualDrawable

server/VirtualDrawable.cpp:222–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220// 3D off-screen drawable that backs it.
221
222VirtualDrawable::VirtualDrawable(Display *dpy_, Drawable x11Draw_)
223{
224 if(!dpy_ || !x11Draw_) THROW("Invalid argument");
225 dpy = dpy_;
226 x11Draw = x11Draw_;
227 edpy = EGL_NO_DISPLAY;
228 oglDraw = NULL;
229 profReadback.setName("Readback ");
230 autotestFrameCount = 0;
231 config = 0;
232 ctx = 0;
233 direct = -1;
234 pbo = 0;
235 numSync = numFrames = 0;
236 lastFormat = -1;
237 usePBO = (fconfig.readback == RRREAD_PBO);
238 alreadyPrinted = alreadyWarned = alreadyWarnedRenderMode = false;
239 ext = NULL;
240 eventMask = 0;
241}
242
243
244VirtualDrawable::~VirtualDrawable(void)

Callers

nothing calls this directly

Calls 1

setNameMethod · 0.80

Tested by

no test coverage detected