Dzmitry Malyshau
538c23b039
Implement shutdown for the remote server
2019-10-25 22:56:52 -04:00
Dzmitry Malyshau
50997544c6
Formatting pass
2019-10-24 14:53:45 -04:00
Dzmitry Malyshau
41c433ed27
Refactor log usage
2019-10-24 14:53:07 -04:00
Dzmitry Malyshau
9c58a5d11a
Add license headers to all Rust sources
2019-10-04 15:24:17 -04:00
Joshua Groves
e430a4cf40
Fallback to D32 when D24 isn't available
2019-09-27 23:44:26 -06:00
Dzmitry Malyshau
050b716aef
Fix life cycle of swap chain framebuffers
2019-09-10 09:16:51 -04:00
Dzmitry Malyshau
5f1c432706
New swapchain model
2019-09-09 20:53:35 -04:00
Dzmitry Malyshau
988d78435a
Switch to use gfx-rs latest and greatest master
2019-09-06 10:05:53 -04:00
Dzmitry Malyshau
b414b9f373
Formatting pass
2019-08-27 21:11:07 -04:00
Dzmitry Malyshau
e84ae4a4b2
Feature-less backend selection
...
This PR removes optional backend features in favor of run-time
selection at the `request_adapter` entry point. Adapters from all
supported gpu backends on the platform are reported.
It also makes gfx-rs dependency to be public (for now).
2019-08-27 20:55:49 -04:00
John W. Bruce
25834b0312
Derive Debug for All Remaining Types
...
With gfx-hal 0.2.1 and the various backend releases on 2019-06-28, all
of the gfx-hal types that wgpu depends on implement Debug. Thus, some
types that could not derive Debug in #216 can now derive Debug.
This patch also adds Debug implementations for a few types that were
recently added to wgpu.
Fixes #76 .
2019-07-04 17:49:21 -07:00
Dzmitry Malyshau
bc7b842f12
Moving the code to use the new tracker API
2019-06-12 12:27:53 -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
Dzmitry Malyshau
c0c2cdf31c
Clear command buffer tracker
2019-05-29 23:49:29 -04:00
Dzmitry Malyshau
1875523a6a
Rust formatting pass
2019-05-14 13:00:00 -04:00
Atul Bhosale
af38d79d79
Format code using 'cargo fmt'
2019-04-26 22:01:47 +05:30
Dzmitry Malyshau
1f4d67aeb2
Track async mapping properly
2019-04-22 13:57:35 -04:00
Dzmitry Malyshau
b96983a56b
Fix submission tracking
2019-03-31 19:59:21 -04:00
Dzmitry Malyshau
0b51c8a9d2
Clean up use statements.
...
Use copyless::VecHelper and ArrayVec for some things.
Refactor map_buffer internals.
2019-03-21 12:05:53 -04:00
Tristam MacDonald
1fe59e71db
run cargo fmt
2019-03-05 20:41:24 -08:00
Dzmitry Malyshau
c21420399a
Refactored tracking, now includes the views
2019-02-22 12:59:29 -05:00
Dzmitry Malyshau
844d371989
Command encoder interface
2019-02-12 16:48:56 -05:00
Dzmitry Malyshau
32f7ae4f28
Basic buffer creation
2019-01-21 16:18:56 -05:00
Dzmitry Malyshau
bb7fee796d
get_with_usage helper
2019-01-21 16:18:56 -05:00
Dzmitry Malyshau
2221b112c7
Fix command buffer recycling
2019-01-17 21:11:01 -05:00
Dzmitry Malyshau
b67a0bee0d
Prenentation logic and bits of frame synchronization
2019-01-14 16:41:14 -05: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
0c1cf3621a
Update gfx
2018-11-11 12:36:37 -07:00
Dzmitry Malyshau
39186c9c7b
Add reference counting to objects
2018-11-02 16:45:10 -04:00
Dzmitry Malyshau
b27650bfcd
Buffer transitions for a render pass
2018-10-19 12:07:07 -04:00
Dzmitry Malyshau
5462690c4a
Chain multiple native command buffers per logical one
2018-10-18 16:27:35 -04:00
Dzmitry Malyshau
e4341603d7
Keep a reference to DeviceID in the command buffer
2018-10-01 11:41:55 -04:00
Dzmitry Malyshau
71b170979d
render pass begin/end
2018-10-01 09:49:34 -04:00
Joshua Groves
3975320543
Run cargo fmt
2018-09-28 07:21:07 -06:00
Dzmitry Malyshau
212cc386f3
wgn: command pools and buffer creation
2018-09-27 15:43:19 -04:00