Commit Graph

6825 Commits

Author SHA1 Message Date
Dzmitry Malyshau
95d18b01ca Add gfx-memory dependency 2018-09-14 09:09:36 -04:00
Dzmitry Malyshau
7d8577cb90 Obtain memory properties 2018-09-14 09:08:40 -04:00
Dzmitry Malyshau
edc8980a9a Add a simple example 2018-09-14 09:08:23 -04:00
Dzmitry Malyshau
e887fc5b93 Set up module hierarchy 2018-09-14 09:08:06 -04:00
Dzmitry Malyshau
f246d33bfe
Merge pull request #1 from grovesNL/backends
Add DX12 and Metal backends
2018-09-14 08:54:51 -04:00
grovesNL
3e5c304e91 Use snake case 2018-09-13 23:35:28 -06:00
Joshua Groves
c8849cfe63 Add DX12 and Metal backends 2018-09-13 20:24:45 -06:00
Dzmitry Malyshau
53aabad8b4 First bits of the API with extern C functions 2018-09-13 15:19:22 -04:00
Dzmitry Malyshau
0597949ff5
Initial commit 2018-09-13 15:18:51 -04:00
Dzmitry Malyshau
ed96c2b8e0 Transpiler skeleton and first bits of MSL support 2018-09-12 21:29:03 -04:00
Dzmitry Malyshau
d39bb42f9a
Initial commit 2018-09-12 21:26:50 -04:00
bors[bot]
6369df29e8 Merge #4
4: Factory, swapchain and more r=kvark a=msiglreith

Additionally renaming the crate to `d3d12`

Co-authored-by: msiglreith <m.siglreith@gmail.com>
2018-09-10 16:18:46 +00:00
msiglreith
bf7f2e6844 Address review comments 2018-09-10 18:17:37 +02:00
msiglreith
e6ba80cb39 Extend event and fence support 2018-09-08 14:02:52 +02:00
msiglreith
908c29ed7e Add swapchain handling and 2d RTV creation 2018-09-08 14:02:39 +02:00
msiglreith
2aacc3b11b Add debug interface, factory creation and adapter enumeration 2018-09-08 14:02:27 +02:00
bors[bot]
4097a10997 Merge #3
3: Add struct for descriptor binding r=grovesNL a=msiglreith

A bit more safety for API users to pass the correct values.

Co-authored-by: msiglreith <m.siglreith@gmail.com>
2018-09-03 18:02:26 +00:00
msiglreith
56770dce92 Add struct for descriptor binding 2018-09-01 16:57:38 +02:00
bors[bot]
124f9fc100 Merge #2
2: Fix command signature uuid r=msiglreith a=msiglreith



Co-authored-by: msiglreith <m.siglreith@gmail.com>
2018-08-31 22:04:07 +00:00
msiglreith
5e4b1b8795 Fix command signature uuid 2018-09-01 00:02:39 +02:00
bors[bot]
15f6f69725 Merge #1
1: Initialize crate r=kvark a=msiglreith

The crate is supposed to be a Rust wrapper around D3D12.
Motivated by trying to hide the FFI behind a nicer to use layer (part of BAL).

It aims at providing a zero-cost abstraction without any overhead at all (no transition costs between Rust structs and D3D12 structs or allocations). The API closely ressambles the d3d12 interfaces and is strucutered accordingly.

It currently uses a custom `ComPtr` implementation which does not do any refcounting, therefore requires manual destruction when dropping.

Co-authored-by: msiglreith <m.siglreith@gmail.com>
2018-08-27 16:58:06 +00:00
msiglreith
0d3487960a Fix appveyor build 2018-08-26 16:10:27 +02:00
msiglreith
4da4b1e908 Setup crate structure and wrap first interface 2018-08-26 16:07:26 +02:00
msiglreith
a0c95c9462 Setup bors and CI 2018-08-26 15:59:25 +02:00
msiglreith
b1d6410c7d
Initial commit 2018-08-26 00:47:06 +02:00