Home
last modified time | relevance | path

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

/external/skia/tools/gpu/gl/win/
DCreatePlatformGLTestContext_win.cpp96 HGLRC glrc; in WinGLTestContext() local
105 glrc = fGlRenderContext; in WinGLTestContext()
113 glrc = fPbufferContext->getGLRC(); in WinGLTestContext()
116 if (!(wglMakeCurrent(dc, glrc))) { in WinGLTestContext()
160 HGLRC glrc; in onPlatformMakeCurrent() local
164 glrc = fGlRenderContext; in onPlatformMakeCurrent()
167 glrc = fPbufferContext->getGLRC(); in onPlatformMakeCurrent()
170 if (!wglMakeCurrent(dc, glrc)) { in onPlatformMakeCurrent()
/external/skia/src/utils/win/
DSkWGL_win.cpp342 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()
[all …]
DSkWGL.h155 SkWGLPbufferContext(HPBUFFER pbuffer, HDC dc, HGLRC glrc);