Lines Matching full:s_gl
280 static GLConnection* s_gl;
289 GraphicsContext3DInternal::GLConnection* GraphicsContext3DInternal::s_gl = 0;
506 if (!s_gl) {
507 s_gl = GLConnection::create();
508 if (!s_gl)
522 GLXFBConfig* config = s_gl->chooseFBConfig(0, configAttrs, &nelements);
532 GLXContext context = s_gl->createNewContext(config[0], GLX_RGBA_TYPE, 0, True);
545 GLXPbuffer pbuffer = s_gl->createPbuffer(config[0], pbufferAttrs);
551 if (!s_gl->makeCurrent(pbuffer, context)) {
604 s_gl->makeCurrent(0, 0);
605 s_gl->destroyContext(m_contextObj);
606 s_gl->destroyPbuffer(m_pbuffer);
624 if (s_gl->getCurrentContext() != m_contextObj)
625 if (s_gl->makeCurrent(m_pbuffer, m_contextObj))