Lines Matching refs:wgl
143 namespace wgl namespace
291 const Functions& wgl = m_library->getFunctions(); in getPixelFormats() local
296 …if (!wgl.getPixelFormatAttribivARB(deviceCtx, 0, 0, DE_LENGTH_OF_ARRAY(attribs), &attribs[0], &val… in getPixelFormats()
329 static void getPixelFormatAttribs (const Functions& wgl, HDC deviceCtx, int pixelFormat, int numAtt… in getPixelFormatAttribs() argument
333 if (!wgl.getPixelFormatAttribivARB(deviceCtx, pixelFormat, 0, numAttribs, &attribs[0], &values[0])) in getPixelFormatAttribs()
366 const Functions& wgl = m_library->getFunctions(); in getPixelFormatInfo() local
369 …getPixelFormatAttribs(wgl, deviceCtx, pixelFormat, DE_LENGTH_OF_ARRAY(s_attribsToQuery), &s_attrib… in getPixelFormatInfo()
412 const Functions& wgl = core->getLibrary()->getFunctions(); in Context() local
518 m_context = wgl.createContextAttribsARB(deviceCtx, sharedCtx, &attribList[0]); in Context()
523 if (!wgl.makeCurrent(deviceCtx, m_context)) in Context()
525 wgl.deleteContext(m_context); in Context()
532 const Functions& wgl = m_core->getLibrary()->getFunctions(); in ~Context() local
534 wgl.makeCurrent(m_deviceCtx, NULL); in ~Context()
535 wgl.deleteContext(m_context); in ~Context()
554 const Functions& wgl = m_core->getLibrary()->getFunctions(); in makeCurrent() local
555 if (!wgl.makeCurrent(m_deviceCtx, m_context)) in makeCurrent()
561 const Functions& wgl = m_core->getLibrary()->getFunctions(); in swapBuffers() local
562 if (!wgl.swapLayerBuffers(m_deviceCtx, WGL_SWAP_MAIN_PLANE)) in swapBuffers()
571 if (info.acceleration != wgl::PixelFormatInfo::ACCELERATION_FULL) in isSupportedByTests()
574 if (info.pixelType != wgl::PixelFormatInfo::PIXELTYPE_RGBA) in isSupportedByTests()
577 if ((info.surfaceTypes & wgl::PixelFormatInfo::SURFACE_WINDOW) == 0) in isSupportedByTests()
592 int choosePixelFormat (const Core& wgl, HDC deviceCtx, const glu::RenderConfig& config) in choosePixelFormat() argument
594 std::vector<int> pixelFormats = wgl.getPixelFormats(deviceCtx); in choosePixelFormat()
598 const PixelFormatInfo info = wgl.getPixelFormatInfo(deviceCtx, *fmtIter); in choosePixelFormat()