| 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 a certain driver bug exists in the current system. | 5 // Determines whether a certain driver bug exists in the current system. |
| 6 // The format of a valid gpu_driver_bug_list.json file is defined in | 6 // The format of a valid gpu_driver_bug_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 | 8 // The supported "features" can be found in |
| 9 // <gpu/config/gpu_driver_bug_workaround_type.h>. | 9 // <gpu/config/gpu_driver_bug_workaround_type.h>. |
| 10 | 10 |
| 11 #include "gpu/config/gpu_control_list_jsons.h" | 11 #include "gpu/config/gpu_control_list_jsons.h" |
| 12 | 12 |
| 13 #define LONG_STRING_CONST(...) #__VA_ARGS__ | 13 #define LONG_STRING_CONST(...) #__VA_ARGS__ |
| 14 | 14 |
| 15 namespace gpu { | 15 namespace gpu { |
| 16 | 16 |
| 17 const char kGpuDriverBugListJson[] = LONG_STRING_CONST( | 17 const char kGpuDriverBugListJson[] = LONG_STRING_CONST( |
| 18 | 18 |
| 19 { | 19 { |
| 20 "name": "gpu driver bug list", | 20 "name": "gpu driver bug list", |
| 21 // Please update the version number whenever you change this file. | 21 // Please update the version number whenever you change this file. |
| 22 "version": "4.12", | 22 "version": "5.0", |
| 23 "entries": [ | 23 "entries": [ |
| 24 { | 24 { |
| 25 "id": 1, | 25 "id": 1, |
| 26 "description": "Imagination driver doesn't like uploading lots of buffer d
ata constantly", | 26 "description": "Imagination driver doesn't like uploading lots of buffer d
ata constantly", |
| 27 "os": { | 27 "os": { |
| 28 "type": "android" | 28 "type": "android" |
| 29 }, | 29 }, |
| 30 "gl_vendor": { | 30 "gl_vendor": { |
| 31 "op": "beginwith", | 31 "op": "beginwith", |
| 32 "value": "Imagination" | 32 "value": "Imagination" |
| (...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 649 "id": 48, | 649 "id": 48, |
| 650 "description": "Force to use discrete GPU on older MacBookPro models", | 650 "description": "Force to use discrete GPU on older MacBookPro models", |
| 651 "cr_bugs": [113703], | 651 "cr_bugs": [113703], |
| 652 "os": { | 652 "os": { |
| 653 "type": "macosx", | 653 "type": "macosx", |
| 654 "version": { | 654 "version": { |
| 655 "op": ">=", | 655 "op": ">=", |
| 656 "value": "10.7" | 656 "value": "10.7" |
| 657 } | 657 } |
| 658 }, | 658 }, |
| 659 "machine_model": { | 659 "machine_model_name": ["MacBookPro"], |
| 660 "name": { | 660 "machine_model_version": { |
| 661 "op": "=", | 661 "op": "<", |
| 662 "value": "MacBookPro" | 662 "value": "8" |
| 663 }, | |
| 664 "version": { | |
| 665 "op": "<", | |
| 666 "value": "8" | |
| 667 } | |
| 668 }, | 663 }, |
| 669 "gpu_count": { | 664 "gpu_count": { |
| 670 "op": "=", | 665 "op": "=", |
| 671 "value": "2" | 666 "value": "2" |
| 672 }, | 667 }, |
| 673 "features": [ | 668 "features": [ |
| 674 "force_discrete_gpu" | 669 "force_discrete_gpu" |
| 675 ] | 670 ] |
| 676 }, | 671 }, |
| 677 { | 672 { |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 949 "features": [ | 944 "features": [ |
| 950 "disable_d3d11" | 945 "disable_d3d11" |
| 951 ] | 946 ] |
| 952 } | 947 } |
| 953 ] | 948 ] |
| 954 } | 949 } |
| 955 | 950 |
| 956 ); // LONG_STRING_CONST macro | 951 ); // LONG_STRING_CONST macro |
| 957 | 952 |
| 958 } // namespace gpu | 953 } // namespace gpu |
| OLD | NEW |