qt5base-lts/tests/auto/gui/qopenglconfig/buglist.json
Friedemann Kleint 4dd7aeee10 Add support for GPU bug list reading.
- Add support for reading out feature lists from GPU bug lists
  in Chromium format (supporting OS + version, exceptions lists,
  device ids and vendor ids).
  Add a overloads allowing for passing file name,
  data or JSON documents.

- Test reading in tst_qopenglconfig

- Prototypically have the Windows plugin read the file
  from the environment variable "QT_OPENGL_BUGLIST" and
  turn off renderers depending on the standard keyword
  "disable_d3d11" and newly introduced keywords
  "disable_d3d9", "disable_desktopgl".

- QT_OPENGL_BUGLIST can point to an absolute or relative
  path, in which case it is resolved via QLibraryInfo::SettingsPath
  and QStandardPaths::ConfigLocation.

[ChangeLog][QtGui][Windows]
Introduce experimental feature allowing the user to specify
a GPU driver buglist with some additional keywords to chooose
the GL renderer backend depending on GPU.

Task-number: QTBUG-43263
Change-Id: I8c20b0e8ee3cf575b91d0672bf405c42d3e9fb64
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
2015-02-14 16:23:47 +00:00

107 lines
2.7 KiB
JSON

{
"name": "gpu driver bug list example",
"version": "0.9",
"entries": [
{
"id": 1,
"description": "non-applicable feature: different OS",
"vendor_id": "0x10de",
"device_id": [ "0x0DE9" ],
"os": {
"type": "android"
},
"features": [
"wrong_feature1"
]
},
{
"id": 2,
"description": "non-applicable feature: ancient OS",
"vendor_id": "0x10de",
"device_id": [ "0x0DE9" ],
"os": {
"type": "win",
"version": {
"op": "<",
"value": "4.0"
}
},
"features": [
"wrong_feature2"
]
},
{
"id": 3,
"description": "non-applicable feature: excluded OS",
"vendor_id": "0x10de",
"device_id": [ "0x0DE9" ],
"exceptions": [
{
"os": {
"type": "win"
}
}
],
"features": [
"wrong_feature3"
]
},
{
"id": 4,
"description": "non-applicable feature: wrong vendor",
"vendor_id": "0x10df",
"device_id": [ "0x0DE9" ],
"os": {
"type": "win"
},
"features": [
"wrong_feature4"
]
},
{
"id": 4,
"description": "non-applicable feature: wrong device",
"vendor_id": "0x10de",
"device_id": [ "0x0DEA" ],
"os": {
"type": "win"
},
"features": [
"wrong_feature5"
]
},
{
"id": 5,
"description": "feature 1",
"vendor_id": "0x10de",
"device_id": [ "0x0DE9" ],
"os": {
"type": "win"
},
"driver_version": {
"op": ">",
"value": "9.18.0.0"
},
"features": [
"feature1"
]
},
{
"id": 6,
"description": "non-applicable feature: too new driver",
"vendor_id": "0x10de",
"device_id": [ "0x0DE9" ],
"os": {
"type": "win"
},
"driver_version": {
"op": "<=",
"value": "9.17.13.4344"
},
"features": [
"feature1"
]
}
]
}