Lines Matching refs:glrc
342 HGLRC glrc = nullptr; in create_gl_context() local
354 glrc = extensions.createContextAttribs(dc, shareContext, glesAttribs); in create_gl_context()
355 if (nullptr == glrc) { in create_gl_context()
379 glrc = extensions.createContextAttribs(dc, shareContext, coreProfileAttribs); in create_gl_context()
380 if (glrc) { in create_gl_context()
387 if (nullptr == glrc) { in create_gl_context()
388 glrc = wglCreateContext(dc); in create_gl_context()
390 if (!wglShareLists(shareContext, glrc)) { in create_gl_context()
391 wglDeleteContext(glrc); in create_gl_context()
396 SkASSERT(glrc); in create_gl_context()
404 return glrc; in create_gl_context()
452 HGLRC glrc = create_gl_context(dc, extensions, contextType, shareContext); in Create() local
453 if (glrc) { in Create()
454 return new SkWGLPbufferContext(pbuf, dc, glrc); in Create()
472 SkWGLPbufferContext::SkWGLPbufferContext(HPBUFFER pbuffer, HDC dc, HGLRC glrc) in SkWGLPbufferContext() argument
475 , fGLRC(glrc) { in SkWGLPbufferContext()