LibreOffice Module vcl (master) 1
Classes | Namespaces | Macros | Enumerations | Functions | Variables
driverblocklist.hxx File Reference
#include <vcl/dllapi.h>
#include <xmlreader/xmlreader.hxx>
#include <string_view>
#include <vector>
Include dependency graph for driverblocklist.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DriverBlocklist::InvalidFileException
 
struct  DriverBlocklist::DriverInfo
 
class  DriverBlocklist::Parser
 

Namespaces

namespace  DriverBlocklist
 

Macros

#define GFX_DRIVER_VERSION(a, b, c, d)    ((uint64_t(a) << 48) | (uint64_t(b) << 32) | (uint64_t(c) << 16) | uint64_t(d))
 

Enumerations

enum class  DriverBlocklist::VersionType {
  DriverBlocklist::OpenGL ,
  DriverBlocklist::Vulkan
}
 
enum  DriverBlocklist::DeviceVendor {
  DriverBlocklist::VendorAll ,
  DriverBlocklist::VendorIntel ,
  DriverBlocklist::VendorNVIDIA ,
  DriverBlocklist::VendorAMD ,
  DriverBlocklist::VendorMicrosoft
}
 
enum  DriverBlocklist::OperatingSystem {
  DriverBlocklist::DRIVER_OS_UNKNOWN = 0 ,
  DriverBlocklist::DRIVER_OS_WINDOWS_FIRST ,
  DriverBlocklist::DRIVER_OS_WINDOWS_7 = DRIVER_OS_WINDOWS_FIRST ,
  DriverBlocklist::DRIVER_OS_WINDOWS_8 ,
  DriverBlocklist::DRIVER_OS_WINDOWS_8_1 ,
  DriverBlocklist::DRIVER_OS_WINDOWS_10 ,
  DriverBlocklist::DRIVER_OS_WINDOWS_LAST = DRIVER_OS_WINDOWS_10 ,
  DriverBlocklist::DRIVER_OS_WINDOWS_ALL ,
  DriverBlocklist::DRIVER_OS_LINUX ,
  DriverBlocklist::DRIVER_OS_OSX_FIRST ,
  DriverBlocklist::DRIVER_OS_OSX_10_5 = DRIVER_OS_OSX_FIRST ,
  DriverBlocklist::DRIVER_OS_OSX_10_6 ,
  DriverBlocklist::DRIVER_OS_OSX_10_7 ,
  DriverBlocklist::DRIVER_OS_OSX_10_8 ,
  DriverBlocklist::DRIVER_OS_OSX_LAST = DRIVER_OS_OSX_10_8 ,
  DriverBlocklist::DRIVER_OS_OSX_ALL ,
  DriverBlocklist::DRIVER_OS_ANDROID ,
  DriverBlocklist::DRIVER_OS_ALL
}
 
enum  DriverBlocklist::VersionComparisonOp {
  DriverBlocklist::DRIVER_LESS_THAN ,
  DriverBlocklist::DRIVER_LESS_THAN_OR_EQUAL ,
  DriverBlocklist::DRIVER_GREATER_THAN ,
  DriverBlocklist::DRIVER_GREATER_THAN_OR_EQUAL ,
  DriverBlocklist::DRIVER_EQUAL ,
  DriverBlocklist::DRIVER_NOT_EQUAL ,
  DriverBlocklist::DRIVER_BETWEEN_EXCLUSIVE ,
  DriverBlocklist::DRIVER_BETWEEN_INCLUSIVE ,
  DriverBlocklist::DRIVER_BETWEEN_INCLUSIVE_START ,
  DriverBlocklist::DRIVER_COMPARISON_IGNORED
}
 

Functions

bool DriverBlocklist::IsDeviceBlocked (const OUString &blocklistURL, VersionType versionType, std::u16string_view driverVersion, std::u16string_view vendorId, const OUString &deviceId)
 
DeviceVendor DriverBlocklist::GetVendorFromId (uint32_t id)
 Returns vendor for the given vendor ID, or VendorAll if not known. More...
 
std::string_view DriverBlocklist::GetVendorNameFromId (uint32_t id)
 
OUString DriverBlocklist::GetVendorId (DeviceVendor id)
 
bool DriverBlocklist::FindBlocklistedDeviceInList (std::vector< DriverInfo > &aDeviceInfos, VersionType versionType, std::u16string_view sDriverVersion, std::u16string_view sAdapterVendorID, OUString const &sAdapterDeviceID, OperatingSystem system, const OUString &blocklistURL)
 
uint64_t DriverBlocklist::OpenGLVersion (uint32_t a, uint32_t b, uint32_t c, uint32_t d)
 

Variables

const int DriverBlocklist::DeviceVendorMax = VendorMicrosoft + 1
 

Macro Definition Documentation

◆ GFX_DRIVER_VERSION

#define GFX_DRIVER_VERSION (   a,
  b,
  c,
  d 
)     ((uint64_t(a) << 48) | (uint64_t(b) << 32) | (uint64_t(c) << 16) | uint64_t(d))

Definition at line 152 of file driverblocklist.hxx.