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

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

Issue 1344713002: gpu: Disable GPU raster on some older Android GPUs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2490
Patch Set: Created 5 years, 3 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": "10.10", 21 "version": "10.11",
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 973 matching lines...) Expand 10 before | Expand all | Expand 10 after
1005 }, 1005 },
1006 "exceptions": [ 1006 "exceptions": [
1007 { 1007 {
1008 "os": { 1008 "os": {
1009 "type": "android" 1009 "type": "android"
1010 }, 1010 },
1011 "gl_renderer": "Adreno \\(TM\\) 3.*" 1011 "gl_renderer": "Adreno \\(TM\\) 3.*"
1012 }, 1012 },
1013 { 1013 {
1014 "os": { 1014 "os": {
1015 "type": "android" 1015 "type": "android",
1016 "version": {
1017 "op": ">=",
1018 "value": "4.4"
1019 }
1016 }, 1020 },
1017 "gl_renderer": "Mali-4.*" 1021 "gl_renderer": "Mali-4.*"
1018 }, 1022 },
1019 { 1023 {
1020 "os": { 1024 "os": {
1021 "type": "android" 1025 "type": "android"
1022 }, 1026 },
1023 "gl_renderer": "NVIDIA.*" 1027 "gl_renderer": "NVIDIA.*"
1024 }, 1028 },
1025 { 1029 {
1026 "os": { 1030 "os": {
1027 "type": "android"
1028 },
1029 "gl_renderer": "VideoCore IV.*"
1030 },
1031 {
1032 "os": {
1033 "type": "android", 1031 "type": "android",
1034 "version": { 1032 "version": {
1035 "op": ">=", 1033 "op": ">=",
1036 "value": "4.4" 1034 "value": "4.4"
1037 } 1035 }
1038 }, 1036 },
1039 "gl_type": "gles", 1037 "gl_type": "gles",
1040 "gl_version": { 1038 "gl_version": {
1041 "op": ">=", 1039 "op": ">=",
1042 "value": "3.0" 1040 "value": "3.0"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
1149 "accelerated_2d_canvas", 1147 "accelerated_2d_canvas",
1150 "gpu_rasterization" 1148 "gpu_rasterization"
1151 ] 1149 ]
1152 } 1150 }
1153 ] 1151 ]
1154 } 1152 }
1155 1153
1156 ); // LONG_STRING_CONST macro 1154 ); // LONG_STRING_CONST macro
1157 1155
1158 } // namespace gpu 1156 } // 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