| 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 a certain driver bug exists in the current system. | 5 // Determines whether a certain driver bug exists in the current system. |
| 2 // A valid gpu_driver_bug_list.json file are in the format of | 6 // A valid gpu_driver_bug_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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 // | 66 // |
| 63 // STRING includes "op" and "value". "op" can be any of the following values: | 67 // STRING includes "op" and "value". "op" can be any of the following values: |
| 64 // "contains", "beginwith", "endwith", "=". "value" is a string. | 68 // "contains", "beginwith", "endwith", "=". "value" is a string. |
| 65 // | 69 // |
| 66 // FLOAT includes "op" "value", and "value2". "op" can be any of the | 70 // FLOAT includes "op" "value", and "value2". "op" can be any of the |
| 67 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is | 71 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is |
| 68 // only used if "op" is "between". "value" is used for all "op" values except | 72 // only used if "op" is "between". "value" is used for all "op" values except |
| 69 // "any". "value" and "value2" are valid float numbers. | 73 // "any". "value" and "value2" are valid float numbers. |
| 70 // INT is very much like FLOAT, except that the values need to be integers. | 74 // INT is very much like FLOAT, except that the values need to be integers. |
| 71 | 75 |
| 76 #include "content/browser/gpu/gpu_control_list_jsons.h" |
| 77 |
| 78 #define LONG_STRING_CONST(...) #__VA_ARGS__ |
| 79 |
| 80 namespace content { |
| 81 |
| 82 const char kGpuDriverBugListJson[] = LONG_STRING_CONST( |
| 83 |
| 72 { | 84 { |
| 73 "name": "gpu driver bug list", | 85 "name": "gpu driver bug list", |
| 74 // Please update the version number whenever you change this file. | 86 // Please update the version number whenever you change this file. |
| 75 "version": "1.3", | 87 "version": "1.3", |
| 76 "entries": [ | 88 "entries": [ |
| 77 { | 89 { |
| 78 "id": 1, | 90 "id": 1, |
| 79 "description": "Imagination driver doesn't like uploading lots of buffer d
ata constantly", | 91 "description": "Imagination driver doesn't like uploading lots of buffer d
ata constantly", |
| 80 "os": { | 92 "os": { |
| 81 "type": "android" | 93 "type": "android" |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 }, | 308 }, |
| 297 "vendor_id": "0x10de", | 309 "vendor_id": "0x10de", |
| 298 "device_id": ["0x0fd5"], | 310 "device_id": ["0x0fd5"], |
| 299 "multi_gpu_category": "any", | 311 "multi_gpu_category": "any", |
| 300 "features": [ | 312 "features": [ |
| 301 "disable_ext_draw_buffers" | 313 "disable_ext_draw_buffers" |
| 302 ] | 314 ] |
| 303 } | 315 } |
| 304 ] | 316 ] |
| 305 } | 317 } |
| 318 |
| 319 ); // LONG_STRING_CONST macro |
| 320 |
| 321 } // namespace content |
| 322 |
| OLD | NEW |