Searched defs:hglrc (Results 1 - 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/drivers/windows/gdi/
H A Dwgl.c183 WINGDIAPI BOOL GLAPIENTRY wglDeleteContext(HGLRC hglrc) argument
187 if ( wgl_ctx[i].ctx == (WMesaContext) hglrc ){
188 WMesaMakeCurrent((WMesaContext) hglrc, NULL);
212 WINGDIAPI BOOL GLAPIENTRY wglMakeCurrent(HDC hdc, HGLRC hglrc) argument
218 if (!hdc || !hglrc) {
225 if ( wgl_ctx[i].ctx == (WMesaContext) hglrc ) {
226 WMesaMakeCurrent( (WMesaContext) hglrc, hdc );
/external/swiftshader/src/OpenGL/libGL/
H A DlibGL.cpp8193 BOOL WINAPI wglMakeCurrent(HDC hdc, HGLRC hglrc) argument
8197 if(hdc && hglrc)
8200 gl::makeCurrent((gl::Context*)hglrc, display, display->getPrimarySurface());

Completed in 479 milliseconds