Home | History | Annotate | Download | only in win32

Lines Matching refs:PixelFormatInfo

306 static PixelFormatInfo::Acceleration translateAcceleration (int accel)
310 case WGL_NO_ACCELERATION_ARB: return PixelFormatInfo::ACCELERATION_NONE;
311 case WGL_GENERIC_ACCELERATION_ARB: return PixelFormatInfo::ACCELERATION_GENERIC;
312 case WGL_FULL_ACCELERATION_ARB: return PixelFormatInfo::ACCELERATION_FULL;
313 default: return PixelFormatInfo::ACCELERATION_UNKNOWN;
317 static PixelFormatInfo::PixelType translatePixelType (int type)
321 case WGL_TYPE_RGBA_ARB: return PixelFormatInfo::PIXELTYPE_RGBA;
322 case WGL_TYPE_RGBA_FLOAT_ARB: return PixelFormatInfo::PIXELTYPE_RGBA_FLOAT;
323 case WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT: return PixelFormatInfo::PIXELTYPE_RGBA_UNSIGNED_FLOAT;
324 case WGL_TYPE_COLORINDEX_ARB: return PixelFormatInfo::PIXELTYPE_COLOR_INDEX;
325 default: return PixelFormatInfo::PIXELTYPE_UNKNOWN;
340 PixelFormatInfo Core::getPixelFormatInfo (HDC deviceCtx, int pixelFormat) const
372 PixelFormatInfo info;
375 info.surfaceTypes |= (values[WGL_DRAW_TO_WINDOW_ARB] ? PixelFormatInfo::SURFACE_WINDOW : 0);
376 info.surfaceTypes |= (values[WGL_DRAW_TO_BITMAP_ARB] ? PixelFormatInfo::SURFACE_PIXMAP : 0);
566 bool isSupportedByTests (const PixelFormatInfo& info)
571 if (info.acceleration != wgl::PixelFormatInfo::ACCELERATION_FULL)
574 if (info.pixelType != wgl::PixelFormatInfo::PIXELTYPE_RGBA)
577 if ((info.surfaceTypes & wgl::PixelFormatInfo::SURFACE_WINDOW) == 0)
598 const PixelFormatInfo info = wgl.getPixelFormatInfo(deviceCtx, *fmtIter);