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

Side by Side Diff: chrome/browser/resources/software_rendering_list.json

Issue 10832356: Use GPU blacklist to control accelerated video decode. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 // 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 19 matching lines...) Expand all
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. "exceptions" is a list of entries. 36 // 15. "exceptions" is a list of entries.
37 // 16. "blacklist" is a list of gpu feature strings, valid values include 37 // 16. "blacklist" is a list of gpu feature strings, valid values include
38 // "accelerated_2d_canvas", "accelerated_compositing", "webgl", 38 // "accelerated_2d_canvas", "accelerated_compositing", "webgl",
39 // "multisampling", "flash_3d", "flash_stage3d", "texture_sharing", 39 // "multisampling", "flash_3d", "flash_stage3d", "texture_sharing",
40 // and "all". 40 // "accelerated_video_decode", and "all".
41 // This field is mandatory. 41 // This field is mandatory.
42 // 17. "description" has the description of the entry. 42 // 17. "description" has the description of the entry.
43 // 18. "webkit_bugs" is an array of associated webkit bug numbers. 43 // 18. "webkit_bugs" is an array of associated webkit bug numbers.
44 // 19. "cr_bugs" is an array of associated webkit bug numbers. 44 // 19. "cr_bugs" is an array of associated webkit bug numbers.
45 // 20. "browser_version" is a VERSION structure (defined below). If this 45 // 20. "browser_version" is a VERSION structure (defined below). If this
46 // condition is not satisfied, the entry will be ignored. If it is not 46 // condition is not satisfied, the entry will be ignored. If it is not
47 // present, then the entry applies to all versions of the browser. 47 // present, then the entry applies to all versions of the browser.
48 // 21. "disabled" is a boolean. If it is present, the entry will be skipped. 48 // 21. "disabled" is a boolean. If it is present, the entry will be skipped.
49 // This can not be used in exceptions. 49 // This can not be used in exceptions.
50 // 50 //
(...skipping 10 matching lines...) Expand all
61 // "contains", "beginwith", "endwith", "=". "value" is a string. 61 // "contains", "beginwith", "endwith", "=". "value" is a string.
62 // 62 //
63 // FLOAT includes "op" "value", and "value2". "op" can be any of the 63 // FLOAT includes "op" "value", and "value2". "op" can be any of the
64 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is 64 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is
65 // only used if "op" is "between". "value" is used for all "op" values except 65 // only used if "op" is "between". "value" is used for all "op" values except
66 // "any". "value" and "value2" are valid float numbers. 66 // "any". "value" and "value2" are valid float numbers.
67 67
68 { 68 {
69 "name": "software rendering list", 69 "name": "software rendering list",
70 // Please update the version number whenever you change this file. 70 // Please update the version number whenever you change this file.
71 "version": "2.8", 71 "version": "2.9",
72 "entries": [ 72 "entries": [
73 { 73 {
74 "id": 1, 74 "id": 1,
75 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac." , 75 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac." ,
76 "webkit_bugs": [47028], 76 "webkit_bugs": [47028],
77 "os": { 77 "os": {
78 "type": "macosx" 78 "type": "macosx"
79 }, 79 },
80 "vendor_id": "0x1002", 80 "vendor_id": "0x1002",
81 "device_id": ["0x7249"], 81 "device_id": ["0x7249"],
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 "op": "=", 658 "op": "=",
659 "value": "NVIDIA" 659 "value": "NVIDIA"
660 }, 660 },
661 "driver_version": { 661 "driver_version": {
662 "op": "<", 662 "op": "<",
663 "number": "295" 663 "number": "295"
664 }, 664 },
665 "blacklist": [ 665 "blacklist": [
666 "all" 666 "all"
667 ] 667 ]
668 },
669 {
670 "id": 48,
671 "description": "Accelerated video decode is unavailable on Mac and Linux." ,
672 "cr_bugs": [137247, 142402],
Ami GONE FROM CHROMIUM 2012/08/17 17:51:03 s/142402/133828/ (the former is now resolved, the
Zhenyao Mo 2012/08/17 20:08:17 Done.
673 "exceptions": [
674 {
675 "os": {
676 "type": "chromeos"
677 }
678 },
679 {
680 "os": {
681 "type": "win"
Ami GONE FROM CHROMIUM 2012/08/17 17:51:03 FYI this is compatible w/ ToT now that I reverted
682 }
683 }
684 ],
685 "blacklist": [
686 "accelerated_video_decode"
687 ]
668 } 688 }
669 ] 689 ]
670 } 690 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698