Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Side by Side Diff: gpu/config/software_rendering_list_json.cc

Issue 877343008: Unify GPU raster and accelerated canvas blacklists on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update version number Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 certain gpu-related features are blacklisted or not. 5 // Determines whether certain gpu-related features are blacklisted or not.
6 // The format of a valid software_rendering_list.json file is defined in 6 // The format of a valid software_rendering_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 <gpu/config/gpu_blacklist.cc>. 8 // The supported "features" can be found in <gpu/config/gpu_blacklist.cc>.
9 9
10 #include "gpu/config/gpu_control_list_jsons.h" 10 #include "gpu/config/gpu_control_list_jsons.h"
11 11
12 #define LONG_STRING_CONST(...) #__VA_ARGS__ 12 #define LONG_STRING_CONST(...) #__VA_ARGS__
13 13
14 namespace gpu { 14 namespace gpu {
15 15
16 const char kSoftwareRenderingListJson[] = LONG_STRING_CONST( 16 const char kSoftwareRenderingListJson[] = LONG_STRING_CONST(
17 17
18 { 18 {
19 "name": "software rendering list", 19 "name": "software rendering list",
20 // Please update the version number whenever you change this file. 20 // Please update the version number whenever you change this file.
21 "version": "9.16", 21 "version": "9.17",
22 "entries": [ 22 "entries": [
23 { 23 {
24 "id": 1, 24 "id": 1,
25 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac", 25 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac",
26 "webkit_bugs": [47028], 26 "webkit_bugs": [47028],
27 "os": { 27 "os": {
28 "type": "macosx" 28 "type": "macosx"
29 }, 29 },
30 "vendor_id": "0x1002", 30 "vendor_id": "0x1002",
31 "device_id": ["0x7249"], 31 "device_id": ["0x7249"],
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 "vendor_id": "0x10de", 614 "vendor_id": "0x10de",
615 "driver_version": { 615 "driver_version": {
616 "op": "=", 616 "op": "=",
617 "value": "8.15.11.8593" 617 "value": "8.15.11.8593"
618 }, 618 },
619 "features": [ 619 "features": [
620 "accelerated_video_decode" 620 "accelerated_video_decode"
621 ] 621 ]
622 }, 622 },
623 { 623 {
624 "id": 62,
625 "description": "Accelerated 2D canvas buggy on old Qualcomm Adreno",
626 "cr_bugs": [161575],
627 "os": {
628 "type": "android"
629 },
630 "gl_renderer": ".*Adreno.*",
631 "driver_version": {
632 "op": "<",
633 "value": "4.1"
634 },
635 "features": [
636 "accelerated_2d_canvas"
637 ]
638 },
639 {
640 "id": 64, 624 "id": 64,
641 "description": "Hardware video decode is only supported in win7+", 625 "description": "Hardware video decode is only supported in win7+",
642 "cr_bugs": [159458], 626 "cr_bugs": [159458],
643 "os": { 627 "os": {
644 "type": "win", 628 "type": "win",
645 "version": { 629 "version": {
646 "op": "<", 630 "op": "<",
647 "value": "6.1" 631 "value": "6.1"
648 } 632 }
649 }, 633 },
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
1028 "driver_version": { 1012 "driver_version": {
1029 "op": "=", 1013 "op": "=",
1030 "value": "13.101" 1014 "value": "13.101"
1031 }, 1015 },
1032 "features": [ 1016 "features": [
1033 "all" 1017 "all"
1034 ] 1018 ]
1035 }, 1019 },
1036 { 1020 {
1037 "id": 96, 1021 "id": 96,
1038 "description": "GPU rasterization whitelist", 1022 "description": "Blacklist GPU raster/canvas on all except known good GPUs and newer Android releases",
1039 "cr_bugs": [362779,424970], 1023 "cr_bugs": [362779,424970],
1040 "os": { 1024 "os": {
1041 "type": "android" 1025 "type": "android"
1042 }, 1026 },
1043 "exceptions": [ 1027 "exceptions": [
1044 { 1028 {
1045 "os": { 1029 "os": {
1046 "type": "android" 1030 "type": "android"
1047 }, 1031 },
1048 "gl_renderer": "Adreno (TM) 3.*" 1032 "gl_renderer": "Adreno (TM) 3.*"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1083 } 1067 }
1084 }, 1068 },
1085 "gl_type": "gles", 1069 "gl_type": "gles",
1086 "gl_version": { 1070 "gl_version": {
1087 "op": ">=", 1071 "op": ">=",
1088 "value": "3.0" 1072 "value": "3.0"
1089 } 1073 }
1090 } 1074 }
1091 ], 1075 ],
1092 "features": [ 1076 "features": [
1093 "gpu_rasterization" 1077 "gpu_rasterization",
1078 "accelerated_2d_canvas"
1094 ] 1079 ]
1095 }, 1080 },
1096 { 1081 {
1097 "id": 99, 1082 "id": 99,
1098 "description": "GPU rasterization is blacklisted on non-Android", 1083 "description": "GPU rasterization is blacklisted on non-Android",
1099 "cr_bugs": [362779], 1084 "cr_bugs": [362779],
1100 "exceptions": [ 1085 "exceptions": [
1101 { 1086 {
1102 "os": { 1087 "os": {
1103 "type": "android" 1088 "type": "android"
1104 } 1089 }
1105 } 1090 }
1106 ], 1091 ],
1107 "features": [ 1092 "features": [
1108 "gpu_rasterization" 1093 "gpu_rasterization"
1109 ] 1094 ]
1110 }, 1095 },
1111 { 1096 {
1112 "id": 100, 1097 "id": 100,
1113 "description": "GPU rasterization is blacklisted on Nexus 10", 1098 "description": "GPU rasterization is blacklisted on Nexus 10",
Zhenyao Mo 2015/01/29 22:42:50 rasterization "and canvas"
aelias_OOO_until_Jul13 2015/01/29 22:44:27 Done.
1114 "cr_bugs": [407144], 1099 "cr_bugs": [407144],
1115 "gl_renderer": ".*Mali-T604.*", 1100 "gl_renderer": ".*Mali-T604.*",
1116 "features": [ 1101 "features": [
1117 "gpu_rasterization" 1102 "gpu_rasterization",
1103 "accelerated_2d_canvas"
1118 ] 1104 ]
1119 }, 1105 },
1120 { 1106 {
1121 "id": 101, 1107 "id": 101,
1122 "description": "Samsung Galaxy Tab is too buggy to use for video decoding" , 1108 "description": "Samsung Galaxy Tab is too buggy to use for video decoding" ,
1123 "cr_bugs": [408353], 1109 "cr_bugs": [408353],
1124 "os": { 1110 "os": {
1125 "type": "android", 1111 "type": "android",
1126 "version": { 1112 "version": {
1127 "op": "<", 1113 "op": "<",
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
1179 "accelerated_2d_canvas", 1165 "accelerated_2d_canvas",
1180 "gpu_rasterization" 1166 "gpu_rasterization"
1181 ] 1167 ]
1182 } 1168 }
1183 ] 1169 ]
1184 } 1170 }
1185 1171
1186 ); // LONG_STRING_CONST macro 1172 ); // LONG_STRING_CONST macro
1187 1173
1188 } // namespace gpu 1174 } // namespace gpu
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698