| 1 | <!DOCTYPE html> |
| 2 | <meta charset="utf-8"> |
| 3 | <title>0 A.D. report service</title> |
| 4 | <style> |
| 5 | body { |
| 6 | font-size: 12px; |
| 7 | font-family: sans-serif; |
| 8 | } |
| 9 | |
| 10 | b { |
| 11 | color: red; |
| 12 | } |
| 13 | </style> |
| 14 | |
| 15 | <p>(<a href="{% url userreport.views.report_opengl_index %}">Back to index page.</a>)</p> |
| 16 | |
| 17 | <p>The <a href="{% url userreport.views.report_opengl_json %}">JSON data</a> currently |
| 18 | has the format shown below.</p> |
| 19 | |
| 20 | <p>Each entry in the outer array is a single distinct set of device features |
| 21 | (array of <code>"extensions"</code> plus hash of implementation-dependent <code>"limits"</code>).</p> |
| 22 | |
| 23 | <p>Each feature set is associated with an array of <code>"devices"</code>. |
| 24 | For each of those devices, we have received a report containing that particular feature set; |
| 25 | this is effectively just a compression mechanism so we don't have to duplicate the entire |
| 26 | feature set description when dozens of devices have identical features.</p> |
| 27 | |
| 28 | <p>Each device has an <code>"os"</code> (<code>"Windows"</code>, <code>"Linux"</code>, <code>"OS X"</code>), |
| 29 | a <code>"renderer"</code> (from <code>GL_RENDERER</code>), |
| 30 | a <code>"vendor"</code> (from <code>GL_VENDOR</code>), |
| 31 | and a <code>"driver"</code> (typically derived from the appropriate DLL on Windows, |
| 32 | or sometimes a list of lots of DLLs if we can't figure out which is appropriate, |
| 33 | or derived from the full <code>GL_VERSION</code> string on Linux).</p> |
| 34 | |
| 35 | <pre> |
| 36 | [ |
| 37 | { |
| 38 | "devices": [ |
| 39 | { |
| 40 | "driver": "6.14.10.8494", |
| 41 | "os": "Windows", |
| 42 | "renderer": "AMD 760G", |
| 43 | "vendor": "ATI Technologies Inc." |
| 44 | } |
| 45 | ], |
| 46 | "extensions": [ |
| 47 | "GL_AMD_performance_monitor", |
| 48 | <b>...</b> |
| 49 | "WGL_EXT_swap_control" |
| 50 | ], |
| 51 | "limits": { |
| 52 | "GL_ALIASED_LINE_WIDTH_RANGE[0]": "1", |
| 53 | <b>...</b> |
| 54 | "GL_VERTEX_PROGRAM_ARB.GL_MAX_PROGRAM_TEMPORARIES_ARB": "160" |
| 55 | } |
| 56 | }, |
| 57 | { |
| 58 | "devices": [ |
| 59 | { |
| 60 | "driver": "6.14.10.10057", |
| 61 | "os": "Windows", |
| 62 | "renderer": "AMD M880G with ATI Mobility Radeon HD 4200", |
| 63 | "vendor": "ATI Technologies Inc." |
| 64 | }, |
| 65 | { |
| 66 | "driver": "6.14.10.10179", |
| 67 | "os": "Windows", |
| 68 | "renderer": "AMD M880G with ATI Mobility Radeon HD 4250", |
| 69 | "vendor": "ATI Technologies Inc." |
| 70 | }, |
| 71 | { |
| 72 | "driver": "3.3.10188", |
| 73 | "os": "Linux", |
| 74 | "renderer": "ATI Mobility Radeon HD 3400 Series", |
| 75 | "vendor": "ATI Technologies Inc." |
| 76 | }, |
| 77 | { |
| 78 | "driver": "6.14.10.10151", |
| 79 | "os": "Windows", |
| 80 | "renderer": "ATI Mobility Radeon HD 3400 Series", |
| 81 | "vendor": "ATI Technologies Inc." |
| 82 | }, |
| 83 | <b>...</b> |
| 84 | ], |
| 85 | "extensions": [ |
| 86 | "GL_AMDX_debug_output", |
| 87 | <b>...</b> |
| 88 | "WGL_EXT_swap_control" |
| 89 | ], |
| 90 | "limits": { |
| 91 | "GL_ALIASED_LINE_WIDTH_RANGE[0]": "1", |
| 92 | <b>...</b> |
| 93 | "GL_VERTEX_PROGRAM_ARB.GL_MAX_PROGRAM_TEMPORARIES_ARB": "160" |
| 94 | } |
| 95 | }, |
| 96 | <b>...</b> |
| 97 | } |
| 98 | </pre> |
| 99 |