Bug 1942006 - Upstream a variety of Servo-specific code from Servo's downstream fork...
[gecko.git] / widget / GfxInfoOperatingSystemDefs.h
blob2495934b62a79c5ca7ec507c2f8fffcaaa920be0
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 // For historical reasons, "All" in blocklist means "All Windows"
13 GFXINFO_OS(Windows, "All")
14 GFXINFO_OS(Windows7, "WINNT 6.1")
15 GFXINFO_OS(Windows8, "WINNT 6.2")
16 GFXINFO_OS(Windows8_1, "WINNT 6.3")
17 GFXINFO_OS(Windows10, "WINNT 10.0")
18 GFXINFO_OS(RecentWindows10, "WINNT Recent")
19 GFXINFO_OS(NotRecentWindows10, "WINNT NotRecent")
20 GFXINFO_OS(Linux, "Linux")
21 GFXINFO_OS(OSX, "Darwin")
22 GFXINFO_OS(OSX10_5, "Darwin 9")
23 GFXINFO_OS(OSX10_6, "Darwin 10")
24 GFXINFO_OS(OSX10_7, "Darwin 11")
25 GFXINFO_OS(OSX10_8, "Darwin 12")
26 GFXINFO_OS(OSX10_9, "Darwin 13")
27 GFXINFO_OS(OSX10_10, "Darwin 14")
28 GFXINFO_OS(OSX10_11, "Darwin 15")
29 GFXINFO_OS(OSX10_12, "Darwin 16")
30 GFXINFO_OS(OSX10_13, "Darwin 17")
31 GFXINFO_OS(OSX10_14, "Darwin 18")
32 GFXINFO_OS(OSX10_15, "Darwin 19")
33 GFXINFO_OS(OSX11_0, "Darwin 20")
34 GFXINFO_OS(Android, "Android")
35 GFXINFO_OS(Ios, "Ios")