Commit Graph

32 Commits

Author SHA1 Message Date
916bab6134 tools/spec: use preferred 'not in' syntax for PEP8 2019-01-05 15:14:41 +11:00
82b7bad661 tools/spec: avoid importing object 'as constant' 2019-01-05 15:14:41 +11:00
d288fe9b91 tools/spec: avoid shadowing variable 'type' 2019-01-05 15:14:41 +11:00
401b084306 tools/spec: remove dead code 2019-01-05 15:14:41 +11:00
408f278e29 tools/spec: remove trailing semicolons 2019-01-05 15:14:41 +11:00
a1e15882f6 tools/spec: conform argument spacing to PEP8 2019-01-05 15:14:41 +11:00
7aca56ce9e tools/spec: use more consistent block comment separators 2019-01-05 12:31:33 +11:00
e592afd8e0 tools/spec: don't raise strings as exceptions 2019-01-05 12:29:35 +11:00
babd86aa2b tools/spec: avoid block comment PEP8 warnings for subsections 2019-01-05 12:27:30 +11:00
06e29cb474 tools/spec: make main an actual function
This reduces variable shadowing across the rest of the file
2019-01-05 12:26:28 +11:00
09c9ff741a tools/spec: rename classes in CamelCase for PEP8 conformance 2019-01-05 12:14:15 +11:00
1710d6c8ce tools/spec: remove unused import 2019-01-05 12:13:50 +11:00
d13f684853 tools/spec: update whitespacing to conform to PEP8 2019-01-05 12:04:31 +11:00
fa2eed7e03 tools/spec: add some comments to the main function 2019-01-05 12:01:08 +11:00
7a5742bb57 tools/spec: add basic type hinting for write_foo functions 2019-01-05 12:00:56 +11:00
44edf5d00e tools/spec: remove unused enqueue_type function 2019-01-05 12:00:31 +11:00
05867df536 tools/spec: split the output code into subsections 2019-01-05 11:53:03 +11:00
d9c33b2d2c tools/spec: labelled unused variables as unused 2018-12-06 16:01:19 +11:00
d80fff482b icd/dispatch: add init method to extract proc query function 2018-11-05 15:04:04 +11:00
7e6e5dc1b1 tools/spec: redirect to appended device/instance vtables 2018-09-12 14:10:39 +10:00
b8f405c134 icd: add initial instance and device vtables 2018-09-10 13:21:02 +10:00
26c9c3f70d spec: add initial vtable stubs 2018-09-08 12:32:20 +10:00
9dfc951193 tools/spec: override the windows header with our own version 2018-08-27 14:21:44 +10:00
cf6ba5e462 icd: add stub loader definitions 2018-08-24 17:33:09 +10:00
4bd6cc648e tools/spec: specify target platforms via command line argument 2018-08-23 13:56:12 +10:00
751967619b spec: rewrite header generator to use Khronos repo directly 2018-06-23 12:41:51 +10:00
8b31167c7a spec-tool: correctly offset extension enum values 2017-09-07 15:46:21 +10:00
66354ace30 spec-tool: strip comments from pod members 2017-09-07 15:46:07 +10:00
dc7fa60e15 spec-tool: add type renaming and strong bitfields 2017-09-06 12:11:54 +10:00
65807dbb41 spec.py: provide a less ambiguous handle definition 2017-09-06 00:14:18 +10:00
116ed2044d tools/spec: bump spec.xml 2017-09-05 17:19:51 +10:00
863cdf4a35 spec-tool: add python based xml to hpp converter
XSLT1 is too hard to work with, and Khronos have an annoying tendency to
generate their spec such that it's not in dependency order. So we're
switching to python, and performing basic depedency analysis within a
new tool.

This should allow us to do more extensive type modifications and
annotations.
2017-09-04 15:08:54 +10:00