Home
last modified time | relevance | path

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

/external/skqp/tools/gpu/gl/win/
DCreatePlatformGLTestContext_win.cpp30 auto glrc = wglGetCurrentContext(); in context_restorer() local
32 return [glrc, dc] { wglMakeCurrent(dc, glrc); }; in context_restorer()
113 HGLRC glrc; in WinGLTestContext() local
122 glrc = fGlRenderContext; in WinGLTestContext()
130 glrc = fPbufferContext->getGLRC(); in WinGLTestContext()
134 if (!(wglMakeCurrent(dc, glrc))) { in WinGLTestContext()
179 HGLRC glrc; in onPlatformMakeCurrent() local
183 glrc = fGlRenderContext; in onPlatformMakeCurrent()
186 glrc = fPbufferContext->getGLRC(); in onPlatformMakeCurrent()
189 if (!wglMakeCurrent(dc, glrc)) { in onPlatformMakeCurrent()
/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()
113 HGLRC glrc; in WinGLTestContext() local
122 glrc = fGlRenderContext; in WinGLTestContext()
130 glrc = fPbufferContext->getGLRC(); in WinGLTestContext()
134 if (!(wglMakeCurrent(dc, glrc))) { in WinGLTestContext()
179 HGLRC glrc; in onPlatformMakeCurrent() local
183 glrc = fGlRenderContext; in onPlatformMakeCurrent()
186 glrc = fPbufferContext->getGLRC(); in onPlatformMakeCurrent()
189 if (!wglMakeCurrent(dc, glrc)) { in onPlatformMakeCurrent()
/external/skia/src/utils/win/
DSkWGL_win.cpp355 HGLRC glrc = nullptr; in create_gl_context() local
367 glrc = extensions.createContextAttribs(dc, shareContext, glesAttribs); in create_gl_context()
368 if (nullptr == glrc) { in create_gl_context()
392 glrc = extensions.createContextAttribs(dc, shareContext, coreProfileAttribs); in create_gl_context()
393 if (glrc) { in create_gl_context()
400 if (nullptr == glrc) { in create_gl_context()
401 glrc = wglCreateContext(dc); in create_gl_context()
403 if (!wglShareLists(shareContext, glrc)) { in create_gl_context()
404 wglDeleteContext(glrc); in create_gl_context()
409 SkASSERT(glrc); in create_gl_context()
[all …]
DSkWGL.h157 SkWGLPbufferContext(HPBUFFER pbuffer, HDC dc, HGLRC glrc);
/external/skqp/src/utils/win/
DSkWGL_win.cpp355 HGLRC glrc = nullptr; in create_gl_context() local
367 glrc = extensions.createContextAttribs(dc, shareContext, glesAttribs); in create_gl_context()
368 if (nullptr == glrc) { in create_gl_context()
392 glrc = extensions.createContextAttribs(dc, shareContext, coreProfileAttribs); in create_gl_context()
393 if (glrc) { in create_gl_context()
400 if (nullptr == glrc) { in create_gl_context()
401 glrc = wglCreateContext(dc); in create_gl_context()
403 if (!wglShareLists(shareContext, glrc)) { in create_gl_context()
404 wglDeleteContext(glrc); in create_gl_context()
409 SkASSERT(glrc); in create_gl_context()
[all …]
DSkWGL.h157 SkWGLPbufferContext(HPBUFFER pbuffer, HDC dc, HGLRC glrc);