Chromium Code Reviews

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

Issue 10909242: Add "panel_fitting" GPU feature type and use it for mirror mode. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Reorganized code per oshima's suggestion. Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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...)
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 // "accelerated_video_decode", and "all". 40 // "accelerated_video_decode", "panel_fitting", 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...)
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.10", 71 "version": "2.11",
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 578 matching lines...)
660 }, 660 },
661 { 661 {
662 "os": { 662 "os": {
663 "type": "win" 663 "type": "win"
664 } 664 }
665 } 665 }
666 ], 666 ],
667 "blacklist": [ 667 "blacklist": [
668 "accelerated_video_decode" 668 "accelerated_video_decode"
669 ] 669 ]
670 },
671 {
672 "id": 49,
673 "description": "Enable panel fitting capability on ChromeOS only on Ivy Br idge Graphics Controller.",
cwolfe 2012/09/18 13:27:47 Suggestion: "Use panel fitting for Chrome OS mirro
ynovikov 2012/09/18 15:16:21 Actually, panel fitting GPU feature is not tightly
cwolfe 2012/09/18 20:55:50 Sounds good.
ynovikov 2012/09/21 18:48:27 Done.
674 "exceptions": [
675 {
676 "os": {
677 "type": "chromeos"
678 },
679 "vendor_id": "0x8086",
680 "device_id": ["0x0166"]
681 }
682 ],
683 "blacklist": [
684 "panel_fitting"
685 ]
670 } 686 }
671 ] 687 ]
672 } 688 }
OLDNEW

Powered by Google App Engine