Lines Matching refs:wgl

133 namespace wgl  namespace
265 const Functions& wgl = m_library->getFunctions(); in getPixelFormats() local
270 …if (!wgl.getPixelFormatAttribivARB(deviceCtx, 0, 0, DE_LENGTH_OF_ARRAY(attribs), &attribs[0], &val… in getPixelFormats()
306 const Functions& wgl = m_library->getFunctions(); in getPixelFormatInfo() local
326 …if (!wgl.getPixelFormatAttribivARB(deviceCtx, pixelFormat, 0, DE_LENGTH_OF_ARRAY(attribs), &attrib… in getPixelFormatInfo()
358 const Functions& wgl = core->getLibrary()->getFunctions(); in Context() local
413 m_context = wgl.createContextAttribsARB(deviceCtx, NULL, attribList); in Context()
418 if (!wgl.makeCurrent(deviceCtx, m_context)) in Context()
420 wgl.deleteContext(m_context); in Context()
427 const Functions& wgl = m_core->getLibrary()->getFunctions(); in ~Context() local
429 wgl.makeCurrent(m_deviceCtx, NULL); in ~Context()
430 wgl.deleteContext(m_context); in ~Context()
449 const Functions& wgl = m_core->getLibrary()->getFunctions(); in swapBuffers() local
450 if (!wgl.swapLayerBuffers(m_deviceCtx, WGL_SWAP_MAIN_PLANE)) in swapBuffers()
454 int choosePixelFormat (const Core& wgl, HDC deviceCtx, const glu::RenderConfig& config) in choosePixelFormat() argument
456 std::vector<int> pixelFormats = wgl.getPixelFormats(deviceCtx); in choosePixelFormat()
460 PixelFormatInfo info = wgl.getPixelFormatInfo(deviceCtx, *fmtIter); in choosePixelFormat()
464 !(info.pixelType == wgl::PixelFormatInfo::PIXELTYPE_RGBA) || in choosePixelFormat()
466 !(info.surfaceTypes & wgl::PixelFormatInfo::SURFACE_WINDOW)) in choosePixelFormat()