Lines Matching refs:PixelFormatInfo

281 static PixelFormatInfo::Acceleration translateAcceleration (int accel)  in translateAcceleration()
285 case WGL_NO_ACCELERATION_ARB: return PixelFormatInfo::ACCELERATION_NONE; in translateAcceleration()
286 case WGL_GENERIC_ACCELERATION_ARB: return PixelFormatInfo::ACCELERATION_GENERIC; in translateAcceleration()
287 case WGL_FULL_ACCELERATION_ARB: return PixelFormatInfo::ACCELERATION_FULL; in translateAcceleration()
288 default: return PixelFormatInfo::ACCELERATION_UNKNOWN; in translateAcceleration()
292 static PixelFormatInfo::PixelType translatePixelType (int type) in translatePixelType()
296 case WGL_TYPE_RGBA_ARB: return PixelFormatInfo::PIXELTYPE_RGBA; in translatePixelType()
297 case WGL_TYPE_RGBA_FLOAT_ARB: return PixelFormatInfo::PIXELTYPE_RGBA_FLOAT; in translatePixelType()
298 case WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT: return PixelFormatInfo::PIXELTYPE_RGBA_UNSIGNED_FLOAT; in translatePixelType()
299 case WGL_TYPE_COLORINDEX_ARB: return PixelFormatInfo::PIXELTYPE_COLOR_INDEX; in translatePixelType()
300 default: return PixelFormatInfo::PIXELTYPE_UNKNOWN; in translatePixelType()
304 PixelFormatInfo Core::getPixelFormatInfo (HDC deviceCtx, int pixelFormat) const in getPixelFormatInfo()
330 PixelFormatInfo info; in getPixelFormatInfo()
333 info.surfaceTypes |= (values[0] ? PixelFormatInfo::SURFACE_WINDOW : 0); in getPixelFormatInfo()
334 info.surfaceTypes |= (values[1] ? PixelFormatInfo::SURFACE_PIXMAP : 0); in getPixelFormatInfo()
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()