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": "6.1", | 22 "version": "6.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 913 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
946 "features": [ | 946 "features": [ |
947 "disable_d3d11" | 947 "disable_d3d11" |
948 ] | 948 ] |
949 }, | 949 }, |
950 ) // LONG_STRING_CONST macro | 950 ) // LONG_STRING_CONST macro |
951 // Avoid C2026 (string too big) error on VisualStudio. | 951 // Avoid C2026 (string too big) error on VisualStudio. |
952 LONG_STRING_CONST( | 952 LONG_STRING_CONST( |
953 { | 953 { |
954 "id": 74, | 954 "id": 74, |
955 "cr_bugs": [278606, 382686], | 955 "cr_bugs": [278606, 382686], |
956 "description": "Testing EGL sync fences is broken on most Qualcomm drivers ", | 956 "description": "Testing EGL sync fences was broken on most Qualcomm driver s", |
957 "os": { | 957 "os": { |
958 "type": "android" | 958 "type": "android", |
959 "version": { | |
960 "op": "<=", | |
961 "value": "4.4.3" | |
962 } | |
959 }, | 963 }, |
960 "gl_vendor": { | 964 "gl_vendor": { |
961 "op": "beginwith", | 965 "op": "beginwith", |
962 "value": "Qualcomm" | 966 "value": "Qualcomm" |
963 }, | 967 }, |
964 "features": [ | 968 "features": [ |
965 "disable_egl_khr_fence_sync" | 969 "disable_egl_khr_fence_sync" |
966 ] | 970 ] |
967 }, | 971 }, |
968 { | 972 { |
(...skipping 15 matching lines...) Expand all Loading... | |
984 "op": "contains", | 988 "op": "contains", |
985 "value": "Mali-400" | 989 "value": "Mali-400" |
986 }, | 990 }, |
987 "features": [ | 991 "features": [ |
988 "disable_multisampling" | 992 "disable_multisampling" |
989 ] | 993 ] |
990 }, | 994 }, |
991 { | 995 { |
992 "id": 76, | 996 "id": 76, |
993 "cr_bugs": [371530], | 997 "cr_bugs": [371530], |
994 "description": "Testing EGL sync fences is broken on IMG", | 998 "description": "Testing EGL sync fences is broken on IMG", |
Zhenyao Mo
2014/06/19 21:37:25
in the same spirit, shouldn't you also change the
no sievers
2014/06/19 21:40:37
Done.
| |
995 "os": { | 999 "os": { |
996 "type": "android" | 1000 "type": "android", |
1001 "version": { | |
1002 "op": "<=", | |
1003 "value": "4.4.3" | |
1004 } | |
997 }, | 1005 }, |
998 "gl_vendor": { | 1006 "gl_vendor": { |
999 "op": "beginwith", | 1007 "op": "beginwith", |
1000 "value": "Imagination Technologies" | 1008 "value": "Imagination Technologies" |
1001 }, | 1009 }, |
1002 "features": [ | 1010 "features": [ |
1003 "disable_egl_khr_fence_sync" | 1011 "disable_egl_khr_fence_sync" |
1004 ] | 1012 ] |
1005 }, | 1013 }, |
1006 { | 1014 { |
1007 "id": 77, | 1015 "id": 77, |
1008 "cr_bugs": [378691, 373360, 371530], | 1016 "cr_bugs": [378691, 373360, 371530], |
1009 "description": "Testing fences is broken on Mali-400 MP drivers", | 1017 "description": "Testing fences is broken on Mali-400 MP drivers", |
1010 "os": { | 1018 "os": { |
1011 "type": "android" | 1019 "type": "android", |
1020 "version": { | |
1021 "op": "<=", | |
1022 "value": "4.4.3" | |
1023 } | |
1012 }, | 1024 }, |
1013 "gl_vendor": { | 1025 "gl_vendor": { |
1014 "op": "beginwith", | 1026 "op": "beginwith", |
1015 "value": "ARM" | 1027 "value": "ARM" |
1016 }, | 1028 }, |
1017 "gl_renderer": { | 1029 "gl_renderer": { |
1018 "op": "beginwith", | 1030 "op": "beginwith", |
1019 "value": "Mali-400 MP" | 1031 "value": "Mali-400 MP" |
1020 }, | 1032 }, |
1021 "features": [ | 1033 "features": [ |
1022 "disable_egl_khr_fence_sync" | 1034 "disable_egl_khr_fence_sync" |
1023 ] | 1035 ] |
1024 }, | 1036 }, |
1025 { | 1037 { |
1026 "id": 78, | 1038 "id": 78, |
1027 "cr_bugs": [378691, 373360, 371530], | 1039 "cr_bugs": [378691, 373360, 371530], |
1028 "description": "Testing fences is broken on Broadcom drivers", | 1040 "description": "Testing fences is broken on Broadcom drivers", |
1029 "os": { | 1041 "os": { |
1030 "type": "android" | 1042 "type": "android", |
1043 "version": { | |
1044 "op": "<=", | |
1045 "value": "4.4.3" | |
1046 } | |
1031 }, | 1047 }, |
1032 "gl_vendor": { | 1048 "gl_vendor": { |
1033 "op": "beginwith", | 1049 "op": "beginwith", |
1034 "value": "Broadcom" | 1050 "value": "Broadcom" |
1035 }, | 1051 }, |
1036 "features": [ | 1052 "features": [ |
1037 "disable_egl_khr_fence_sync" | 1053 "disable_egl_khr_fence_sync" |
1038 ] | 1054 ] |
1039 }, | 1055 }, |
1040 { | 1056 { |
1041 "id": 79, | 1057 "id": 79, |
1042 "cr_bugs": [371530], | 1058 "cr_bugs": [371530], |
1043 "description": "Testing ARB sync fences is broken on MacOSX", | 1059 "description": "Testing ARB sync fences is broken on MacOSX", |
1044 "os": { | 1060 "os": { |
1045 "type": "macosx" | 1061 "type": "macosx" |
1046 }, | 1062 }, |
1047 "features": [ | 1063 "features": [ |
1048 "disable_arb_sync" | 1064 "disable_arb_sync" |
1049 ] | 1065 ] |
1050 } | 1066 } |
1051 ] | 1067 ] |
1052 } | 1068 } |
1053 | 1069 |
1054 ); // LONG_STRING_CONST macro | 1070 ); // LONG_STRING_CONST macro |
1055 | 1071 |
1056 } // namespace gpu | 1072 } // namespace gpu |
OLD | NEW |