Chromium Code Reviews| 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.5", | 92 "version": "6.6", |
| 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 1050 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1153 { | 1153 { |
| 1154 "gl_reset_notification_strategy": { | 1154 "gl_reset_notification_strategy": { |
| 1155 "op": "=", | 1155 "op": "=", |
| 1156 "value": "33362" | 1156 "value": "33362" |
| 1157 } | 1157 } |
| 1158 } | 1158 } |
| 1159 ], | 1159 ], |
| 1160 "features": [ | 1160 "features": [ |
| 1161 "webgl" | 1161 "webgl" |
| 1162 ] | 1162 ] |
| 1163 }, | |
| 1164 { | |
| 1165 "id": 77, | |
|
Zhenyao Mo
2013/08/15 20:23:37
It would be better if you have a bug associated wi
gab
2013/08/15 21:03:19
Done.
| |
| 1166 "description": "Disable force compositing mode on all Windows versions pri or to Vista.", | |
| 1167 "os": { | |
| 1168 "type": "win", | |
| 1169 "version": { | |
| 1170 "op": "<", | |
| 1171 "number": "6.0" | |
| 1172 } | |
| 1173 }, | |
| 1174 "features": [ | |
| 1175 "force_compositing_mode" | |
| 1176 ] | |
| 1163 } | 1177 } |
| 1164 ] | 1178 ] |
| 1165 } | 1179 } |
| 1166 | 1180 |
| 1167 ); // LONG_STRING_CONST macro | 1181 ); // LONG_STRING_CONST macro |
| 1168 | 1182 |
| 1169 } // namespace gpu | 1183 } // namespace gpu |
| 1170 | |
| OLD | NEW |