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

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

Issue 6352011: Improve blacklist logic: use more fields (driver_vendor, gl_renderer, ect) fo... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 | « chrome/browser/gpu_process_host.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.
2 // A valid gpu_blacklist.json file are in the format of
3 // {
4 // "version": "x.y",
5 // "entries": [
6 // { // entry 1
7 // },
8 // ...
9 // { // entry n
10 // }
11 // ]
12 // }
13 //
14 // Each entry contains the following fields:
15 // "os", "vendor_id", "device_id", "driver_version", and "blacklist".
16 // Only "blacklist" is mandatory.
17 // 1. "os" contains "type" and an optional "version". "type" could be "macosx",
18 // "linux", "win", or "any". "any" is the same as not specifying "os".
19 // "version" is a VERSION structure (defined below).
20 // 2. "vendor_id" has the value of a string.
21 // 3. "device_id" has the value of a string.
22 // 4. "driver_vendor" is a STRING structure (defined below).
23 // 5. "driver_version" is a VERSION structure (defined below).
24 // 6. "gl_renderer" is a STRING structure (defined below).
25 // 7. "blacklist" is a list of gpu feature strings, valid values include
26 // "accelerated_2d_canvas", "accelerated_compositing", "webgl", and "all".
27 // Currently whatever feature is selected, the effect is the same as "all",
28 // i.e., it's not supported to turn off one GPU feature and not the others.
29 //
30 // VERSION includes "op" "number", and "number2". "op" can be any of the
31 // following values: "=", "<", "<=", ">", ">=", "any", "between". "number2" is
32 // only used if "op" is "between". "number" is used for all "op" values except
33 // "any". "number" and "number2" are in the format of x, x.x, x.x.x, ect.
34 //
35 // STRING includes "op" and "value". "op" can be any of the following values:
36 // "contains", "beginwith", "endwith", "=". "value" is a string.
37
1 { 38 {
2 "name": "gpu blacklist", 39 "name": "gpu blacklist",
3 "version": "0.2", 40 // Please update the version number whenever you change this file.
41 "version": "0.3",
4 "entries": [ 42 "entries": [
5 { // ATI Radeon X1900 on Mac, BUGWEBKIT=47028 43 { // ATI Radeon X1900 on Mac, BUGWEBKIT=47028
44 "id": "1",
6 "os": { 45 "os": {
7 "type": "macosx" 46 "type": "macosx"
8 }, 47 },
9 "vendor_id": "0x1002", 48 "vendor_id": "0x1002",
10 "device_id": "0x7249", 49 "device_id": "0x7249",
11 "blacklist": [ 50 "blacklist": [
12 "webgl" 51 "webgl"
13 ] 52 ]
14 }, 53 },
15 { // Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controlle r, BUG=67345,67939 54 { // Intel cards with Mesa driver earlier than 7.9, BUG=66718,67345,67939
55 "id": "2",
16 "os": { 56 "os": {
17 "type": "linux" 57 "type": "linux"
18 }, 58 },
19 "vendor_id": "0x8086", 59 "vendor_id": "0x8086",
20 "device_id": "0x2a42", 60 "driver_vendor": {
61 "op": "=",
62 "value": "mesa"
63 },
64 "driver_version": {
65 "op": "<",
66 "number": "7.9"
67 },
21 "blacklist": [ 68 "blacklist": [
22 "webgl" 69 "webgl"
23 ] 70 ]
24 }, 71 },
25 { // Intel Corporation Core Processor Integrated Graphics Controller, BUG=66 718 72 { // In linux, don't allow GPU compositing if it's software rendering, BUG=5 9302
73 "id": "3",
26 "os": { 74 "os": {
27 "type": "linux" 75 "type": "linux"
28 }, 76 },
29 "vendor_id": "0x8086", 77 "gl_renderer": {
30 "device_id": "0x0046", 78 "op": "contains",
79 "value": "software"
80 },
31 "blacklist": [ 81 "blacklist": [
32 "webgl" 82 "accelerated_compositing"
33 ] 83 ]
34 } 84 }
35 ] 85 ]
36 } 86 }
OLDNEW
« no previous file with comments | « chrome/browser/gpu_process_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698