Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Side by Side Diff: gpu/config/software_rendering_list_json.cc

Issue 253883006: Missing machine model info should be a no match for GPU blacklist (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gpu/config/gpu_control_list_entry_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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": "8.0", 21 "version": "8.1",
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 1088 matching lines...) Expand 10 before | Expand all | Expand 10 after
1120 "features": [ 1120 "features": [
1121 "all" 1121 "all"
1122 ] 1122 ]
1123 }, 1123 },
1124 { 1124 {
1125 "id": 96, 1125 "id": 96,
1126 "description": "GPU rasterization is whitelisted on N4, N5, N7 and Moto X" , 1126 "description": "GPU rasterization is whitelisted on N4, N5, N7 and Moto X" ,
1127 "cr_bugs": [362779], 1127 "cr_bugs": [362779],
1128 "exceptions": [ 1128 "exceptions": [
1129 { 1129 {
1130 "os": {
1131 "type": "android"
1132 },
1130 "machine_model_name": ["Nexus 4", "Nexus 5", "Nexus 7", 1133 "machine_model_name": ["Nexus 4", "Nexus 5", "Nexus 7",
1131 "XT1049", "XT1050", "XT1052", "XT1053", 1134 "XT1049", "XT1050", "XT1052", "XT1053",
1132 "XT1055", "XT1056", "XT1058", "XT1060"] 1135 "XT1055", "XT1056", "XT1058", "XT1060"]
1133 } 1136 }
1134 ], 1137 ],
1135 "features": [ 1138 "features": [
1136 "gpu_rasterization" 1139 "gpu_rasterization"
1137 ] 1140 ]
1138 } 1141 }
1139 ] 1142 ]
1140 } 1143 }
1141 1144
1142 ); // LONG_STRING_CONST macro 1145 ); // LONG_STRING_CONST macro
1143 1146
1144 } // namespace gpu 1147 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/config/gpu_control_list_entry_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698