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 __anon70b4fca10111::GLWindowContext_win
41 , fHGLRC(NULL) { in GLWindowContext_win()
55 fHGLRC = SkCreateWGLContext(dc, fDisplayParams.fMSAASampleCount, false /* deepColor */, in onInitializeContext()
57 if (NULL == fHGLRC) { in onInitializeContext()
62 if (wglMakeCurrent(dc, fHGLRC)) { in onInitializeContext()
67 wglDeleteContext(fHGLRC); in onInitializeContext()
68 fHGLRC = SkCreateWGLContext(dc, fDisplayParams.fMSAASampleCount, false /* deepColor */, in onInitializeContext()
70 if (NULL == fHGLRC) { in onInitializeContext()
76 if (wglMakeCurrent(dc, fHGLRC)) { in onInitializeContext()
112 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()
335 if (NULL == fHGLRC) { in attachGL()
336 fHGLRC = SkCreateWGLContext(dc, msaaSampleCount, deepColor, in attachGL()
338 if (NULL == fHGLRC) { in attachGL()
346 if (wglMakeCurrent(dc, (HGLRC)fHGLRC)) { in attachGL()
379 wglDeleteContext((HGLRC)fHGLRC); in detachGL()
380 fHGLRC = NULL; in detachGL()
689 if (fHGLRC) { in makeFullscreen()
/external/skia/include/views/
DSkOSWindow_Win.h92 void* fHGLRC; variable