diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-06-04 17:39:48 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-06-17 12:46:26 +0000 |
commit | 7eb4c6921850a5a377f6aa42ce4af85b145da01c (patch) | |
tree | 034b2aa404504458d4a03beedae5437afcd9f7e7 /vcl/inc/opengl | |
parent | f067d7010322505013693a18b68fac6d6a53e61f (diff) |
remove all traces of old device code
Change-Id: I792749951f11e99504c708bf27bec56c2d98019e
Reviewed-on: https://gerrit.libreoffice.org/16331
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'vcl/inc/opengl')
-rw-r--r-- | vcl/inc/opengl/win/WinDeviceInfo.hxx | 32 |
1 files changed, 2 insertions, 30 deletions
diff --git a/vcl/inc/opengl/win/WinDeviceInfo.hxx b/vcl/inc/opengl/win/WinDeviceInfo.hxx index 37779a56e83c..0c60b35f274e 100644 --- a/vcl/inc/opengl/win/WinDeviceInfo.hxx +++ b/vcl/inc/opengl/win/WinDeviceInfo.hxx @@ -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; }; |