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

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

Issue 241793002: Fix machine_model behaviors in gpu blacklist. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 8 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
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": "7.6", 21 "version": "8.0",
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 910 matching lines...) Expand 10 before | Expand all | Expand 10 after
942 "id": 83, 942 "id": 83,
943 "description": "Samsung Gaxlaxy NOTE II is too buggy to use for video deco ding", 943 "description": "Samsung Gaxlaxy NOTE II is too buggy to use for video deco ding",
944 "cr_bugs": [308721], 944 "cr_bugs": [308721],
945 "os": { 945 "os": {
946 "type": "android", 946 "type": "android",
947 "version": { 947 "version": {
948 "op": "<=", 948 "op": "<=",
949 "value": "4.1.2" 949 "value": "4.1.2"
950 } 950 }
951 }, 951 },
952 "machine_model": { 952 "machine_model_name": ["GT-N7100"],
953 "name": {
954 "op": "=",
955 "value": "GT-N7100"
956 }
957 },
958 "features": [ 953 "features": [
959 "accelerated_video_decode" 954 "accelerated_video_decode"
960 ] 955 ]
961 }, 956 },
962 { 957 {
963 "id": 85, 958 "id": 85,
964 "description": "Samsung Gaxlaxy S4 is too buggy to use for video decoding" , 959 "description": "Samsung Gaxlaxy S4 is too buggy to use for video decoding" ,
965 "cr_bugs": [329072], 960 "cr_bugs": [329072],
966 "os": { 961 "os": {
967 "type": "android" 962 "type": "android"
968 }, 963 },
969 "machine_model": { 964 "machine_model_name": ["SCH-I545"],
970 "name": {
971 "op": "=",
972 "value": "SCH-I545"
973 }
974 },
975 "features": [ 965 "features": [
976 "accelerated_video_decode" 966 "accelerated_video_decode"
977 ] 967 ]
978 }, 968 },
979 { 969 {
980 "id": 86, 970 "id": 86,
981 "description": "Intel Graphics Media Accelerator 3150 causes the GPU proce ss to hang running WebGL", 971 "description": "Intel Graphics Media Accelerator 3150 causes the GPU proce ss to hang running WebGL",
982 "cr_bugs": [305431], 972 "cr_bugs": [305431],
983 "os": { 973 "os": {
984 "type": "win" 974 "type": "win"
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
1131 "features": [ 1121 "features": [
1132 "all" 1122 "all"
1133 ] 1123 ]
1134 } 1124 }
1135 ] 1125 ]
1136 } 1126 }
1137 1127
1138 ); // LONG_STRING_CONST macro 1128 ); // LONG_STRING_CONST macro
1139 1129
1140 } // namespace gpu 1130 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698