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.2", | 22 "version": "6.3", |
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 918 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 was broken on most Qualcomm driver
s", | 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": { | 959 "version": { |
960 "op": "<=", | 960 "op": "<=", |
961 "value": "4.4.3" | 961 "value": "4.4.4" |
962 } | 962 } |
963 }, | 963 }, |
964 "gl_vendor": { | 964 "gl_vendor": { |
965 "op": "beginwith", | 965 "op": "beginwith", |
966 "value": "Qualcomm" | 966 "value": "Qualcomm" |
967 }, | 967 }, |
968 "features": [ | 968 "features": [ |
969 "disable_egl_khr_fence_sync" | 969 "disable_egl_khr_fence_sync" |
970 ] | 970 ] |
971 }, | 971 }, |
(...skipping 21 matching lines...) Expand all Loading... |
993 ] | 993 ] |
994 }, | 994 }, |
995 { | 995 { |
996 "id": 76, | 996 "id": 76, |
997 "cr_bugs": [371530], | 997 "cr_bugs": [371530], |
998 "description": "Testing EGL sync fences was broken on IMG", | 998 "description": "Testing EGL sync fences was broken on IMG", |
999 "os": { | 999 "os": { |
1000 "type": "android", | 1000 "type": "android", |
1001 "version": { | 1001 "version": { |
1002 "op": "<=", | 1002 "op": "<=", |
1003 "value": "4.4.3" | 1003 "value": "4.4.4" |
1004 } | 1004 } |
1005 }, | 1005 }, |
1006 "gl_vendor": { | 1006 "gl_vendor": { |
1007 "op": "beginwith", | 1007 "op": "beginwith", |
1008 "value": "Imagination Technologies" | 1008 "value": "Imagination Technologies" |
1009 }, | 1009 }, |
1010 "features": [ | 1010 "features": [ |
1011 "disable_egl_khr_fence_sync" | 1011 "disable_egl_khr_fence_sync" |
1012 ] | 1012 ] |
1013 }, | 1013 }, |
1014 { | 1014 { |
1015 "id": 77, | 1015 "id": 77, |
1016 "cr_bugs": [378691, 373360, 371530], | 1016 "cr_bugs": [378691, 373360, 371530], |
1017 "description": "Testing fences was broken on Mali-400 MP drivers", | 1017 "description": "Testing fences was broken on Mali-400 MP drivers", |
1018 "os": { | 1018 "os": { |
1019 "type": "android", | 1019 "type": "android", |
1020 "version": { | 1020 "version": { |
1021 "op": "<=", | 1021 "op": "<=", |
1022 "value": "4.4.3" | 1022 "value": "4.4.4" |
1023 } | 1023 } |
1024 }, | 1024 }, |
1025 "gl_vendor": { | 1025 "gl_vendor": { |
1026 "op": "beginwith", | 1026 "op": "beginwith", |
1027 "value": "ARM" | 1027 "value": "ARM" |
1028 }, | 1028 }, |
1029 "gl_renderer": { | 1029 "gl_renderer": { |
1030 "op": "beginwith", | 1030 "op": "beginwith", |
1031 "value": "Mali-400 MP" | 1031 "value": "Mali-400 MP" |
1032 }, | 1032 }, |
1033 "features": [ | 1033 "features": [ |
1034 "disable_egl_khr_fence_sync" | 1034 "disable_egl_khr_fence_sync" |
1035 ] | 1035 ] |
1036 }, | 1036 }, |
1037 { | 1037 { |
1038 "id": 78, | 1038 "id": 78, |
1039 "cr_bugs": [378691, 373360, 371530], | 1039 "cr_bugs": [378691, 373360, 371530], |
1040 "description": "Testing fences was broken on Broadcom drivers", | 1040 "description": "Testing fences was broken on Broadcom drivers", |
1041 "os": { | 1041 "os": { |
1042 "type": "android", | 1042 "type": "android", |
1043 "version": { | 1043 "version": { |
1044 "op": "<=", | 1044 "op": "<=", |
1045 "value": "4.4.3" | 1045 "value": "4.4.4" |
1046 } | 1046 } |
1047 }, | 1047 }, |
1048 "gl_vendor": { | 1048 "gl_vendor": { |
1049 "op": "beginwith", | 1049 "op": "beginwith", |
1050 "value": "Broadcom" | 1050 "value": "Broadcom" |
1051 }, | 1051 }, |
1052 "features": [ | 1052 "features": [ |
1053 "disable_egl_khr_fence_sync" | 1053 "disable_egl_khr_fence_sync" |
1054 ] | 1054 ] |
1055 }, | 1055 }, |
1056 { | 1056 { |
1057 "id": 79, | 1057 "id": 79, |
1058 "cr_bugs": [371530], | 1058 "cr_bugs": [371530], |
1059 "description": "Testing ARB sync fences is broken on MacOSX", | 1059 "description": "Testing ARB sync fences is broken on MacOSX", |
1060 "os": { | 1060 "os": { |
1061 "type": "macosx" | 1061 "type": "macosx" |
1062 }, | 1062 }, |
1063 "features": [ | 1063 "features": [ |
1064 "disable_arb_sync" | 1064 "disable_arb_sync" |
1065 ] | 1065 ] |
1066 } | 1066 } |
1067 ] | 1067 ] |
1068 } | 1068 } |
1069 | 1069 |
1070 ); // LONG_STRING_CONST macro | 1070 ); // LONG_STRING_CONST macro |
1071 | 1071 |
1072 } // namespace gpu | 1072 } // namespace gpu |
OLD | NEW |