Commit Graph

146 Commits

Author SHA1 Message Date
a24d0a7ab2 traits: rename id_t/id_traits to native_t/native_traits
renaming for consistency both in this project and with cruft-gl.

it's easier to perform this change if we push some more code into the
object.hpp header so we don't need to talk about native_t too often.
2017-09-08 17:35:24 +10:00
c5591d654a traits: use a less verbose workaround for life_traits ODR issues 2017-09-08 17:34:56 +10:00
32a7f6e816 traits: add some comments to the major types 2017-09-08 17:22:56 +10:00
c44192d5d9 hello-tool: use make_owned for one queue 2017-09-08 17:14:40 +10:00
05e53b9161 object: ensure make_owned destroys its object 2017-09-08 17:14:40 +10:00
665a61a98e traits: more consistent traits naming scheme 2017-09-08 17:14:40 +10:00
b4e5689f87 device: clarify queue index parameter name 2017-09-08 17:11:54 +10:00
54e1255f9d object: rename id' as native' 2017-09-08 17:11:35 +10:00
14f79cabb9 traits: add cpp file for testing instantiations 2017-09-08 17:05:59 +10:00
c7302ab423 hello-tool: don't create redundant queues
vulkan prohibits queues with identical ids
2017-09-07 16:35:14 +10:00
1238ae4914 hello-tool: use correct name for colour space constant
apparently the name of this constant changed at some point?...
2017-09-07 15:55:04 +10:00
b13bbdd6f0 hello-tool: request less verbose debug messages 2017-09-07 15:54:31 +10:00
f81e86c23d hello-tool: fix callback sType 2017-09-07 15:54:15 +10:00
1f6f5f642b hello-tool: use surface object 2017-09-07 15:53:38 +10:00
d18362e542 physical_device: add surface queries 2017-09-07 15:53:05 +10:00
140a94759f object: add destroy method for owned types 2017-09-07 15:52:36 +10:00
8d26b2ac92 except: handle missing error codes 2017-09-07 15:52:27 +10:00
0371fb1fd2 surface: add initial VkSurface wrapper type 2017-09-07 15:51:51 +10:00
c5707ffc27 traits: add support for VkSurface 2017-09-07 15:51:11 +10:00
d0cffd56d3 traits: add DebugReportCallbackCreateInfo 2017-09-07 15:50:49 +10:00
b1972709de build: bump api xml 2017-09-07 15:46:42 +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
7fd225c0f1 hello-tool: automatically build spir shaders 2017-09-07 12:52:42 +10:00
828f43701a hello-tool: build geometry in buffer rather than shader 2017-09-07 12:52:03 +10:00
15fa664d34 physical_device: add memory_properties query 2017-09-07 12:51:00 +10:00
b1cf5a7c2a except: try_array should use non-zero result array size 2017-09-07 12:50:16 +10:00
acedac53d0 except: automatically detect ValueT for try_value 2017-09-07 12:49:58 +10:00
d2472e229c except: allow void functions in try_func 2017-09-07 12:48:47 +10:00
8e882fcc5c hello-tool: use try_array where applicable 2017-09-06 15:21:44 +10:00
364659b8af except: prefer fun references to func pointers 2017-09-06 13:46:52 +10:00
9a07fc2496 except: add try_array 2017-09-06 13:41:01 +10:00
83e7621b40 except: add try_func and try_query 2017-09-06 12:12:29 +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
4189cf6a66 hello-tool: add debug report stubs 2017-09-06 00:13:58 +10:00
61becdad93 hello-tool: simple triangle tool
Mostly a straight copy-paste job from vulkan-tutorial.com

The code is hideous (my fault, not theirs). Avert your eyes.
2017-09-05 17:20:42 +10:00
2224b781f2 build: expanded API coverage 2017-09-05 17:20:17 +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
79752421cb ostream: add stub ostream operator for VkQueueFlags 2017-09-04 14:49:38 +10:00
0aca2b3a9b instance: use default brace initialisation for missing param 2017-09-04 14:48:05 +10:00
78a0030c2c ostream: use make_infix for output iterators 2017-09-01 13:36:47 +10:00
2a61e8c4ea ostream: add queue_families to physical_device 2017-09-01 13:12:51 +10:00
7163123b71 physical_device: add queue_families query 2017-09-01 13:12:37 +10:00
0a84a4ebb3 object: briefly comment the enumerate method 2017-09-01 13:12:11 +10:00
b2702d994d instance: add application_info struct stub 2017-09-01 13:11:54 +10:00
d1de7478b3 instance: rename create_info as create_info_t 2017-09-01 12:52:02 +10:00
3d2229ea93 ostream: style and comments 2017-09-01 12:49:49 +10:00
5ef137fda4 info-tool: use the default constructor 2017-09-01 12:34:24 +10:00