Bug 1942006 - Upstream a variety of Servo-specific code from Servo's downstream fork...
[gecko.git] / widget / GfxInfoDeviceVendorDefs.h
blobd69bae4e514434a6e06e467a92a2a981523323ff
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 // NOTE: No include guard. This is meant to be included to generate different
7 // code based on how GFXINFO_FEATURE_STATUS is defined, possibly multiple times
8 // in a single translation unit.
10 /* clang-format off */
12 // There is an assumption that this is the first enum
13 GFXINFO_DEVICE_VENDOR(All, "")
14 GFXINFO_DEVICE_VENDOR(Intel, "0x8086")
15 GFXINFO_DEVICE_VENDOR(NVIDIA, "0x10de")
16 GFXINFO_DEVICE_VENDOR(ATI, "0x1002")
17 // AMD has 0x1022 but continues to release GPU hardware under ATI.
18 GFXINFO_DEVICE_VENDOR(Microsoft, "0x1414")
19 GFXINFO_DEVICE_VENDOR(MicrosoftBasic, "0x00ba")
20 GFXINFO_DEVICE_VENDOR(MicrosoftHyperV, "0x000b")
21 GFXINFO_DEVICE_VENDOR(Parallels, "0x1ab8")
22 GFXINFO_DEVICE_VENDOR(VMWare, "0x15ad")
23 GFXINFO_DEVICE_VENDOR(VirtualBox, "0x80ee")
24 GFXINFO_DEVICE_VENDOR(Apple, "0x106b")
25 GFXINFO_DEVICE_VENDOR(Amazon, "0x1d0f")
26 // Choose an arbitrary Qualcomm PCI VENdor ID for now.
27 // TODO: This should be "QCOM" when Windows device ID parsing is reworked.
28 GFXINFO_DEVICE_VENDOR(Qualcomm, "0x5143")