bump product version to 7.2.5.1
[LibreOffice.git] / vcl / inc / opengl / win / WinDeviceInfo.hxx
blob04d97406b54a4f33e2c3484505c29de5157c8e5e
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #ifndef INCLUDED_VCL_OPENGL_WIN_WINDEVICEINFO_HXX
11 #define INCLUDED_VCL_OPENGL_WIN_WINDEVICEINFO_HXX
13 #include <vcl/dllapi.h>
15 #include <opengl/DeviceInfo.hxx>
16 #include <driverblocklist.hxx>
18 #include <rtl/ustring.hxx>
19 #include <vector>
20 #include <cstdint>
22 class VCL_DLLPUBLIC WinOpenGLDeviceInfo : public OpenGLDeviceInfo
24 private:
25 OUString maDriverVersion;
26 OUString maDriverVersion2;
28 OUString maDriverDate;
29 OUString maDriverDate2;
31 OUString maDeviceID;
32 OUString maDeviceID2;
34 OUString maAdapterVendorID;
35 OUString maAdapterDeviceID;
36 OUString maAdapterSubsysID;
38 OUString maAdapterVendorID2;
39 OUString maAdapterDeviceID2;
40 OUString maAdapterSubsysID2;
42 OUString maDeviceKey;
43 OUString maDeviceKey2;
45 OUString maDeviceString;
46 OUString maDeviceString2;
48 bool mbHasDualGPU;
49 bool mbRDP;
51 void GetData();
52 bool FindBlocklistedDeviceInList();
54 public:
55 WinOpenGLDeviceInfo();
57 virtual ~WinOpenGLDeviceInfo() override;
59 virtual bool isDeviceBlocked() override;
61 const OUString& GetDriverVersion() const
63 return maDriverVersion;
66 const OUString& GetDriverDate() const
68 return maDriverDate;
71 const OUString& GetDeviceID() const
73 return maDeviceID;
76 const OUString& GetAdapterVendorID() const
78 return maAdapterVendorID;
81 const OUString& GetAdapterDeviceID() const
83 return maAdapterDeviceID;
86 const OUString& GetAdapterSubsysID() const
88 return maAdapterSubsysID;
90 const OUString& GetDeviceKey() const
92 return maDeviceKey;
95 const OUString& GetDeviceString() const
97 return maDeviceString;
101 #endif
103 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */