Commit Graph

8353 Commits

Author SHA1 Message Date
Dzmitry Malyshau
abf30b6f9d Readme update with fixed links and components description 2018-09-26 14:31:06 -04:00
Dzmitry Malyshau
53c75d6aed First bits of wgpu-rs 2018-09-26 14:31:03 -04:00
bors[bot]
fc3b6fc3cb Merge #10
10: Generate C header r=kvark a=grovesNL

Fixes #6

~~WIP: there are a few issues I've encountered already for the few functions we expose.~~

Co-authored-by: grovesNL <josh@joshgroves.com>
Co-authored-by: Joshua Groves <josh@joshgroves.com>
2018-09-25 03:21:59 +00:00
Joshua Groves
19ddb63e11 Fix remote get_mut 2018-09-24 21:20:03 -06:00
Joshua Groves
7e6765108b Move mutex inside registry 2018-09-24 12:39:49 -06:00
Joshua Groves
7d35607ec1 Add remote feature to control ID type 2018-09-23 23:05:12 -06:00
Joshua Groves
211189a090 Create shader modules from C 2018-09-23 19:29:44 -06:00
Joshua Groves
08ad0f40ed Create C example 2018-09-23 13:25:05 -06:00
grovesNL
d94d45cd80 Target C for header generation 2018-09-22 20:54:42 -06:00
grovesNL
105a71d19a Format all files 2018-09-22 16:55:01 -06:00
grovesNL
5759f769b0 Add initial bindings 2018-09-22 16:54:19 -06:00
bors[bot]
99edaa256f Merge #9
9: Restructure the repo to host multiple crates r=grovesNL a=kvark

As a follow-up, I'll rename this repository to just `wgpu`.

Co-authored-by: Dzmitry Malyshau <kvark@mozilla.com>
2018-09-19 01:57:51 +00:00
Dzmitry Malyshau
9ecc25e907 Restructure the repo to host multiple crates 2018-09-18 21:48:18 -04:00
Dzmitry Malyshau
de806ee108
Merge pull request #5 from grovesNL/resource
Add resource and binding model types
2018-09-18 14:45:10 -04:00
grovesNL
70a03b20a2 Add more command types 2018-09-17 23:12:30 -06:00
grovesNL
20b87711c1 Add binding model types 2018-09-17 22:54:45 -06:00
grovesNL
7a46f83a02 Add resource types 2018-09-17 22:32:40 -06:00
Dzmitry Malyshau
f42d8137c1
Merge pull request #4 from grovesNL/pipeline
Add pipeline types
2018-09-17 10:05:26 -04:00
grovesNL
625424407a Add pipeline types 2018-09-16 23:36:43 -06:00
Dzmitry Malyshau
affe65d2cf
Merge pull request #3 from grovesNL/fix-build
Fix build, general queue group, shaders
2018-09-16 14:08:34 -04:00
grovesNL
76af247a51 Create shader modules 2018-09-16 00:40:42 -06:00
grovesNL
569c5fbeb7 Create general queue group 2018-09-15 11:43:22 -06:00
grovesNL
ed01eb04ad Fix return value 2018-09-15 11:07:19 -06:00
grovesNL
4f513a3529 Update to latest gfx-memory 2018-09-15 11:04:36 -06:00
Dzmitry Malyshau
7c23f7f0a2 Create gfx-memory allocator 2018-09-14 12:01:56 -04:00
Dzmitry Malyshau
680918a11d CI scripts 2018-09-14 11:39:24 -04:00
Dzmitry Malyshau
9dc0db2836 Simple README 2018-09-14 09:23:15 -04:00
Dzmitry Malyshau
72dc47aba3 Hook up gfx-backend-empty 2018-09-14 09:16:30 -04:00
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