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

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

Issue 10837006: Blacklist all GPU access on Lion with Intel HD 4000. (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
« no previous file with comments | « no previous file | content/browser/gpu/gpu_data_manager_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // }
11 // ] 11 // ]
12 // } 12 // }
13 // 13 //
14 // Each entry contains the following fields (fields are optional unless 14 // Each entry contains the following fields (fields are optional unless
15 // specifically described as mandatory below): 15 // specifically described as mandatory below):
16 // 1. "id" is an integer. 0 is reserved. This field is mandatory. 16 // 1. "id" is an integer. 0 is reserved. This field is mandatory.
17 // 2. "os" contains "type" and an optional "version". "type" could be "macosx", 17 // 2. "os" contains "type" and an optional "version". "type" could be "macosx",
18 // "linux", "win", "chromeos", or "any". "any" is the same as not specifying 18 // "linux", "win", "chromeos", or "any". "any" is the same as not specifying
19 // "os". 19 // "os".
20 // "version" is a VERSION structure (defined below). 20 // "version" is a VERSION structure (defined below).
21 // 3. "vendor_id" is a string. 0 is reserved. 21 // 3. "vendor_id" is a string. 0 is reserved.
22 // 4. "device_id" is an array of strings. 0 is reserved. 22 // 4. "device_id" is an array of strings. 0 is reserved.
23 // 5. "multi_gpu_style" is a string, valid values include "optimus", and 23 // 5. "multi_gpu_style" is a string, valid values include "optimus", and
24 // "amd_switchable". 24 // "amd_switchable".
25 // 6. "driver_vendor" is a STRING structure (defined below). 25 // 6. "multi_gpu_category" is a string, valid values include "any", "primary",
26 // 7. "driver_version" is a VERSION structure (defined below). 26 // and "secondary". If unspecified, the default value is "primary".
27 // 8. "driver_date" is a VERSION structure (defined below). 27 // 7. "driver_vendor" is a STRING structure (defined below).
28 // 8. "driver_version" is a VERSION structure (defined below).
29 // 9. "driver_date" is a VERSION structure (defined below).
28 // The version is interpreted as "year.month.day". 30 // The version is interpreted as "year.month.day".
29 // 9. "gl_vendor" is a STRING structure (defined below). 31 // 10. "gl_vendor" is a STRING structure (defined below).
30 // 10. "gl_renderer" is a STRING structure (defined below). 32 // 11. "gl_renderer" is a STRING structure (defined below).
31 // 11. "perf_graphics" is a FLOAT structure (defined below). 33 // 12. "perf_graphics" is a FLOAT structure (defined below).
32 // 12. "perf_gaming" is a FLOAT structure (defined below). 34 // 13. "perf_gaming" is a FLOAT structure (defined below).
33 // 13. "perf_overall" is a FLOAT structure (defined below). 35 // 14. "perf_overall" is a FLOAT structure (defined below).
34 // 14. "exceptions" is a list of entries. 36 // 15. "exceptions" is a list of entries.
35 // 15. "blacklist" is a list of gpu feature strings, valid values include 37 // 16. "blacklist" is a list of gpu feature strings, valid values include
36 // "accelerated_2d_canvas", "accelerated_compositing", "webgl", 38 // "accelerated_2d_canvas", "accelerated_compositing", "webgl",
37 // "multisampling", "flash_3d", "flash_stage3d", "texture_sharing", 39 // "multisampling", "flash_3d", "flash_stage3d", "texture_sharing",
38 // and "all". 40 // and "all".
39 // This field is mandatory. 41 // This field is mandatory.
40 // 16. "description" has the description of the entry. 42 // 17. "description" has the description of the entry.
41 // 17. "webkit_bugs" is an array of associated webkit bug numbers. 43 // 18. "webkit_bugs" is an array of associated webkit bug numbers.
42 // 18. "cr_bugs" is an array of associated webkit bug numbers. 44 // 19. "cr_bugs" is an array of associated webkit bug numbers.
43 // 19. "browser_version" is a VERSION structure (defined below). If this 45 // 20. "browser_version" is a VERSION structure (defined below). If this
44 // 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
45 // present, then the entry applies to all versions of the browser. 47 // present, then the entry applies to all versions of the browser.
46 // 20. "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.
47 // This can not be used in exceptions. 49 // This can not be used in exceptions.
48 // 50 //
49 // VERSION includes "op", "style", "number", and "number2". "op" can be any of 51 // VERSION includes "op", "style", "number", and "number2". "op" can be any of
50 // the following values: "=", "<", "<=", ">", ">=", "any", "between". "style" 52 // the following values: "=", "<", "<=", ">", ">=", "any", "between". "style"
51 // is optional and can be "lexical" or "numerical"; if it's not specified, it 53 // is optional and can be "lexical" or "numerical"; if it's not specified, it
52 // defaults to "numerical". "number2" is only used if "op" is "between". 54 // defaults to "numerical". "number2" is only used if "op" is "between".
53 // "number" is used for all "op" values except "any". "number" and "number2" 55 // "number" is used for all "op" values except "any". "number" and "number2"
54 // are in the format of x, x.x, x.x.x, etc. 56 // are in the format of x, x.x, x.x.x, etc.
55 // Only "driver_version" supports lexical style if the format is major.minor; 57 // Only "driver_version" supports lexical style if the format is major.minor;
56 // in that case, major is still numerical, but minor is lexical. 58 // in that case, major is still numerical, but minor is lexical.
57 // 59 //
58 // STRING includes "op" and "value". "op" can be any of the following values: 60 // STRING includes "op" and "value". "op" can be any of the following values:
59 // "contains", "beginwith", "endwith", "=". "value" is a string. 61 // "contains", "beginwith", "endwith", "=". "value" is a string.
60 // 62 //
61 // 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
62 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is 64 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is
63 // 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
64 // "any". "value" and "value2" are valid float numbers. 66 // "any". "value" and "value2" are valid float numbers.
65 67
66 { 68 {
67 "name": "software rendering list", 69 "name": "software rendering list",
68 // Please update the version number whenever you change this file. 70 // Please update the version number whenever you change this file.
69 "version": "2.4", 71 "version": "2.5",
70 "entries": [ 72 "entries": [
71 { 73 {
72 "id": 1, 74 "id": 1,
73 "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." ,
74 "webkit_bugs": [47028], 76 "webkit_bugs": [47028],
75 "os": { 77 "os": {
76 "type": "macosx" 78 "type": "macosx"
77 }, 79 },
78 "vendor_id": "0x1002", 80 "vendor_id": "0x1002",
79 "device_id": ["0x7249"], 81 "device_id": ["0x7249"],
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 "type": "win" 651 "type": "win"
650 }, 652 },
651 "vendor_id": "0x8086", 653 "vendor_id": "0x8086",
652 "driver_version": { 654 "driver_version": {
653 "op": "=", 655 "op": "=",
654 "number": "8.15.10.1749" 656 "number": "8.15.10.1749"
655 }, 657 },
656 "blacklist": [ 658 "blacklist": [
657 "texture_sharing" 659 "texture_sharing"
658 ] 660 ]
661 },
662 {
663 "id": 44,
664 "description": "Intel HD 4000 causes kernel panic on Lion.",
665 "cr_bugs": [134015],
666 "os": {
667 "type": "macosx",
668 "version": {
669 "op": "=",
670 "number": "10.7"
671 }
672 },
673 "vendor_id": "0x8086",
674 "device_id": ["0x0166"],
675 "multi_gpu_category": "any",
676 "blacklist": [
677 "all"
678 ]
659 } 679 }
660 ] 680 ]
661 } 681 }
OLDNEW
« no previous file with comments | « no previous file | content/browser/gpu/gpu_data_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698