OLD | NEW |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
1 // Determines whether certain gpu-related features are blacklisted or not. | 5 // Determines whether certain gpu-related features are blacklisted or not. |
2 // A valid software_rendering_list.json file are in the format of | 6 // A valid software_rendering_list.json file are in the format of |
3 // { | 7 // { |
4 // "version": "x.y", | 8 // "version": "x.y", |
5 // "entries": [ | 9 // "entries": [ |
6 // { // entry 1 | 10 // { // entry 1 |
7 // }, | 11 // }, |
8 // ... | 12 // ... |
9 // { // entry n | 13 // { // entry n |
10 // } | 14 // } |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 // | 69 // |
66 // STRING includes "op" and "value". "op" can be any of the following values: | 70 // STRING includes "op" and "value". "op" can be any of the following values: |
67 // "contains", "beginwith", "endwith", "=". "value" is a string. | 71 // "contains", "beginwith", "endwith", "=". "value" is a string. |
68 // | 72 // |
69 // FLOAT includes "op" "value", and "value2". "op" can be any of the | 73 // FLOAT includes "op" "value", and "value2". "op" can be any of the |
70 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is | 74 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is |
71 // only used if "op" is "between". "value" is used for all "op" values except | 75 // only used if "op" is "between". "value" is used for all "op" values except |
72 // "any". "value" and "value2" are valid float numbers. | 76 // "any". "value" and "value2" are valid float numbers. |
73 // INT is very much like FLOAT, except that the values need to be integers. | 77 // INT is very much like FLOAT, except that the values need to be integers. |
74 | 78 |
| 79 #include "content/browser/gpu/gpu_control_list_jsons.h" |
| 80 |
| 81 #define LONG_STRING_CONST(...) #__VA_ARGS__ |
| 82 |
| 83 namespace content { |
| 84 |
| 85 const char kSoftwareRenderingListJson[] = LONG_STRING_CONST( |
| 86 |
75 { | 87 { |
76 "name": "software rendering list", | 88 "name": "software rendering list", |
77 // Please update the version number whenever you change this file. | 89 // Please update the version number whenever you change this file. |
78 "version": "5.3", | 90 "version": "5.3", |
79 "entries": [ | 91 "entries": [ |
80 { | 92 { |
81 "id": 1, | 93 "id": 1, |
82 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac."
, | 94 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac."
, |
83 "webkit_bugs": [47028], | 95 "webkit_bugs": [47028], |
84 "os": { | 96 "os": { |
(...skipping 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1089 } | 1101 } |
1090 }, | 1102 }, |
1091 "vendor_id": "0x10de", | 1103 "vendor_id": "0x10de", |
1092 "device_id": ["0x0a29", "0x0861", "0x0863"], | 1104 "device_id": ["0x0a29", "0x0861", "0x0863"], |
1093 "features": [ | 1105 "features": [ |
1094 "webgl" | 1106 "webgl" |
1095 ] | 1107 ] |
1096 } | 1108 } |
1097 ] | 1109 ] |
1098 } | 1110 } |
| 1111 |
| 1112 ); // LONG_STRING_CONST macro |
| 1113 |
| 1114 } // namespace content |
| 1115 |
OLD | NEW |