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