Dzmitry Malyshau
450defb743
Fix panic in surface cleanup
2021-08-13 02:09:43 -04:00
Dzmitry Malyshau
4a1ae0d7ec
Issue surface texture transitions
2021-08-11 20:58:42 -04:00
Dzmitry Malyshau
dffe1f1793
Return a texture by the surface
2021-08-11 20:58:42 -04:00
Dzmitry Malyshau
f78061bcef
Merge swap chain into surface
2021-08-11 20:58:42 -04:00
Riccardo Zaglia
2657849977
[Vulkan] Initialize wgpu objects from raw handles
2021-07-25 21:51:40 +02:00
Dzmitry Malyshau
0df804e9c2
hal/dx12: bunch of validation fixes
2021-07-13 02:54:37 -04:00
Dzmitry Malyshau
c01f6a557e
hal/dx12: enable the backend in wgpu-core
2021-07-13 01:01:19 -04:00
Dzmitry Malyshau
d2a4af35af
Generation of memory reports for Hubs
2021-07-03 01:51:04 -04:00
Dzmitry Malyshau
568ac3fa24
Switch all bitflag names to plural
2021-06-30 14:43:36 -04:00
Dzmitry Malyshau
403ff6faf8
hal/gles: Update glow and fill up the missing methods
2021-06-30 02:29:29 -04:00
Dzmitry Malyshau
952173efde
Enable Gles backend, add checks for downlevel flags
2021-06-30 02:29:28 -04:00
Dzmitry Malyshau
cfed43face
Update submission indices on all stateless resources
2021-06-24 01:40:18 -04:00
Gordon-F
2873ac32d9
Remove MPL 2.0 header in files
2021-06-19 21:06:08 +03:00
Dzmitry Malyshau
7410b700d6
fix swapchain recycling, copies, device destruction, RODS
2021-06-16 23:18:50 -04:00
Dzmitry Malyshau
d8979cad4a
hal/vk: command pools, clippy warnings
2021-06-14 10:26:40 -04:00
Dzmitry Malyshau
c2bb2d5dfc
Experimental command pool API
2021-06-14 01:58:09 -04:00
Dzmitry Malyshau
a421c1c8b6
Instance plumbing
2021-06-08 11:46:53 -04:00
Dzmitry Malyshau
ff2a3e84fc
update synchronization, fix last errors in wgc
2021-06-08 02:03:44 -04:00
Dzmitry Malyshau
0a82c232ba
hal: port the rest of wgpu-core
2021-06-08 00:46:08 -04:00
Dzmitry Malyshau
0ea4cac04b
Rework shader and pipeline creation
2021-06-08 00:46:08 -04:00
Dzmitry Malyshau
569cd0cdd6
WIP new wgpu-hal
2021-06-08 00:46:08 -04:00
Connor Fitzgerald
be5adfa584
Fix segfault caused by improper drop order
2021-05-18 01:47:24 -04:00
Dzmitry Malyshau
6ff618aafb
Big refactor of the profiling usage
2021-04-29 02:06:58 -04:00
Dzmitry Malyshau
8505a39f6a
Make implicit ids actually errors to start with
2021-04-20 17:32:40 -04:00
Dzmitry Malyshau
de86f2a72f
Mark unused implicit BGL ids as vacant
2021-04-19 23:35:33 -04:00
Connor Fitzgerald
cf6f9c3ca8
Move from tracing to log + profiling
2021-03-17 01:22:30 -04:00
Dzmitry Malyshau
231bba03a1
Lint all the things
2021-03-12 12:39:04 -05:00
Dzmitry Malyshau
10245cece9
Early tracing of swapchain-related things, clean up the hub API
2021-03-03 19:59:29 -05:00
Dzmitry Malyshau
7c1db12cdc
Refactor implicit BGLs to support early tracing
2021-03-03 16:48:23 -05:00
Dzmitry Malyshau
f7e1304c38
Expose CA surface creation
2021-03-03 15:43:55 -05:00
Dzmitry Malyshau
199e7e5f3b
Trace pipeline creation before it actually happens
2021-03-03 15:18:48 -05:00
bors[bot] and Dzmitry Malyshau
4f2d0bb8c8
Merge #1151
...
1151: Update gfx and naga to gfx-6 tag r=cwfitzgerald a=kvark
**Connections**
Fixes #1149
Regression from https://github.com/gfx-rs/gfx/pull/3573
**Description**
The physical devices held references to `RawInstance` in Vulkan backend, and we weren't cleaning them up.
Note: an alternative fix could be in `gfx-backend-vulkan` - to move the `Entry` into `RawInstance`, thus delaying the shutdown. I didn't go this way because that would be less explicit.
**Testing**
Tested on wgpu-rs examples
Co-authored-by: Dzmitry Malyshau <dmalyshau@mozilla.com >
2021-01-16 06:39:44 +00:00
Dzmitry Malyshau
87c8cb8fde
Update gfx and naga to gfx-6 tag, fix the hub clears
2021-01-16 01:38:57 -05:00
Connor Fitzgerald
a22037ced0
Add pipeline statistics and timeline queries
2021-01-16 00:48:54 -05:00
Dzmitry Malyshau
394135f725
Fix and improve object labels and command markers
2020-12-15 11:28:11 -05:00
Mikko Lehtonen
4498f172cc
Retain labels for resources
...
As a braking api change, adds also label for the error id generation,
for labeling invalid ids too.
Also adds query methods the label.
2020-11-19 00:09:21 +02:00
Dzmitry Malyshau
ac89fbab8a
Drop surfaces and adapters
2020-11-13 18:39:14 -05:00
Zicklag
f7f1ff699a
Implement OpenGL Backend For Unix Platforms
2020-11-04 20:32:33 -06:00
qthree
c3a5144ae0
Fix regression in device_create_swap_chain
...
It was caused by new behavior of Storage::remove.
2020-10-20 13:33:03 +07:00
Adam Nemecek
db1870e7fc
use self
2020-09-25 19:11:46 -07:00
Kunal Mohan
d423d3d5d7
Allow dropping of error resources ( #925 )
...
* Allow dropping of error resources
* Unregister error resources without panic
Panic when removing Vacant element or when index is out of range
* address review comments
2020-09-13 21:17:53 -04:00
Dzmitry Malyshau
eed8bf84ef
Playtest for binding a group
2020-09-04 23:47:24 -04:00
Zicklag
7572dbeaf9
Use CFG Aliases to Replace the backends! Macro
...
Uses the `cfg_aliases` crate to replace the `backends!` macro and
provide a more natural way to gate backend specific code.
2020-08-29 21:55:17 -05:00
Dzmitry Malyshau
f164fd1f46
Bump BGL refcounts on getting them from pipelines
2020-08-10 10:11:31 -04:00
Dzmitry Malyshau
55064ace4c
New get_bind_group_layout functions
2020-08-09 18:33:47 -04:00
Dzmitry Malyshau
a9b8a99e19
Create implicit layouts for compute pipelines
2020-08-09 08:33:33 -04:00
Dzmitry Malyshau
dbd7e2c579
Separate valid internal IDs from external ones
2020-08-04 11:16:59 -04:00
Dzmitry Malyshau
bf862b7907
Clarity renames according to the Gecko review
2020-07-28 16:58:28 -04:00
Connor Fitzgerald
cb485f3798
Convert all logging to tracing and add fmt logger
2020-07-25 19:33:21 -04:00
Dzmitry Malyshau
dd38c7ba03
Make register methods public again
2020-07-12 14:39:38 -04:00