Home
last modified time | relevance | path

Searched refs:glrc (Results 1 – 5 of 5) sorted by relevance

/external/skia/tools/gpu/gl/win/
DCreatePlatformGLTestContext_win.cpp30 auto glrc = wglGetCurrentContext(); in context_restorer() local
32 return [glrc, dc] { wglMakeCurrent(dc, glrc); }; in context_restorer()
114 HGLRC glrc; in WinGLTestContext() local
123 glrc = fGlRenderContext; in WinGLTestContext()
131 glrc = fPbufferContext->getGLRC(); in WinGLTestContext()
135 if (!(wglMakeCurrent(dc, glrc))) { in WinGLTestContext()
193 HGLRC glrc; in onPlatformMakeCurrent() local
197 glrc = fGlRenderContext; in onPlatformMakeCurrent()
200 glrc = fPbufferContext->getGLRC(); in onPlatformMakeCurrent()
203 if (!wglMakeCurrent(dc, glrc)) { in onPlatformMakeCurrent()
/external/skia/src/utils/win/
DSkWGL_win.cpp360 HGLRC glrc = nullptr; in create_gl_context() local
372 glrc = extensions.createContextAttribs(dc, shareContext, glesAttribs); in create_gl_context()
373 if (nullptr == glrc) { in create_gl_context()
397 glrc = extensions.createContextAttribs(dc, shareContext, coreProfileAttribs); in create_gl_context()
398 if (glrc) { in create_gl_context()
405 if (nullptr == glrc) { in create_gl_context()
406 glrc = wglCreateContext(dc); in create_gl_context()
408 if (!wglShareLists(shareContext, glrc)) { in create_gl_context()
409 wglDeleteContext(glrc); in create_gl_context()
414 SkASSERT(glrc); in create_gl_context()
[all …]
DSkWGL.h157 SkWGLPbufferContext(HPBUFFER pbuffer, HDC dc, HGLRC glrc);
/external/angle/src/libANGLE/renderer/gl/wgl/
DDisplayWGL.cpp695 HGLRC newContext = currentContext.glrc; in makeCurrent()
706 if (newDC != currentContext.dc || newContext != currentContext.glrc) in makeCurrent()
716 currentContext.glrc = newContext; in makeCurrent()
918 currentContext.glrc = context; in createRenderer()
DDisplayWGL.h118 HGLRC glrc = nullptr; member