Commit Graph

109 Commits

Author SHA1 Message Date
f64990d0c2 image_view: add minimal VkImageView wrapper 2017-09-09 15:46:08 +10:00
7bc8870e06 except: prefer safer try_foo style accessors 2017-09-09 15:34:27 +10:00
01ec49efe9 object: push enumerated::find into the header 2017-09-09 15:34:06 +10:00
b3274df3a9 except: split try_array into try_values/try_handles
sometimes we will need to coerce types from try_array into our own
wrapper types and it is a little difficult to express the required types
in the one template function.
2017-09-09 15:30:04 +10:00
d569113f8c except: add more explanatory comments 2017-09-09 13:44:24 +10:00
b2e1489762 hello-tool: use make_owned for all queues 2017-09-09 13:43:17 +10:00
8726ca81cb physical_device: prefer try_array over manual queries 2017-09-09 13:42:58 +10:00
7239fb26bf object: style 2017-09-08 18:10:57 +10:00
efd79aa5ff pipeline_cache: reverse cpp/hpp contents 2017-09-08 18:10:31 +10:00
cfef85034f object: style 2017-09-08 18:03:10 +10:00
272e46ff8a object: use more descriptive CRTP parameters 2017-09-08 17:58:13 +10:00
6e1ffd4d0e traits: add is_native/is_wrapper queries 2017-09-08 17:56:22 +10:00
f7c54e0b9d traits: define as many traits as possible through native types 2017-09-08 17:56:04 +10:00
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