1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
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>
22 class VCL_DLLPUBLIC WinOpenGLDeviceInfo
: public OpenGLDeviceInfo
25 OUString maDriverVersion
;
26 OUString maDriverVersion2
;
28 OUString maDriverDate
;
29 OUString maDriverDate2
;
34 OUString maAdapterVendorID
;
35 OUString maAdapterDeviceID
;
36 OUString maAdapterSubsysID
;
38 OUString maAdapterVendorID2
;
39 OUString maAdapterDeviceID2
;
40 OUString maAdapterSubsysID2
;
43 OUString maDeviceKey2
;
45 OUString maDeviceString
;
46 OUString maDeviceString2
;
52 bool FindBlocklistedDeviceInList();
55 WinOpenGLDeviceInfo();
57 virtual ~WinOpenGLDeviceInfo() override
;
59 virtual bool isDeviceBlocked() override
;
61 const OUString
& GetDriverVersion() const
63 return maDriverVersion
;
66 const OUString
& GetDriverDate() const
71 const OUString
& GetDeviceID() const
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
95 const OUString
& GetDeviceString() const
97 return maDeviceString
;
103 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */