| 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 // 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 |
| 7 // { | 7 // { |
| 8 // "version": "x.y", | 8 // "version": "x.y", |
| 9 // "entries": [ | 9 // "entries": [ |
| 10 // { // entry 1 | 10 // { // entry 1 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 // This can not be used in exceptions. | 60 // This can not be used in exceptions. |
| 61 // | 61 // |
| 62 // VERSION includes "op", "style", "number", and "number2". "op" can be any of | 62 // VERSION includes "op", "style", "number", and "number2". "op" can be any of |
| 63 // the following values: "=", "<", "<=", ">", ">=", "any", "between". "style" | 63 // the following values: "=", "<", "<=", ">", ">=", "any", "between". "style" |
| 64 // is optional and can be "lexical" or "numerical"; if it's not specified, it | 64 // is optional and can be "lexical" or "numerical"; if it's not specified, it |
| 65 // defaults to "numerical". "number2" is only used if "op" is "between". | 65 // defaults to "numerical". "number2" is only used if "op" is "between". |
| 66 // "between" is "number <= * <= number2". | 66 // "between" is "number <= * <= number2". |
| 67 // "number" is used for all "op" values except "any". "number" and "number2" | 67 // "number" is used for all "op" values except "any". "number" and "number2" |
| 68 // are in the format of x, x.x, x.x.x, etc. | 68 // are in the format of x, x.x, x.x.x, etc. |
| 69 // Only "driver_version" supports lexical style if the format is major.minor; | 69 // Only "driver_version" supports lexical style if the format is major.minor; |
| 70 // in that case, major is still numerical, but minor is lexical. | 70 // in that case, major is still numerical, but minor is lexical. |
| 71 // | 71 // |
| 72 // STRING includes "op" and "value". "op" can be any of the following values: | 72 // STRING includes "op" and "value". "op" can be any of the following values: |
| 73 // "contains", "beginwith", "endwith", "=". "value" is a string. | 73 // "contains", "beginwith", "endwith", "=". "value" is a string. |
| 74 // | 74 // |
| 75 // FLOAT includes "op" "value", and "value2". "op" can be any of the | 75 // FLOAT includes "op" "value", and "value2". "op" can be any of the |
| 76 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is | 76 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is |
| 77 // only used if "op" is "between". "value" is used for all "op" values except | 77 // only used if "op" is "between". "value" is used for all "op" values except |
| 78 // "any". "value" and "value2" are valid float numbers. | 78 // "any". "value" and "value2" are valid float numbers. |
| 79 // INT is very much like FLOAT, except that the values need to be integers. | 79 // INT is very much like FLOAT, except that the values need to be integers. |
| 80 | 80 |
| 81 #include "gpu/config/gpu_control_list_jsons.h" | 81 #include "gpu/config/gpu_control_list_jsons.h" |
| 82 | 82 |
| 83 #define LONG_STRING_CONST(...) #__VA_ARGS__ | 83 #define LONG_STRING_CONST(...) #__VA_ARGS__ |
| 84 | 84 |
| 85 namespace gpu { | 85 namespace gpu { |
| 86 | 86 |
| 87 const char kSoftwareRenderingListJson[] = LONG_STRING_CONST( | 87 const char kSoftwareRenderingListJson[] = LONG_STRING_CONST( |
| 88 | 88 |
| 89 { | 89 { |
| 90 "name": "software rendering list", | 90 "name": "software rendering list", |
| 91 // Please update the version number whenever you change this file. | 91 // Please update the version number whenever you change this file. |
| 92 "version": "6.9", | 92 "version": "6.10", |
| 93 "entries": [ | 93 "entries": [ |
| 94 { | 94 { |
| 95 "id": 1, | 95 "id": 1, |
| 96 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac."
, | 96 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac."
, |
| 97 "webkit_bugs": [47028], | 97 "webkit_bugs": [47028], |
| 98 "os": { | 98 "os": { |
| 99 "type": "macosx" | 99 "type": "macosx" |
| 100 }, | 100 }, |
| 101 "vendor_id": "0x1002", | 101 "vendor_id": "0x1002", |
| 102 "device_id": ["0x7249"], | 102 "device_id": ["0x7249"], |
| (...skipping 1067 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1170 "version": { | 1170 "version": { |
| 1171 "op": "=", | 1171 "op": "=", |
| 1172 "number": "5" | 1172 "number": "5" |
| 1173 } | 1173 } |
| 1174 }, | 1174 }, |
| 1175 "vendor_id": "0x10de", | 1175 "vendor_id": "0x10de", |
| 1176 "device_id": ["0x0429", "0x042b"], | 1176 "device_id": ["0x0429", "0x042b"], |
| 1177 "features": [ | 1177 "features": [ |
| 1178 "multisampling" | 1178 "multisampling" |
| 1179 ] | 1179 ] |
| 1180 }, |
| 1181 { |
| 1182 "id": 78, |
| 1183 "description": "Disable force compositing mode on all Windows versions pri
or to Vista.", |
| 1184 "cr_bugs": [273920], |
| 1185 "os": { |
| 1186 "type": "win", |
| 1187 "version": { |
| 1188 "op": "<", |
| 1189 "number": "6.0" |
| 1190 } |
| 1191 }, |
| 1192 "features": [ |
| 1193 "force_compositing_mode" |
| 1194 ] |
| 1180 } | 1195 } |
| 1181 ] | 1196 ] |
| 1182 } | 1197 } |
| 1183 | 1198 |
| 1184 ); // LONG_STRING_CONST macro | 1199 ); // LONG_STRING_CONST macro |
| 1185 | 1200 |
| 1186 } // namespace gpu | 1201 } // namespace gpu |
| 1187 | |
| OLD | NEW |