OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Determines whether certain gpu-related features are blacklisted or not. | 5 // Determines whether certain gpu-related features are blacklisted or not. |
6 // The format of a valid software_rendering_list.json file is defined in | 6 // The format of a valid software_rendering_list.json file is defined in |
7 // <gpu/config/gpu_control_list_format.txt>. | 7 // <gpu/config/gpu_control_list_format.txt>. |
8 // The supported "features" can be found in <gpu/config/gpu_blacklist.cc>. | 8 // The supported "features" can be found in <gpu/config/gpu_blacklist.cc>. |
9 | 9 |
10 #include "gpu/config/gpu_control_list_jsons.h" | 10 #include "gpu/config/gpu_control_list_jsons.h" |
11 | 11 |
12 #define LONG_STRING_CONST(...) #__VA_ARGS__ | 12 #define LONG_STRING_CONST(...) #__VA_ARGS__ |
13 | 13 |
14 namespace gpu { | 14 namespace gpu { |
15 | 15 |
16 const char kSoftwareRenderingListJson[] = LONG_STRING_CONST( | 16 const char kSoftwareRenderingListJson[] = LONG_STRING_CONST( |
17 | 17 |
18 { | 18 { |
19 "name": "software rendering list", | 19 "name": "software rendering list", |
20 // Please update the version number whenever you change this file. | 20 // Please update the version number whenever you change this file. |
21 "version": "6.20", | 21 "version": "6.21", |
22 "entries": [ | 22 "entries": [ |
23 { | 23 { |
24 "id": 1, | 24 "id": 1, |
25 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac", | 25 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac", |
26 "webkit_bugs": [47028], | 26 "webkit_bugs": [47028], |
27 "os": { | 27 "os": { |
28 "type": "macosx" | 28 "type": "macosx" |
29 }, | 29 }, |
30 "vendor_id": "0x1002", | 30 "vendor_id": "0x1002", |
31 "device_id": ["0x7249"], | 31 "device_id": ["0x7249"], |
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
911 "id": 79, | 911 "id": 79, |
912 "description": "Disable GPU on all Windows versions prior to and including
Vista", | 912 "description": "Disable GPU on all Windows versions prior to and including
Vista", |
913 "cr_bugs": [315199], | 913 "cr_bugs": [315199], |
914 "os": { | 914 "os": { |
915 "type": "win", | 915 "type": "win", |
916 "version": { | 916 "version": { |
917 "op": "<=", | 917 "op": "<=", |
918 "value": "6.0" | 918 "value": "6.0" |
919 } | 919 } |
920 }, | 920 }, |
921 "exceptions": [ | |
922 { | |
923 "driver_vendor": { | |
924 "op": "=", | |
925 "value": "osmesa" | |
926 } | |
927 } | |
928 ], | |
929 "features": [ | 921 "features": [ |
930 "all" | 922 "all" |
931 ] | 923 ] |
932 }, | 924 }, |
933 { | 925 { |
934 "id": 80, | 926 "id": 80, |
935 "description": "Texture sharing should be disabled on all Windows machines
", | 927 "description": "Texture sharing should be disabled on all Windows machines
", |
936 "cr_bugs": [304369, 315215], | 928 "cr_bugs": [304369, 315215], |
937 "os": { | 929 "os": { |
938 "type": "win" | 930 "type": "win" |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1020 "features": [ | 1012 "features": [ |
1021 "accelerated_video_decode" | 1013 "accelerated_video_decode" |
1022 ] | 1014 ] |
1023 } | 1015 } |
1024 ] | 1016 ] |
1025 } | 1017 } |
1026 | 1018 |
1027 ); // LONG_STRING_CONST macro | 1019 ); // LONG_STRING_CONST macro |
1028 | 1020 |
1029 } // namespace gpu | 1021 } // namespace gpu |
OLD | NEW |