Lines Matching refs:ctx

141    GLXContext ctx;
159 this->ctx = NULL;
165 if (ctx)
166 delete (fake_glx_context *)ctx;
191 GLXContext ctx =
195 EXPECT_EQ(None, ctx);
204 GLXContext ctx =
208 EXPECT_EQ(None, ctx);
219 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0,
227 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0,
234 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0,
248 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, share,
259 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0,
267 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0,
277 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0,
287 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0,
298 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0,
321 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0,
333 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0,
341 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0,
356 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0,
371 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0,
377 EXPECT_NE((GLXContext)0, ctx);
381 EXPECT_NE((GLXContext)99, ctx);
386 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0,
392 ASSERT_NE((GLXContext)0, ctx);
394 struct glx_context *glx_ctx = (struct glx_context *) ctx;
413 struct glx_context *ctx = (struct glx_context *) second;
414 EXPECT_EQ(share->xid, ctx->share_xid);
422 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0,
425 ASSERT_NE((GLXContext) 0, ctx);
427 struct glx_context *gc = (struct glx_context *) ctx;
434 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0,
437 ASSERT_NE((GLXContext) 0, ctx);
439 struct glx_context *gc = (struct glx_context *) ctx;
448 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0,
451 ASSERT_NE((GLXContext) 0, ctx);
453 struct glx_context *gc = (struct glx_context *) ctx;
462 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0,
465 ASSERT_NE((GLXContext) 0, ctx);
467 struct glx_context *gc = (struct glx_context *) ctx;
474 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0,
477 ASSERT_NE((GLXContext) 0, ctx);
479 struct glx_context *gc = (struct glx_context *) ctx;
488 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0,
491 ASSERT_NE((GLXContext) 0, ctx);
493 struct glx_context *gc = (struct glx_context *) ctx;
503 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0,
506 ASSERT_NE((GLXContext) 0, ctx);
508 struct glx_context *gc = (struct glx_context *) ctx;
515 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0,
518 ASSERT_NE((GLXContext) 0, ctx);
520 struct glx_context *gc = (struct glx_context *) ctx;