Kaydet (Commit) 7eb4c692 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

remove all traces of old device code

Change-Id: I792749951f11e99504c708bf27bec56c2d98019e
Reviewed-on: https://gerrit.libreoffice.org/16331Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst f067d701
......@@ -47,22 +47,6 @@ enum VersionComparisonOp {
DRIVER_COMPARISON_IGNORED
};
enum DeviceFamily {
IntelGMA500,
IntelGMA900,
IntelGMA950,
IntelGMA3150,
IntelGMAX3000,
IntelGMAX4500HD,
IntelHD3000,
IntelMobileHDGraphics,
NvidiaBlockD3D9Layers,
RadeonX1000,
Geforce7300GT,
Nvidia310M,
DeviceFamilyMax
};
enum DeviceVendor {
VendorAll,
VendorIntel,
......@@ -77,15 +61,8 @@ bool ParseDriverVersion(const OUString& rString, uint64_t& rVersion);
struct DriverInfo
{
typedef std::vector<OUString> DeviceFamilyVector;
// If |ownDevices| is true, you are transferring ownership of the devices
// array, and it will be deleted when this GfxDriverInfo is destroyed.
DriverInfo(OperatingSystem os, const OUString& vendor, DeviceFamilyVector* devices,
VersionComparisonOp op,
uint64_t driverVersion, bool bWhiteListed = false, const char *suggestedVersion = nullptr,
bool ownDevices = false);
DriverInfo(OperatingSystem os, const OUString& vendor, VersionComparisonOp op,
uint64_t driverVersion, bool bWhiteListed = false, const char *suggestedVersion = nullptr);
DriverInfo();
DriverInfo(const DriverInfo&);
......@@ -96,8 +73,6 @@ struct DriverInfo
OUString maAdapterVendor;
static DeviceFamilyVector* const allDevices;
DeviceFamilyVector* mpDevices;
std::vector<OUString> maDevices;
// Whether the mDevices array should be deleted when this structure is
......@@ -113,9 +88,6 @@ struct DriverInfo
uint64_t mnDriverVersionMax;
static uint64_t allDriverVersions;
static const DeviceFamilyVector* GetDeviceFamily(DeviceFamily id);
static DeviceFamilyVector* mpDeviceFamilies[DeviceFamilyMax];
OUString maSuggestedVersion;
OUString maMsg;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment