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

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

Issue 496503002: Delete obsolete GPU rasterization content whitelist code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « gpu/config/gpu_feature_type.h ('k') | 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.3", 21 "version": "9.4",
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 1046 matching lines...) Expand 10 before | Expand all | Expand 10 after
1078 "op": ">=", 1078 "op": ">=",
1079 "value": "3.0" 1079 "value": "3.0"
1080 } 1080 }
1081 } 1081 }
1082 ], 1082 ],
1083 "features": [ 1083 "features": [
1084 "gpu_rasterization" 1084 "gpu_rasterization"
1085 ] 1085 ]
1086 }, 1086 },
1087 { 1087 {
1088 "id": 98,
1089 "description": "Whitelist for using GPU rasterization for a broader set of content",
1090 "cr_bugs": [399306],
1091 "exceptions": [
1092 {
1093 "os": {
1094 "type": "android",
1095 "version": {
1096 "op": ">=",
1097 "value": "4.4.99"
1098 }
1099 }
1100 }
1101 ],
1102 "features": [
1103 "gpu_rasterization_expanded_heuristics"
1104 ]
1105 },
1106 {
1107 "id": 99, 1088 "id": 99,
1108 "description": "GPU rasterization is blacklisted on non-Android", 1089 "description": "GPU rasterization is blacklisted on non-Android",
1109 "cr_bugs": [362779], 1090 "cr_bugs": [362779],
1110 "exceptions": [ 1091 "exceptions": [
1111 { 1092 {
1112 "os": { 1093 "os": {
1113 "type": "android" 1094 "type": "android"
1114 } 1095 }
1115 } 1096 }
1116 ], 1097 ],
1117 "features": [ 1098 "features": [
1118 "gpu_rasterization" 1099 "gpu_rasterization"
1119 ] 1100 ]
1120 } 1101 }
1121 ] 1102 ]
1122 } 1103 }
1123 1104
1124 ); // LONG_STRING_CONST macro 1105 ); // LONG_STRING_CONST macro
1125 1106
1126 } // namespace gpu 1107 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/config/gpu_feature_type.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698