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

Side by Side Diff: content/browser/gpu/software_rendering_list.json

Issue 11009011: Use the cpuid instruction to generate the CPU brand string. And (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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
« no previous file with comments | « content/browser/gpu/gpu_blacklist.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 // 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
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.6", 77 "version": "3.7",
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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 "id": 32, 467 "id": 32,
467 "description": "Accelerated 2d canvas is disabled on Windows systems with low perf stats.", 468 "description": "Accelerated 2d canvas is disabled on Windows systems with low perf stats.",
468 "cr_bugs": [116350], 469 "cr_bugs": [116350],
469 "os": { 470 "os": {
470 "type": "win" 471 "type": "win"
471 }, 472 },
472 "perf_overall": { 473 "perf_overall": {
473 "op": "<", 474 "op": "<",
474 "value": "3.5" 475 "value": "3.5"
475 }, 476 },
477 "exceptions": [
478 {
479 "cpu_info": {
480 "op": "contains",
481 "value": "Atom"
482 }
483 }
484 ],
476 "blacklist": [ 485 "blacklist": [
477 "accelerated_2d_canvas" 486 "accelerated_2d_canvas"
478 ] 487 ]
479 }, 488 },
480 { 489 {
481 "id": 33, 490 "id": 33,
482 "description": "Multisampling is buggy in Intel IvyBridge.", 491 "description": "Multisampling is buggy in Intel IvyBridge.",
483 "cr_bugs": [116370], 492 "cr_bugs": [116370],
484 "os": { 493 "os": {
485 "type": "linux" 494 "type": "linux"
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
823 "number": "7.15.10.1624" 832 "number": "7.15.10.1624"
824 } 833 }
825 } 834 }
826 ], 835 ],
827 "blacklist": [ 836 "blacklist": [
828 "all" 837 "all"
829 ] 838 ]
830 } 839 }
831 ] 840 ]
832 } 841 }
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_blacklist.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698