Commit Graph
58 Commits
Author SHA1 Message Date
Rukai e61b16f7ed Update to gfx hal 0.3 2019-08-11 09:39:52 +10:00
Dzmitry Malyshau 1ed15f94dc Add some more comments about Access and Token' 2019-07-04 23:02:22 -04:00
Dzmitry Malyshau 6085dcf33b Enforce the HUB lock order 2019-07-04 14:43:54 -04:00
Andrew Gaspar b47f01ea17 Address code review comments 2019-07-01 21:13:26 -06:00
Andrew Gaspar 0d555fb688 Add logic to pick highest performance GPU on DirectX 12
Always select the first GPU in Integrated-Low/Discrete-High category,
except when querying `LowPower`, in which case the last Discrete GPU
is used.
2019-06-29 16:50:41 -06:00
Dzmitry Malyshau 2d5e67d6d5 Basic data structure to track mip levels and layers of a texture 2019-06-12 12:15:51 -04:00
Alexis Sellier 6794333dba Expose and validate buffer offset alignment 2019-06-01 20:25:12 +02: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 5597846018 Update to gfx-hal 0.2 2019-05-13 11:07:28 -04:00
Dzmitry Malyshau 61fca00f34 Remove wgpu-bindings in favor of configuration scripts 2019-04-30 12:45:05 -04:00
Dzmitry Malyshau 52ee3e019c Remote example and improved header, tested on CI 2019-04-29 22:41:09 -04:00
Atul Bhosale af38d79d79 Format code using 'cargo fmt' 2019-04-26 22:01:47 +05:30
Dzmitry Malyshau 41141b1ae0 Wait for fences instead of device idle 2019-04-24 22:42:49 -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
Dzmitry Malyshau 451489025c Validate uniform buffer alignments, enforce map alignment 2019-03-20 14:43:25 -04:00
Dzmitry Malyshau 485894ca81 Enable windows in Travis 2019-03-19 10:49:30 -04:00
Dzmitry Malyshau 508b724dd7 Helpful error message on empty backend 2019-03-19 09:20:34 -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 5b129704a0 Storage indexing 2019-02-26 10:27:51 -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 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 1c95eef7a3 Depenency gfx update to 0.1.1 2019-02-05 09:45:52 -05:00
Dzmitry Malyshau 3d47436129 rust: vertex/index binding 2019-02-03 15:51:54 -05:00
Dzmitry Malyshau d4c8c881d0 gfx framework GLSL reading, most of the cube example 2019-02-02 22:48:53 -05:00
Dzmitry Malyshau e8e5938e06 Linux support for GLFW example 2019-01-24 12:33:34 -05:00
Joshua Groves 3d98457eb9 Add support for GLFW on Windows 2019-01-24 12:08:32 -05:00
Joshua Groves af1e240655 Add macOS surface creation 2019-01-24 12:08:32 -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 68cacd4829 native: basic surface and swapchain creation 2019-01-14 16:03:51 -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
Dzmitry Malyshau d4c415f666 Improve locking safety for Registry 2018-11-27 11:06:22 -05:00
Joshua Groves 4126241fff Use references for descriptors 2018-10-11 23:34:00 -06:00
Dzmitry Malyshau d713f3e380 Consolidate all the registries together 2018-10-02 12:18:54 -04:00
Joshua Groves 3975320543 Run cargo fmt 2018-09-28 07:21:07 -06:00
Joshua Groves 241aef131a Move register inside guard 2018-09-28 07:16:42 -06:00
Joshua Groves e3d7fda9c7 Simplify registry access 2018-09-28 00:13:11 -06:00
Joshua Groves aab17db5a1 Map rest of render pipeline descriptor 2018-09-28 00:08:44 -06:00
Dzmitry Malyshau 212cc386f3 wgn: command pools and buffer creation 2018-09-27 15:43:19 -04:00