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": "5.1", | 22 "version": "5.2", |
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 892 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
925 "type": "win" | 925 "type": "win" |
926 }, | 926 }, |
927 "vendor_id": "0x10de", | 927 "vendor_id": "0x10de", |
928 "driver_version": { | 928 "driver_version": { |
929 "op": "<=", | 929 "op": "<=", |
930 "value": "8.17.12.6973" | 930 "value": "8.17.12.6973" |
931 }, | 931 }, |
932 "features": [ | 932 "features": [ |
933 "disable_d3d11" | 933 "disable_d3d11" |
934 ] | 934 ] |
935 }, | |
936 { | |
937 "id": 71, | |
938 "description": "Vivante's support of OES_standard_derivatives is buggy", | |
939 "cr_bugs": [368005], | |
940 "os": { | |
941 "type": "android" | |
942 }, | |
943 "gl_extensions": { | |
944 "op": "contains", | |
945 "value": "GL_VIV_shader_binary" | |
Ken Russell (switch to Gerrit)
2014/05/02 23:26:12
Is this really the best way to detect these GPUs?
Zhenyao Mo
2014/05/02 23:46:00
Yes, sometimes the "Vivante" isn't in the GL_VENDO
| |
946 }, | |
947 "features": [ | |
948 "disable_oes_standard_derivatives" | |
949 ] | |
935 } | 950 } |
936 ] | 951 ] |
937 } | 952 } |
938 | 953 |
939 ); // LONG_STRING_CONST macro | 954 ); // LONG_STRING_CONST macro |
940 | 955 |
941 } // namespace gpu | 956 } // namespace gpu |
OLD | NEW |