| 1 | {% extends "reports/base.html" %} |
| 2 | {% load report_tags %} |
| 3 | {% load cycle %} |
| 4 | |
| 5 | {% block css %} |
| 6 | th.alt, td.alt { background: #f6f6f6; } |
| 7 | td.true { background: #3f3; } |
| 8 | td.false { background: #f33; } |
| 9 | td.true.alt { background: #2e2; } |
| 10 | td.false.alt { background: #e22; } |
| 11 | td.changed { font-weight: bold; } |
| 12 | |
| 13 | .devices { |
| 14 | vertical-align: top; |
| 15 | } |
| 16 | |
| 17 | .devices ul { |
| 18 | margin: 0; |
| 19 | padding: 0; |
| 20 | list-style-type: none; |
| 21 | font-weight: normal; |
| 22 | font-size: smaller; |
| 23 | white-space: pre; |
| 24 | } |
| 25 | {% endblock %} |
| 26 | |
| 27 | {% block title %} |
| 28 | OpenGL capabilities report: {{ selected|join:' vs. ' }} |
| 29 | {% endblock %} |
| 30 | |
| 31 | {% block heading %} |
| 32 | OpenGL capabilities report |
| 33 | {% endblock %} |
| 34 | |
| 35 | {% block content %} |
| 36 | |
| 37 | <p>(<a href="{% url userreport.views.report_opengl_index %}">Back to index page.</a>)</p> |
| 38 | |
| 39 | <p>The table here shows the features reported for devices with the following GL_RENDERER strings:</p> |
| 40 | <ul> |
| 41 | {% for r in gl_renderers|sort %}<li>{{ r }}</li> |
| 42 | {% endfor %} |
| 43 | </ul> |
| 44 | <p>Different driver versions may have different feature sets, |
| 45 | and we may have conflicting reports from the same driver version. |
| 46 | There is a column for each distinct set of reported features. |
| 47 | The column heading gives the short device name, and the set of |
| 48 | driver versions with that feature set.</p> |
| 49 | |
| 50 | <p>Green cells indicate supported extensions; red cells indicate non-supported extensions. |
| 51 | Cells are marked with bold when their value differs from the previous cell in the same row.</p> |
| 52 | |
| 53 | |
| 54 | <table class=device-status> |
| 55 | <tr> |
| 56 | <td> |
| 57 | |
| 58 | {% for ext in all_exts %} |
| 59 | {% if not forloop.counter0|mod:30 %} |
| 60 | <tr><td> |
| 61 | {% for device in devices %} |
| 62 | <th class="devices{% safe_cycle ' alt' '' %}"> |
| 63 | {{ device.0.device }} ({{ device.0.os }}): |
| 64 | <ul>{% for driver in device.1 %}<li>{{ driver }}{% endfor %}</ul> |
| 65 | {% endfor %} |
| 66 | {% endif %} |
| 67 | |
| 68 | <tr title="{{ ext }}"> |
| 69 | <th><nobr><a href="{% url userreport.views.report_opengl_feature ext %}">{{ ext }}</a> <a href="{{ ext|glext_spec_link }}">(spec)</a></nobr> |
| 70 | {% for device in devices %} |
| 71 | <td class="{% if ext in device.2.1 %}true{% else %}false{% endif %}{% safe_cycle ' alt' '' %}"> |
| 72 | {% endfor %} |
| 73 | {% endfor %} |
| 74 | |
| 75 | {% for limit in all_limits %} |
| 76 | {% if not forloop.counter|mod:30 %} |
| 77 | <tr><td> |
| 78 | {% for device in devices %} |
| 79 | <th class="devices{% safe_cycle ' alt' '' %}"> |
| 80 | {{ device.0.device }} ({{ device.0.os }}): |
| 81 | <ul>{% for driver in device.1 %}<li>{{ driver }}{% endfor %}</ul> |
| 82 | {% endfor %} |
| 83 | {% endif %} |
| 84 | |
| 85 | <tr title="{{ limit }}"> |
| 86 | <th><nobr><a href="{% url userreport.views.report_opengl_feature limit %}">{{ limit|prettify_gl_title }}</a></nobr> |
| 87 | {% for device in devices %} |
| 88 | <td class="{% safe_cycle 'alt' '' %}{% ifchanged device.2.0|dictget:limit %}{% if not forloop.first %} changed{% endif %}{% endifchanged %}">{{ device.2.0|dictget:limit }} |
| 89 | {% endfor %} |
| 90 | {% endfor %} |
| 91 | </table> |
| 92 | |
| 93 | <h2>Compare with other devices</h2> |
| 94 | <form action="{% url userreport.views.report_opengl_device_compare %}" method=get> |
| 95 | <ul> |
| 96 | {% for d in all_devices|sort %} |
| 97 | <li><label><input name=d value="{{ d }}" type=checkbox{% if d in selected %} checked{% endif %}> {{ d }}</label> |
| 98 | {% endfor %} |
| 99 | </ul> |
| 100 | <input type=submit value="Compare selected devices"> |
| 101 | </form> |
| 102 | |
| 103 | {% endblock %} |