Dzmitry Malyshau
aca3f1e64d
Fix compile warnings when no features are selected
2019-06-13 11:26:44 -04:00
John W. Bruce
057719fdf5
Add Naïve Debug Derives Where Possible
...
This adds #[derive(Debug)] to all public structs and enums possible.
This also required adding it to some private types that they
transitively depend on. However, the following types depend on types
from external crates that do not implement Debug:
* device::Device
* hub::Hub
* swap_chain::Surface
* swap_chain::SwapChain
To support these types, we would need to use either custom Debug impls
or something like Derivative.
This helps improve the situation in #76 .
2019-06-07 14:19:05 -07:00
kyren
af9aa78e3a
Try to keep the API slightly closer to the standard API
...
by making InstanceId a type alias to SurfaceId
2019-05-21 17:40:41 -04:00
kyren
8680195c91
Add gfx-backend-gl support
...
Also adds glutin-specific support methods to wgpu-native
2019-05-19 15:10:52 -04:00
Dzmitry Malyshau
1875523a6a
Rust formatting pass
2019-05-14 13:00:00 -04:00
Dzmitry Malyshau
6a1dcb9565
API update with naming, formats, and extra fields
2019-05-14 10:31:25 -04:00
Dzmitry Malyshau
664fcdc1fa
Add GPU timeout, fix active submission processing order
2019-05-09 14:59:28 -04:00
psincf
2e30c611ae
Make IdentityManager strongly typed
2019-05-04 01:20:56 +02:00
psincf
10547b937f
add serde into scope and fix wgpu-remote
2019-05-01 13:31:56 +02:00
psincf
565e5fdfeb
make trait TypedId:From<Id>
2019-05-01 12:15:23 +02:00
psincf
bbef2b7622
Put new_id! in define_id!
2019-05-01 11:55:28 +02:00
psincf
bfc983a8cc
Clean code
2019-05-01 11:55:28 +02:00
psincf
44cf64495a
Use strong type
2019-05-01 11:55:28 +02:00
Dzmitry Malyshau
61fca00f34
Remove wgpu-bindings in favor of configuration scripts
2019-04-30 12:45:05 -04:00
Dzmitry Malyshau
0011d9f4ff
Global manager for instance names on the remote client
2019-04-30 09:19:40 -04:00
Dzmitry Malyshau
52ee3e019c
Remote example and improved header, tested on CI
2019-04-29 22:41:09 -04:00
Joshua Groves
a55502c1e2
Remove winit from bindings generation
2019-03-07 12:37:50 -07:00
Tristam MacDonald
1fe59e71db
run cargo fmt
2019-03-05 20:41:24 -08:00
Dzmitry Malyshau
d631b2c6f2
Fix depth clamping semantics
2019-02-26 22:36:58 -05:00
Dzmitry Malyshau
ce08429729
Make Id serializable
2019-02-26 10:12:11 -05:00
Dzmitry Malyshau
e16ceafb81
Epoch tracking of indices
2019-02-26 10:12:11 -05:00
Dzmitry Malyshau
bd0de53f8e
First bits of wgpu-remote
2019-02-26 10:10:07 -05:00
Dzmitry Malyshau
c21420399a
Refactored tracking, now includes the views
2019-02-22 12:59:29 -05:00
Dzmitry Malyshau
f2a0e6fe15
Swapchain resize, merged with the surface
2019-02-21 15:59:24 -05:00
Dzmitry Malyshau
00e0347b8c
Renamed the impl methods, switched structure argumetns from references to contained items
2019-02-15 10:13:04 -05:00
Dzmitry Malyshau
2e21285434
Separate object identity from storage
2019-02-14 14:28:55 -05:00
Dzmitry Malyshau
844d371989
Command encoder interface
2019-02-12 16:48:56 -05:00
Dzmitry Malyshau
fb6a91589e
native: simple bind group creation
2019-01-21 16:18:56 -05:00
Dzmitry Malyshau
5deb6e2047
DX11 support
2019-01-17 23:03:11 -05:00
Dzmitry Malyshau
c868db2cc7
Windowing in the triangle example, more presentation bits
2019-01-17 09:42:59 -05:00
Dzmitry Malyshau
e32112a89a
Swapchain exposed on Rust side
2019-01-16 09:15:56 -05:00
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
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
Dzmitry Malyshau
d4c415f666
Improve locking safety for Registry
2018-11-27 11:06:22 -05:00
Joshua Groves
f4cd450687
Disable rendy temporarily
2018-11-11 12:02:40 -07:00
Dzmitry Malyshau
39186c9c7b
Add reference counting to objects
2018-11-02 16:45:10 -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
08a1bd4bc7
Render pass creation
2018-10-25 17:32:57 -04:00
Dzmitry Malyshau
b27650bfcd
Buffer transitions for a render pass
2018-10-19 12:07:07 -04:00
Dzmitry Malyshau
0fca6930d9
Basic resource tracking
2018-10-19 10:34:19 -04:00
Joshua Groves
6fb3b06303
Add rendy and create textures
2018-10-06 22:27:02 -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