Lines Matching refs:deviceCtx
289 std::vector<int> Core::getPixelFormats (HDC deviceCtx) const in getPixelFormats()
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()
340 PixelFormatInfo Core::getPixelFormatInfo (HDC deviceCtx, int pixelFormat) const in getPixelFormatInfo() argument
369 …getPixelFormatAttribs(wgl, deviceCtx, pixelFormat, DE_LENGTH_OF_ARRAY(s_attribsToQuery), &s_attrib… in getPixelFormatInfo()
403 HDC deviceCtx, in Context() argument
409 , m_deviceCtx (deviceCtx) in Context()
503 if (!DescribePixelFormat(deviceCtx, pixelFormat, sizeof(pixelFormatDesc), &pixelFormatDesc)) in Context()
506 if (!SetPixelFormat(deviceCtx, pixelFormat, &pixelFormatDesc)) in Context()
518 m_context = wgl.createContextAttribsARB(deviceCtx, sharedCtx, &attribList[0]); in Context()
523 if (!wgl.makeCurrent(deviceCtx, m_context)) in Context()
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()