summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-08-14 13:49:11 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2013-08-14 13:49:11 +0200
commit17339e4491d03f6ef482444ac4938248411d2964 (patch)
tree01e398f12db50aec531240940c4db624344c2a27 /tools
parent0ccbf50fdc51c94b24dbc5cf4712a3fe2bde808b (diff)
test2d: bitblt with 90 degree rotate
Diffstat (limited to 'tools')
-rwxr-xr-xtools/make_feature_comparison.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/tools/make_feature_comparison.py b/tools/make_feature_comparison.py
index 28add01..a0e4c3c 100755
--- a/tools/make_feature_comparison.py
+++ b/tools/make_feature_comparison.py
@@ -68,10 +68,10 @@ def main():
table = []
cur_row = 0
- table.append(Cell(cur_row, 0, 'Platform', cls='header'))
+ table.append(Cell(cur_row, 0, 'Platform', cls='header firstrow'))
cur_col = 1
for platform in gpus:
- table.append(Cell(cur_row, cur_col, platform['platform'], colspan=len(platform['chips'])))
+ table.append(Cell(cur_row, cur_col, platform['platform'], colspan=len(platform['chips']), cls='firstrow'))
cur_col += len(platform['chips'])
full_width = cur_col
@@ -115,7 +115,7 @@ def main():
table.append(Cell(cur_row, 0, 'Features', colspan=full_width, cls='category'))
for (field, bit) in all_features:
cur_row += 1
- table.append(Cell(cur_row, 0, bit.name, cls='subheader'))
+ table.append(Cell(cur_row, 0, bit.name, cls='subheader featurename'))
cur_col = 1
for platform in gpus:
for chip in platform['chips']:
@@ -152,11 +152,13 @@ table.gpu-comparison tr:nth-child(odd) td {
table.gpu-comparison tr:nth-child(even) td {
background-color: #d0d0ff;
}
-table.gpu-comparison td.header { text-align: left; width: 15em; }
-table.gpu-comparison td.subheader { text-align: left; padding-left: 20px; }
-table.gpu-comparison td.category { text-align: left; font-style: italic; }
+table.gpu-comparison tr td.firstrow { text-align: left; background-color: #F0F0F0; }
+table.gpu-comparison tr td.header { text-align: left; width: 15em; }
+table.gpu-comparison tr td.subheader { text-align: left; }
+table.gpu-comparison tr td.category { text-align: left; font-style: italic; background-color: #F0F0F0; }
table.gpu-comparison td.minus { color: #808080; }
table.gpu-comparison td.plus { }
+table.gpu-comparison .featurename { font-family:monospace; font-size: 10px; }
</style>
""")
out.write('</head>\n')