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

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

Issue 1548893004: Allow WebGL readback for Mesa llvmpipe driver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Only allow WebGL feature Created 4 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
« no previous file with comments | « gpu/config/gpu_info_collector.cc ('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": "10.18", 21 "version": "10.19",
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 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 "device_id": ["0x0fd5"], 511 "device_id": ["0x0fd5"],
512 "multi_gpu_category": "any", 512 "multi_gpu_category": "any",
513 "features": [ 513 "features": [
514 "flash_3d", 514 "flash_3d",
515 "flash_stage3d" 515 "flash_stage3d"
516 ] 516 ]
517 }, 517 },
518 { 518 {
519 "id": 50, 519 "id": 50,
520 "description": "Disable VMware software renderer on older Mesa", 520 "description": "Disable VMware software renderer on older Mesa",
521 "cr_bugs": [145531, 332596], 521 "cr_bugs": [145531, 332596, 571899],
522 "os": { 522 "os": {
523 "type": "linux" 523 "type": "linux"
524 }, 524 },
525 "gl_vendor": "VMware.*", 525 "gl_vendor": "VMware.*",
526 "exceptions": [ 526 "exceptions": [
527 { 527 {
528 "driver_vendor": "Mesa",
piman 2016/04/14 02:46:14 Any reason for removing this?
Julien Isorce Samsung 2016/04/14 17:54:27 It is a mistake :)
529 "driver_version": { 528 "driver_version": {
530 "op": ">=", 529 "op": ">=",
531 "value": "9.2.1" 530 "value": "9.2.1"
532 }, 531 },
533 "gl_renderer": ".*SVGA3D.*" 532 "gl_renderer": ".*SVGA3D.*"
533 },
534 {
535 "driver_vendor": "Mesa",
536 "driver_version": {
537 "op": ">=",
538 "value": "10.1.3"
539 },
540 "gl_renderer": ".*Gallium.*llvmpipe.*"
534 } 541 }
535 ], 542 ],
536 "features": [ 543 "features": [
537 "all" 544 "all"
538 ] 545 ]
539 }, 546 },
540 { 547 {
541 "id": 53, 548 "id": 53,
542 "description": "The Intel GMA500 is too slow for Stage3D", 549 "description": "The Intel GMA500 is too slow for Stage3D",
543 "cr_bugs": [152096], 550 "cr_bugs": [152096],
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
1205 } 1212 }
1206 }, 1213 },
1207 "gl_renderer": "Adreno \\(TM\\) 330", 1214 "gl_renderer": "Adreno \\(TM\\) 330",
1208 "driver_version": { 1215 "driver_version": {
1209 "op": "=", 1216 "op": "=",
1210 "value": "45.0" 1217 "value": "45.0"
1211 }, 1218 },
1212 "features": [ 1219 "features": [
1213 "accelerated_video_decode" 1220 "accelerated_video_decode"
1214 ] 1221 ]
1222 },
1223 {
1224 "id": 110,
1225 "description": "Only enable WebGL for the Mesa Gallium llvmpipe driver",
1226 "cr_bugs": [571899],
1227 "os": {
1228 "type": "linux"
1229 },
1230 "driver_vendor": "Mesa",
1231 "gl_vendor": "VMware.*",
1232 "gl_renderer": ".*Gallium.*llvmpipe.*",
1233 "features": [
1234 "accelerated_2d_canvas",
1235 "gpu_compositing",
1236 "flash_3d",
1237 "flash_stage3d",
1238 "flash_stage3d_baseline",
1239 "accelerated_video_decode",
1240 "accelerated_video_encode",
1241 "panel_fitting",
1242 "gpu_rasterization"
piman 2016/04/14 02:46:14 @zmo: is there a way to do the opposite, disable a
Ken Russell (switch to Gerrit) 2016/04/14 02:56:26 Not to speak for zmo@ but I suspect the JSON file
Julien Isorce Samsung 2016/04/14 17:54:27 If there is no way to express that (zmo@ ?), and s
Zhenyao Mo 2016/04/14 20:23:45 We can implement an "exception" to the "features",
Julien Isorce Samsung 2016/04/14 21:10:06 Thx Zhenyao for your suggestion. But to avoid any
1243 ]
1215 } 1244 }
1216 ] 1245 ]
1217 } 1246 }
1218 1247
1219 ); // LONG_STRING_CONST macro 1248 ); // LONG_STRING_CONST macro
1220 1249
1221 } // namespace gpu 1250 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/config/gpu_info_collector.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698