Commit Graph
72 Commits
Author SHA1 Message Date
Dzmitry Malyshau ba8828eb5b Refactor includes, collect swapchain links on RP begin 2019-01-15 09:09:29 -05:00
Dzmitry Malyshau b67a0bee0d Prenentation logic and bits of frame synchronization 2019-01-14 16:41:14 -05:00
Dzmitry Malyshau 630e86f120 Link textures to swap chains 2019-01-14 16:09:29 -05:00
Dzmitry Malyshau 1859141a99 Rename ActiveFrame to ActiveSubmission, progress with swapchain images 2019-01-14 16:05:55 -05:00
Dzmitry Malyshau 68cacd4829 native: basic surface and swapchain creation 2019-01-14 16:03:51 -05:00
porky11 1c52a10c54 remove remaining unnecessary extern crate 2019-01-12 20:19:08 +01:00
porky11 4acd1edbc3 use macro explicitly instead of using macro_use 2019-01-12 20:17:04 +01:00
porky11 b61298a884 remove some unnecessary and 2019-01-12 20:11:27 +01:00
porky11 6f3499ecae port to 2018 edition 2019-01-12 19:58:24 +01:00
porky11 a5a5b88014 use rustfmt for formatting after edits 2019-01-12 19:15:48 +01:00
porky11 6675a4d3e4 update to current version of gfx 2019-01-12 19:03:17 +01:00
Joshua Groves 446fdad33e Add repr(transparent) to buffer usage flags 2018-12-03 21:21:19 -07:00
Dzmitry Malyshau f4bb1903bf Fix deadlock in barrier insertion 2018-12-01 22:53:21 -05:00
Dzmitry Malyshau d4c415f666 Improve locking safety for Registry 2018-11-27 11:06:22 -05:00
Michael-Lai fx 860e68b59b Fix TextureId 2018-11-12 21:52:36 +08:00
Michael-Lai fx 0a4a71b345 Add no_mangle to extern "C" fn 2018-11-12 11:41:34 +08:00
Joshua Groves 0c1cf3621a Update gfx 2018-11-11 12:36:37 -07:00
Joshua Groves f4cd450687 Disable rendy temporarily 2018-11-11 12:02:40 -07:00
Dzmitry Malyshau a04df23a10 Track resources used in commands by the device 2018-11-02 22:00:11 -04:00
Dzmitry Malyshau d597e97db8 Rewrite the consume() to use the last usage properly 2018-11-02 21:44:17 -04:00
Dzmitry Malyshau b03d7de335 Actual cleanup of resources on submission 2018-11-02 16:45:10 -04:00
Dzmitry Malyshau 39186c9c7b Add reference counting to objects 2018-11-02 16:45:10 -04:00
Dzmitry Malyshau 6b9be3c08e Fully adopt bitflags for ShaderStageFlags and ColorWriteFlags 2018-10-30 21:51:16 -04:00
Dzmitry Malyshau 4f07ce8248 Cache framebuffers by the Device 2018-10-30 21:23:22 -04:00
Dzmitry Malyshau d206de2049 Use render pass cache at the begin_render_pass 2018-10-30 16:47:44 -04:00
Dzmitry Malyshau fee276afa5 Cache render passes on Device level 2018-10-30 16:37:36 -04:00
Dzmitry Malyshau f3cfd2e09c Transition between command buffers 2018-10-26 22:15:48 -04:00
Dzmitry Malyshau 879cd64b30 Texture view creation in Rust and the example 2018-10-26 12:04:20 -04:00
Dzmitry Malyshau 1137ad2f70 native: Texture view creation 2018-10-26 11:47:01 -04:00
Dzmitry Malyshau de4f2b70eb Framebuffer creation and actual begin_render_pass 2018-10-25 22:29:27 -04:00
Dzmitry Malyshau 08a1bd4bc7 Render pass creation 2018-10-25 17:32:57 -04:00
Dzmitry Malyshau 32b92afa5c Root Makefile 2018-10-22 12:01:42 -04:00
Dzmitry Malyshau 0cad1f5d56 Basic texture transitions 2018-10-19 12:31:36 -04:00
Dzmitry Malyshau b27650bfcd Buffer transitions for a render pass 2018-10-19 12:07:07 -04:00
Dzmitry Malyshau f9cd55ed59 Share use_xxx implementations in the tracker 2018-10-19 10:50:59 -04:00
Dzmitry Malyshau 0fca6930d9 Basic resource tracking 2018-10-19 10:34:19 -04:00
Dzmitry Malyshau 5462690c4a Chain multiple native command buffers per logical one 2018-10-18 16:27:35 -04:00
Joshua Groves 277bef37c7 Minor refactor 2018-10-11 23:56:56 -06:00
Joshua Groves 4126241fff Use references for descriptors 2018-10-11 23:34:00 -06:00
Joshua Groves 6fb3b06303 Add rendy and create textures 2018-10-06 22:27:02 -06:00
Joshua Groves 45c5709b1d Map usage flags 2018-10-06 22:26:28 -06:00
Joshua Groves beac74c481 Map texture dimension and size 2018-10-06 22:26:28 -06:00
Dzmitry Malyshau 45def95763 native: basic compute resource binding 2018-10-02 21:41:10 -04:00
Dzmitry Malyshau c7bb1b453e native: use iterators for descriptor set layouts 2018-10-02 21:41:10 -04:00
Dzmitry Malyshau dd681d2c77 Compute dispatch call 2018-10-02 21:41:10 -04:00
Dzmitry Malyshau 1752754489 Modularize the registry 2018-10-02 12:31:02 -04:00
Dzmitry Malyshau d713f3e380 Consolidate all the registries together 2018-10-02 12:18:54 -04:00
Dzmitry Malyshau 1fd05608fb native: compute pass boilerplate 2018-10-02 11:43:26 -04:00
Dzmitry Malyshau e4341603d7 Keep a reference to DeviceID in the command buffer 2018-10-01 11:41:55 -04:00
Dzmitry Malyshau da95fe6b1e Rust side render pass begin/end 2018-10-01 10:11:44 -04:00