Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Determines whether certain gpu-related features are blacklisted or not. | 1 // Determines whether certain gpu-related features are blacklisted or not. |
| 2 // A valid software_rendering_list.json file are in the format of | 2 // A valid software_rendering_list.json file are in the format of |
| 3 // { | 3 // { |
| 4 // "version": "x.y", | 4 // "version": "x.y", |
| 5 // "entries": [ | 5 // "entries": [ |
| 6 // { // entry 1 | 6 // { // entry 1 |
| 7 // }, | 7 // }, |
| 8 // ... | 8 // ... |
| 9 // { // entry n | 9 // { // entry n |
| 10 // } | 10 // } |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 29 // 9. "driver_date" is a VERSION structure (defined below). | 29 // 9. "driver_date" is a VERSION structure (defined below). |
| 30 // The version is interpreted as "year.month.day". | 30 // The version is interpreted as "year.month.day". |
| 31 // 10. "gl_vendor" is a STRING structure (defined below). | 31 // 10. "gl_vendor" is a STRING structure (defined below). |
| 32 // 11. "gl_renderer" is a STRING structure (defined below). | 32 // 11. "gl_renderer" is a STRING structure (defined below). |
| 33 // 12. "perf_graphics" is a FLOAT structure (defined below). | 33 // 12. "perf_graphics" is a FLOAT structure (defined below). |
| 34 // 13. "perf_gaming" is a FLOAT structure (defined below). | 34 // 13. "perf_gaming" is a FLOAT structure (defined below). |
| 35 // 14. "perf_overall" is a FLOAT structure (defined below). | 35 // 14. "perf_overall" is a FLOAT structure (defined below). |
| 36 // 15. "machine_model" contais "name" and an optional "version". "name" is a | 36 // 15. "machine_model" contais "name" and an optional "version". "name" is a |
| 37 // STRING structure and "version" is a VERSION structure (defined below). | 37 // STRING structure and "version" is a VERSION structure (defined below). |
| 38 // 16. "gpu_count" is a INT structure (defined below). | 38 // 16. "gpu_count" is a INT structure (defined below). |
| 39 // 17. "exceptions" is a list of entries. | 39 // 17 "cpu_info" is a STRING structure (defined below). |
| 40 // 18. "blacklist" is a list of gpu feature strings, valid values include | 40 // 18. "exceptions" is a list of entries. |
| 41 // 19. "blacklist" is a list of gpu feature strings, valid values include | |
| 41 // "accelerated_2d_canvas", "accelerated_compositing", "webgl", | 42 // "accelerated_2d_canvas", "accelerated_compositing", "webgl", |
| 42 // "multisampling", "flash_3d", "flash_stage3d", "texture_sharing", | 43 // "multisampling", "flash_3d", "flash_stage3d", "texture_sharing", |
| 43 // "accelerated_video_decode", and "all". | 44 // "accelerated_video_decode", and "all". |
| 44 // This field is mandatory. | 45 // This field is mandatory. |
| 45 // 19. "description" has the description of the entry. | 46 // 20. "description" has the description of the entry. |
| 46 // 20. "webkit_bugs" is an array of associated webkit bug numbers. | 47 // 21. "webkit_bugs" is an array of associated webkit bug numbers. |
| 47 // 21. "cr_bugs" is an array of associated webkit bug numbers. | 48 // 22. "cr_bugs" is an array of associated webkit bug numbers. |
| 48 // 22. "browser_version" is a VERSION structure (defined below). If this | 49 // 23. "browser_version" is a VERSION structure (defined below). If this |
| 49 // condition is not satisfied, the entry will be ignored. If it is not | 50 // condition is not satisfied, the entry will be ignored. If it is not |
| 50 // present, then the entry applies to all versions of the browser. | 51 // present, then the entry applies to all versions of the browser. |
| 51 // 23. "disabled" is a boolean. If it is present, the entry will be skipped. | 52 // 24. "disabled" is a boolean. If it is present, the entry will be skipped. |
| 52 // This can not be used in exceptions. | 53 // This can not be used in exceptions. |
| 53 // | 54 // |
| 54 // VERSION includes "op", "style", "number", and "number2". "op" can be any of | 55 // VERSION includes "op", "style", "number", and "number2". "op" can be any of |
| 55 // the following values: "=", "<", "<=", ">", ">=", "any", "between". "style" | 56 // the following values: "=", "<", "<=", ">", ">=", "any", "between". "style" |
| 56 // is optional and can be "lexical" or "numerical"; if it's not specified, it | 57 // is optional and can be "lexical" or "numerical"; if it's not specified, it |
| 57 // defaults to "numerical". "number2" is only used if "op" is "between". | 58 // defaults to "numerical". "number2" is only used if "op" is "between". |
| 58 // "between" is "number <= * <= number2". | 59 // "between" is "number <= * <= number2". |
| 59 // "number" is used for all "op" values except "any". "number" and "number2" | 60 // "number" is used for all "op" values except "any". "number" and "number2" |
| 60 // are in the format of x, x.x, x.x.x, etc. | 61 // are in the format of x, x.x, x.x.x, etc. |
| 61 // Only "driver_version" supports lexical style if the format is major.minor; | 62 // Only "driver_version" supports lexical style if the format is major.minor; |
| 62 // in that case, major is still numerical, but minor is lexical. | 63 // in that case, major is still numerical, but minor is lexical. |
| 63 // | 64 // |
| 64 // STRING includes "op" and "value". "op" can be any of the following values: | 65 // STRING includes "op" and "value". "op" can be any of the following values: |
| 65 // "contains", "beginwith", "endwith", "=". "value" is a string. | 66 // "contains", "beginwith", "endwith", "=". "value" is a string. |
| 66 // | 67 // |
| 67 // FLOAT includes "op" "value", and "value2". "op" can be any of the | 68 // FLOAT includes "op" "value", and "value2". "op" can be any of the |
| 68 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is | 69 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is |
| 69 // only used if "op" is "between". "value" is used for all "op" values except | 70 // only used if "op" is "between". "value" is used for all "op" values except |
| 70 // "any". "value" and "value2" are valid float numbers. | 71 // "any". "value" and "value2" are valid float numbers. |
| 71 // INT is very much like FLOAT, except that the values need to be integers. | 72 // INT is very much like FLOAT, except that the values need to be integers. |
| 72 | 73 |
| 73 { | 74 { |
| 74 "name": "software rendering list", | 75 "name": "software rendering list", |
| 75 // Please update the version number whenever you change this file. | 76 // Please update the version number whenever you change this file. |
| 76 "version": "3.4", | 77 "version": "3.5", |
| 77 "entries": [ | 78 "entries": [ |
| 78 { | 79 { |
| 79 "id": 1, | 80 "id": 1, |
| 80 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac." , | 81 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac." , |
| 81 "webkit_bugs": [47028], | 82 "webkit_bugs": [47028], |
| 82 "os": { | 83 "os": { |
| 83 "type": "macosx" | 84 "type": "macosx" |
| 84 }, | 85 }, |
| 85 "vendor_id": "0x1002", | 86 "vendor_id": "0x1002", |
| 86 "device_id": ["0x7249"], | 87 "device_id": ["0x7249"], |
| (...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 450 "id": 32, | 451 "id": 32, |
| 451 "description": "Accelerated 2d canvas is disabled on Windows systems with low perf stats.", | 452 "description": "Accelerated 2d canvas is disabled on Windows systems with low perf stats.", |
| 452 "cr_bugs": [116350], | 453 "cr_bugs": [116350], |
| 453 "os": { | 454 "os": { |
| 454 "type": "win" | 455 "type": "win" |
| 455 }, | 456 }, |
| 456 "perf_overall": { | 457 "perf_overall": { |
| 457 "op": "<", | 458 "op": "<", |
| 458 "value": "3.5" | 459 "value": "3.5" |
| 459 }, | 460 }, |
| 461 "exceptions": [ | |
|
Zhenyao Mo
2012/10/01 19:04:33
indent -1
| |
| 462 { | |
| 463 "cpu_info": { | |
| 464 "op": "contains", | |
| 465 "value": "Atom" | |
| 466 } | |
| 467 } | |
| 468 ], | |
| 460 "blacklist": [ | 469 "blacklist": [ |
| 461 "accelerated_2d_canvas" | 470 "accelerated_2d_canvas" |
| 462 ] | 471 ] |
| 463 }, | 472 }, |
| 464 { | 473 { |
| 465 "id": 33, | 474 "id": 33, |
| 466 "description": "Multisampling is buggy in Intel IvyBridge.", | 475 "description": "Multisampling is buggy in Intel IvyBridge.", |
| 467 "cr_bugs": [116370], | 476 "cr_bugs": [116370], |
| 468 "os": { | 477 "os": { |
| 469 "type": "linux" | 478 "type": "linux" |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 755 "description": "The Intel GMA500 is too slow for Stage3D.", | 764 "description": "The Intel GMA500 is too slow for Stage3D.", |
| 756 "cr_bugs": [152096], | 765 "cr_bugs": [152096], |
| 757 "vendor_id": "0x8086", | 766 "vendor_id": "0x8086", |
| 758 "device_id": ["0x8108", "0x8109"], | 767 "device_id": ["0x8108", "0x8109"], |
| 759 "blacklist": [ | 768 "blacklist": [ |
| 760 "flash_stage3d" | 769 "flash_stage3d" |
| 761 ] | 770 ] |
| 762 } | 771 } |
| 763 ] | 772 ] |
| 764 } | 773 } |
| OLD | NEW |