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_DRIVER_VENDOR(All
, "")
14 // Wildcard for all Mesa drivers.
15 GFXINFO_DRIVER_VENDOR(MesaAll
, "mesa/all")
16 // Note that the following list of Mesa drivers is not comprehensive; we pull
17 // the DRI driver at runtime. These drivers are provided for convenience when
18 // populating the local blocklist.
19 GFXINFO_DRIVER_VENDOR(MesaLLVMPipe
, "mesa/llvmpipe")
20 GFXINFO_DRIVER_VENDOR(MesaSoftPipe
, "mesa/softpipe")
21 GFXINFO_DRIVER_VENDOR(MesaSWRast
, "mesa/swrast")
22 GFXINFO_DRIVER_VENDOR(MesaSWUnknown
, "mesa/software-unknown")
24 GFXINFO_DRIVER_VENDOR(MesaR600
, "mesa/r600")
25 GFXINFO_DRIVER_VENDOR(MesaRadeonsi
, "mesa/radeonsi")
26 // Nouveau: Open-source nvidia
27 GFXINFO_DRIVER_VENDOR(MesaNouveau
, "mesa/nouveau")
28 // A generic ID to be provided when we can't determine the DRI driver on Mesa.
29 GFXINFO_DRIVER_VENDOR(MesaUnknown
, "mesa/unknown")
30 // Wildcard for all non-Mesa drivers.
31 GFXINFO_DRIVER_VENDOR(NonMesaAll
, "non-mesa/all")
32 // Wildcard for all hardware Mesa drivers.
33 GFXINFO_DRIVER_VENDOR(HardwareMesaAll
, "mesa/hw-all")
34 // Wildcard for all software Mesa drivers.
35 GFXINFO_DRIVER_VENDOR(SoftwareMesaAll
, "mesa/sw-all")
36 // Wildcard for all non-Intel/NVIDIA/ATI Mesa drivers.
37 GFXINFO_DRIVER_VENDOR(MesaNonIntelNvidiaAtiAll
, "mesa/non-intel-nvidia-ati-all")
39 GFXINFO_DRIVER_VENDOR(MesaVM
, "mesa/vmwgfx")