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

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

Issue 895673004: Revert of Unify GPU raster and accelerated canvas blacklists on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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.17", 21 "version": "9.16",
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 {
624 "id": 64, 640 "id": 64,
625 "description": "Hardware video decode is only supported in win7+", 641 "description": "Hardware video decode is only supported in win7+",
626 "cr_bugs": [159458], 642 "cr_bugs": [159458],
627 "os": { 643 "os": {
628 "type": "win", 644 "type": "win",
629 "version": { 645 "version": {
630 "op": "<", 646 "op": "<",
631 "value": "6.1" 647 "value": "6.1"
632 } 648 }
633 }, 649 },
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
1012 "driver_version": { 1028 "driver_version": {
1013 "op": "=", 1029 "op": "=",
1014 "value": "13.101" 1030 "value": "13.101"
1015 }, 1031 },
1016 "features": [ 1032 "features": [
1017 "all" 1033 "all"
1018 ] 1034 ]
1019 }, 1035 },
1020 { 1036 {
1021 "id": 96, 1037 "id": 96,
1022 "description": "Blacklist GPU raster/canvas on all except known good GPUs and newer Android releases", 1038 "description": "GPU rasterization whitelist",
1023 "cr_bugs": [362779,424970], 1039 "cr_bugs": [362779,424970],
1024 "os": { 1040 "os": {
1025 "type": "android" 1041 "type": "android"
1026 }, 1042 },
1027 "exceptions": [ 1043 "exceptions": [
1028 { 1044 {
1029 "os": { 1045 "os": {
1030 "type": "android" 1046 "type": "android"
1031 }, 1047 },
1032 "gl_renderer": "Adreno (TM) 3.*" 1048 "gl_renderer": "Adreno (TM) 3.*"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1067 } 1083 }
1068 }, 1084 },
1069 "gl_type": "gles", 1085 "gl_type": "gles",
1070 "gl_version": { 1086 "gl_version": {
1071 "op": ">=", 1087 "op": ">=",
1072 "value": "3.0" 1088 "value": "3.0"
1073 } 1089 }
1074 } 1090 }
1075 ], 1091 ],
1076 "features": [ 1092 "features": [
1077 "gpu_rasterization", 1093 "gpu_rasterization"
1078 "accelerated_2d_canvas"
1079 ] 1094 ]
1080 }, 1095 },
1081 { 1096 {
1082 "id": 99, 1097 "id": 99,
1083 "description": "GPU rasterization is blacklisted on non-Android", 1098 "description": "GPU rasterization is blacklisted on non-Android",
1084 "cr_bugs": [362779], 1099 "cr_bugs": [362779],
1085 "exceptions": [ 1100 "exceptions": [
1086 { 1101 {
1087 "os": { 1102 "os": {
1088 "type": "android" 1103 "type": "android"
1089 } 1104 }
1090 } 1105 }
1091 ], 1106 ],
1092 "features": [ 1107 "features": [
1093 "gpu_rasterization" 1108 "gpu_rasterization"
1094 ] 1109 ]
1095 }, 1110 },
1096 { 1111 {
1097 "id": 100, 1112 "id": 100,
1098 "description": "GPU rasterization and canvas is blacklisted on Nexus 10", 1113 "description": "GPU rasterization is blacklisted on Nexus 10",
1099 "cr_bugs": [407144], 1114 "cr_bugs": [407144],
1100 "gl_renderer": ".*Mali-T604.*", 1115 "gl_renderer": ".*Mali-T604.*",
1101 "features": [ 1116 "features": [
1102 "gpu_rasterization", 1117 "gpu_rasterization"
1103 "accelerated_2d_canvas"
1104 ] 1118 ]
1105 }, 1119 },
1106 { 1120 {
1107 "id": 101, 1121 "id": 101,
1108 "description": "Samsung Galaxy Tab is too buggy to use for video decoding" , 1122 "description": "Samsung Galaxy Tab is too buggy to use for video decoding" ,
1109 "cr_bugs": [408353], 1123 "cr_bugs": [408353],
1110 "os": { 1124 "os": {
1111 "type": "android", 1125 "type": "android",
1112 "version": { 1126 "version": {
1113 "op": "<", 1127 "op": "<",
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
1165 "accelerated_2d_canvas", 1179 "accelerated_2d_canvas",
1166 "gpu_rasterization" 1180 "gpu_rasterization"
1167 ] 1181 ]
1168 } 1182 }
1169 ] 1183 ]
1170 } 1184 }
1171 1185
1172 ); // LONG_STRING_CONST macro 1186 ); // LONG_STRING_CONST macro
1173 1187
1174 } // namespace gpu 1188 } // 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