Commit Graph

137 Commits

Author SHA1 Message Date
21ba30e4b4 build: prefer iosfwd over iostream 2018-03-22 16:13:05 +11:00
6f429c1e35 traits: use new util::variadic location 2018-03-15 23:50:14 +11:00
41fb2a0284 build: silence type shortening warnings under clang 2018-01-18 11:57:08 +11:00
3d2e7e647c util: move cast functions into util::cast 2018-01-16 15:12:54 +11:00
660e325e5f build: remove unnecessary cmake module 2018-01-10 17:30:44 +11:00
e0f107a599 build: update for newest libutil api 2018-01-10 17:30:04 +11:00
e56b8573df hello: avoid differing signed comparisons 2017-11-23 17:30:53 +11:00
98d30a560e hello: use new colour coordinate type names 2017-11-23 17:30:36 +11:00
d876e113f8 cmake: bump for optimisation flag changes 2017-11-22 17:51:46 +11:00
8db4f7f421 build: translate more functionality to c++17 2017-09-19 18:22:40 +10:00
3b1019625e object: use implicit native casting where possible 2017-09-14 13:14:36 +10:00
a303e5615a build: quick tests for vk::native support 2017-09-14 02:14:32 +10:00
fe6a28b99c except: map the arguments to try_func through vk::native 2017-09-14 02:14:06 +10:00
6b3d259642 fwd: add missing object and owned_ptr declarations 2017-09-14 02:13:41 +10:00
f4c3d1cba1 traits: add native conversion functions 2017-09-14 02:13:17 +10:00
c3fc537774 device_memory: add simple map objects 2017-09-14 01:39:38 +10:00
300ac66d16 callback: add debug callback object 2017-09-14 00:31:23 +10:00
cb8d895ec5 misc: bump copyright header years 2017-09-13 23:26:15 +10:00
93ea18dbdd hello-tool: use vk::pipline<T> 2017-09-13 16:52:46 +10:00
7c7192842e object: add make_owned for SelfT, OwnerT args 2017-09-13 16:52:16 +10:00
e284512d0d object: rename T as SelfT for owned_ptr 2017-09-13 16:51:52 +10:00
e87ad28599 object: take constref to simplify rval passing 2017-09-13 16:51:17 +10:00
0ccbfc1cbe traits: use wrapper_traits for wrapper create/destroy indirection 2017-09-13 16:51:07 +10:00
4ecac0648b traits: use a MAP to define is_native 2017-09-12 14:24:21 +10:00
47bcb065c5 pipeline: parameterise on bindpoint 2017-09-12 14:24:04 +10:00
93b3fdedd8 build: rename MAP as MAP0 2017-09-12 14:23:22 +10:00
1b293d9a4e object: add more wrapper types 2017-09-10 13:54:27 +10:00
88b76357fc hello-tool: use owned semaphores 2017-09-09 15:46:37 +10:00
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