Home
last modified time | relevance | path

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

/external/skia/tools/viewer/sk_app/win/
DGLWindowContext_win.cpp35 HGLRC fHGLRC; member in __anon76190d000111::GLWindowContext_win
43 , fHGLRC(NULL) { in GLWindowContext_win()
57 fHGLRC = SkCreateWGLContext(dc, fDisplayParams.fMSAASampleCount, false /* deepColor */, in onInitializeContext()
59 if (NULL == fHGLRC) { in onInitializeContext()
64 if (wglMakeCurrent(dc, fHGLRC)) { in onInitializeContext()
69 wglDeleteContext(fHGLRC); in onInitializeContext()
70 fHGLRC = SkCreateWGLContext(dc, fDisplayParams.fMSAASampleCount, false /* deepColor */, in onInitializeContext()
72 if (NULL == fHGLRC) { in onInitializeContext()
78 if (wglMakeCurrent(dc, fHGLRC)) { in onInitializeContext()
114 wglDeleteContext(fHGLRC); in onDestroyContext()
[all …]
/external/skia/src/views/win/
DSkOSWindow_win.cpp64 fHGLRC = NULL; in SkOSWindow()
72 if (fHGLRC) { in ~SkOSWindow()
73 wglDeleteContext((HGLRC)fHGLRC); in ~SkOSWindow()
333 if (NULL == fHGLRC) { in attachGL()
334 fHGLRC = SkCreateWGLContext(dc, msaaSampleCount, deepColor, in attachGL()
336 if (NULL == fHGLRC) { in attachGL()
344 if (wglMakeCurrent(dc, (HGLRC)fHGLRC)) { in attachGL()
377 wglDeleteContext((HGLRC)fHGLRC); in detachGL()
378 fHGLRC = NULL; in detachGL()
687 if (fHGLRC) { in makeFullscreen()
/external/skia/include/views/
DSkOSWindow_Win.h92 void* fHGLRC; variable