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

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

Issue 1503223005: Identify the active GPU using GL strings in multiple GPU situation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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_unittest.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"
(...skipping 11 matching lines...) Expand all
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"],
32 "multi_gpu_category": "any",
32 "features": [ 33 "features": [
33 "webgl", 34 "webgl",
34 "flash_3d", 35 "flash_3d",
35 "flash_stage3d" 36 "flash_stage3d"
36 ] 37 ]
37 }, 38 },
38 { 39 {
39 "id": 3, 40 "id": 3,
40 "description": "GL driver is software rendered. GPU acceleration is disabl ed", 41 "description": "GL driver is software rendered. GPU acceleration is disabl ed",
41 "cr_bugs": [59302, 315217], 42 "cr_bugs": [59302, 315217],
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 }, 108 },
108 { 109 {
109 "id": 10, 110 "id": 10,
110 "description": "NVIDIA GeForce 7300 GT on Mac does not support WebGL", 111 "description": "NVIDIA GeForce 7300 GT on Mac does not support WebGL",
111 "cr_bugs": [73794], 112 "cr_bugs": [73794],
112 "os": { 113 "os": {
113 "type": "macosx" 114 "type": "macosx"
114 }, 115 },
115 "vendor_id": "0x10de", 116 "vendor_id": "0x10de",
116 "device_id": ["0x0393"], 117 "device_id": ["0x0393"],
118 "multi_gpu_category": "any",
117 "features": [ 119 "features": [
118 "webgl", 120 "webgl",
119 "flash_3d", 121 "flash_3d",
120 "flash_stage3d" 122 "flash_stage3d"
121 ] 123 ]
122 }, 124 },
123 { 125 {
124 "id": 12, 126 "id": 12,
125 "description": "Drivers older than 2009-01 on Windows are possibly unrelia ble", 127 "description": "Drivers older than 2009-01 on Windows are possibly unrelia ble",
126 "cr_bugs": [72979, 89802, 315205], 128 "cr_bugs": [72979, 89802, 315205],
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 "cr_bugs": [130495], 389 "cr_bugs": [130495],
388 "os": { 390 "os": {
389 "type": "macosx", 391 "type": "macosx",
390 "version": { 392 "version": {
391 "op": "=", 393 "op": "=",
392 "value": "10.7" 394 "value": "10.7"
393 } 395 }
394 }, 396 },
395 "vendor_id": "0x10de", 397 "vendor_id": "0x10de",
396 "device_id": ["0x0863"], 398 "device_id": ["0x0863"],
399 "multi_gpu_category": "any",
397 "features": [ 400 "features": [
398 "accelerated_2d_canvas" 401 "accelerated_2d_canvas"
399 ] 402 ]
400 }, 403 },
401 { 404 {
402 "id": 42, 405 "id": 42,
403 "description": "AMD Radeon HD 6490M and 6970M on Snow Leopard are buggy", 406 "description": "AMD Radeon HD 6490M and 6970M on Snow Leopard are buggy",
404 "cr_bugs": [137307, 285350], 407 "cr_bugs": [137307, 285350],
405 "os": { 408 "os": {
406 "type": "macosx", 409 "type": "macosx",
407 "version": { 410 "version": {
408 "op": "=", 411 "op": "=",
409 "value": "10.6" 412 "value": "10.6"
410 } 413 }
411 }, 414 },
412 "vendor_id": "0x1002", 415 "vendor_id": "0x1002",
413 "device_id": ["0x6760", "0x6720"], 416 "device_id": ["0x6760", "0x6720"],
417 "multi_gpu_category": "any",
414 "features": [ 418 "features": [
415 "webgl" 419 "webgl"
416 ] 420 ]
417 }, 421 },
418 { 422 {
419 "id": 44, 423 "id": 44,
420 "description": "Intel HD 4000 causes kernel panic on Lion", 424 "description": "Intel HD 4000 causes kernel panic on Lion",
421 "cr_bugs": [134015], 425 "cr_bugs": [134015],
422 "os": { 426 "os": {
423 "type": "macosx", 427 "type": "macosx",
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 "type": "macosx", 503 "type": "macosx",
500 "version": { 504 "version": {
501 "op": "between", 505 "op": "between",
502 "value": "10.8.0", 506 "value": "10.8.0",
503 "value2": "10.8.1" 507 "value2": "10.8.1"
504 } 508 }
505 }, 509 },
506 "multi_gpu_style": "optimus", 510 "multi_gpu_style": "optimus",
507 "vendor_id": "0x10de", 511 "vendor_id": "0x10de",
508 "device_id": ["0x0fd5"], 512 "device_id": ["0x0fd5"],
513 "multi_gpu_category": "any",
509 "features": [ 514 "features": [
510 "flash_3d", 515 "flash_3d",
511 "flash_stage3d" 516 "flash_stage3d"
512 ] 517 ]
513 }, 518 },
514 { 519 {
515 "id": 50, 520 "id": 50,
516 "description": "Disable VMware software renderer on older Mesa", 521 "description": "Disable VMware software renderer on older Mesa",
517 "cr_bugs": [145531, 332596], 522 "cr_bugs": [145531, 332596],
518 "os": { 523 "os": {
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 "cr_bugs": [233523], 705 "cr_bugs": [233523],
701 "os": { 706 "os": {
702 "type": "macosx", 707 "type": "macosx",
703 "version": { 708 "version": {
704 "op": "<", 709 "op": "<",
705 "value": "10.8" 710 "value": "10.8"
706 } 711 }
707 }, 712 },
708 "vendor_id": "0x10de", 713 "vendor_id": "0x10de",
709 "device_id": ["0x0a29", "0x0861", "0x0863"], 714 "device_id": ["0x0a29", "0x0861", "0x0863"],
715 "multi_gpu_category": "any",
710 "features": [ 716 "features": [
711 "webgl" 717 "webgl"
712 ] 718 ]
713 }, 719 },
714 { 720 {
715 "id": 74, 721 "id": 74,
716 "description": "GPU access is blocked if users don't have proper graphics driver installed after Windows installation", 722 "description": "GPU access is blocked if users don't have proper graphics driver installed after Windows installation",
717 "cr_bugs": [248178], 723 "cr_bugs": [248178],
718 "os": { 724 "os": {
719 "type": "win" 725 "type": "win"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 "description": "Apple software renderer used under VMWare hangs on Mac OS 10.6 and 10.7", 796 "description": "Apple software renderer used under VMWare hangs on Mac OS 10.6 and 10.7",
791 "cr_bugs": [230931], 797 "cr_bugs": [230931],
792 "os": { 798 "os": {
793 "type": "macosx", 799 "type": "macosx",
794 "version": { 800 "version": {
795 "op": "<=", 801 "op": "<=",
796 "value": "10.7" 802 "value": "10.7"
797 } 803 }
798 }, 804 },
799 "vendor_id": "0x15ad", 805 "vendor_id": "0x15ad",
806 "multi_gpu_category": "any",
800 "features": [ 807 "features": [
801 "all" 808 "all"
802 ] 809 ]
803 }, 810 },
804 { 811 {
805 "id": 82, 812 "id": 82,
806 "description": "MediaCodec is still too buggy to use for encoding (b/11536 167)", 813 "description": "MediaCodec is still too buggy to use for encoding (b/11536 167)",
807 "os": { 814 "os": {
808 "type": "android" 815 "type": "android"
809 }, 816 },
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
1100 "cr_bugs": [421641], 1107 "cr_bugs": [421641],
1101 "os": { 1108 "os": {
1102 "type": "macosx", 1109 "type": "macosx",
1103 "version": { 1110 "version": {
1104 "op": "=", 1111 "op": "=",
1105 "value": "10.6" 1112 "value": "10.6"
1106 } 1113 }
1107 }, 1114 },
1108 "vendor_id": "0x8086", 1115 "vendor_id": "0x8086",
1109 "device_id": ["0x2a02"], 1116 "device_id": ["0x2a02"],
1117 "multi_gpu_category": "any",
1110 "features": [ 1118 "features": [
1111 "all" 1119 "all"
1112 ] 1120 ]
1113 }, 1121 },
1114 { 1122 {
1115 "id": 104, 1123 "id": 104,
1116 "description": "GPU raster broken on PowerVR Rogue", 1124 "description": "GPU raster broken on PowerVR Rogue",
1117 "cr_bugs": [436331, 483574], 1125 "cr_bugs": [436331, 483574],
1118 "os": { 1126 "os": {
1119 "type": "android" 1127 "type": "android"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
1185 "gpu_rasterization", 1193 "gpu_rasterization",
1186 "accelerated_2d_canvas" 1194 "accelerated_2d_canvas"
1187 ] 1195 ]
1188 } 1196 }
1189 ] 1197 ]
1190 } 1198 }
1191 1199
1192 ); // LONG_STRING_CONST macro 1200 ); // LONG_STRING_CONST macro
1193 1201
1194 } // namespace gpu 1202 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/config/gpu_info_collector_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698