Home
last modified time | relevance | path

Searched refs:fDeviceContext (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/tools/gpu/gl/win/
DCreatePlatformGLTestContext_win.cpp50 HDC fDeviceContext; member in __anon92ea71230111::WinGLTestContext
60 , fDeviceContext(nullptr) in WinGLTestContext()
95 if (!(fDeviceContext = GetDC(fWindow))) { in WinGLTestContext()
112 fPbufferContext = SkWGLPbufferContext::Create(fDeviceContext, contextType, winShareContext); in WinGLTestContext()
117 if (!(fGlRenderContext = SkCreateWGLContext(fDeviceContext, 0, false, contextType, in WinGLTestContext()
123 dc = fDeviceContext; in WinGLTestContext()
126 ReleaseDC(fWindow, fDeviceContext); in WinGLTestContext()
127 fDeviceContext = 0; in WinGLTestContext()
176 if (fWindow && fDeviceContext) { in destroyGLContext()
177 ReleaseDC(fWindow, fDeviceContext); in destroyGLContext()
[all …]
/third_party/skia/tools/gpu/gl/angle/
DGLTestContext_angle.cpp123 HDC fDeviceContext; member in __anon9798b33c0111::ANGLEGLContext
187 fDeviceContext = nullptr; in ANGLEGLContext()
229 if (!(fDeviceContext = GetDC(fWindow))) { in ANGLEGLContext()
235 fDisplay = get_angle_egl_display(fDeviceContext, type); in ANGLEGLContext()
459 if (fDeviceContext) { in destroyGLContext()
460 ReleaseDC(fWindow, fDeviceContext); in destroyGLContext()
461 fDeviceContext = 0; in destroyGLContext()