Wumpf
f62d0d5edc
Native Extension: Expose fill buffer & clear image ( #1335 )
...
* Add command buffer fill buffer method
* Added test for buffer fill
* Added image clear + test
* image/buffer clear methods are now pure clear to zero
* fix cargo clippy & int type issues
* clear buffer alignment is now given by COPY_BUFFER_ALIGNMENT
* joined buffer/image clear player tests
* ImageSubresourceRange is now used in TextureViewDescriptor
2021-05-30 11:03:33 -04:00
Dzmitry Malyshau
6ff618aafb
Big refactor of the profiling usage
2021-04-29 02:06:58 -04:00
Connor Fitzgerald
fca72f54f9
Validate compute shader's presence
2021-03-31 01:08:53 -04:00
Connor Fitzgerald
cf6f9c3ca8
Move from tracing to log + profiling
2021-03-17 01:22:30 -04:00
Dzmitry Malyshau
e357e3083a
Fix command allocator race condition with maintenance
2021-02-05 00:57:18 -05:00
Andreas Reich
492027fe6e
command buffer buffer memory init tracking is only filled if necessary now
2021-01-31 21:56:22 +01:00
Andreas Reich
9595b39bb3
Fine grained tracking of buffer init requirements
2021-01-31 21:55:49 +01:00
Dzmitry Malyshau
4764ff21e9
Update gfx with the new iterator API
2021-01-28 12:40:24 -05:00
Dzmitry Malyshau
389a848dea
Support trailing render passes after the swapchain rendering
2021-01-11 21:40:41 -05:00
Dzmitry Malyshau
cb67ef6542
Clean up render pass labels
2020-12-15 17:28:24 -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
Adam Nemecek
db1870e7fc
use self
2020-09-25 19:11:46 -07:00
Dzmitry Malyshau
dbd7e2c579
Separate valid internal IDs from external ones
2020-08-04 11:16:59 -04:00
Gabriel Majeri
e860dd995f
Handle command pool creation error
2020-07-29 09:56:42 +03: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
b5c38ae40d
Prevent internal thread from cleanup
2020-06-04 22:45:59 -04:00
Dzmitry Malyshau
6fb2b272e4
Fix recycling of command buffers
2020-05-31 11:50:24 -04:00
yanchith
58a60392c2
Fix possible out-of-bounds when trace log level enabled
...
Also, even when there was no out-of-bounds access, the log statement talked
about an incorrect submission index.
2020-05-17 12:17:36 +02:00
Dzmitry Malyshau
4c62b20282
Multiple fixes and clean ups.
...
- Clean up after the pending writes on destroy.
- Fix temporary buffer creation.
- Fix internal thread initialization by the command allocator.
- Clean up player event_loop usage.
2020-05-11 14:07:02 -04:00
Dzmitry Malyshau
35f2e8b70e
Move queue logic into a submodule
2020-05-10 22:40:04 -04:00
Dzmitry Malyshau
ba8c2eae54
Implement Queue::write_buffer
2020-05-10 01:21:47 -04:00
Dzmitry Malyshau
cf8513baf5
Proper maintenance of the command pools
2020-05-06 11:15:08 -04:00
Dzmitry Malyshau
622d9ecc74
trace: all the commands
2020-04-30 09:55:52 -04:00
Dzmitry Malyshau
5035ffdfe2
Split limits and private features, add tracing module
2020-04-30 09:55:52 -04:00
Dzmitry Malyshau
a3aefe2535
Rustfmt stable pass
2020-04-06 08:55:39 -04:00
Dzmitry Malyshau
8aeeb8e318
Port to gfx-extras and gfx-hal-0.5
2020-03-27 00:54:01 -04:00
Dzmitry Malyshau
bbe0d7df1b
Command buffer/encoder destruction
2020-01-08 18:14:45 -05:00
Layl
a221ca1c12
Fix cmd buffer cleanup not always using lowest active index
2020-01-08 01:17:58 +01:00
Layl
ac8f75288f
Use current active list instead of storing last done
2020-01-02 01:33:45 +01:00
Layl
b55cd162bf
Defer command buffer recycling until allocate
2020-01-02 01:33:45 +01:00
Dzmitry Malyshau
6c632d1366
Separate native from the core
2019-11-16 00:36:23 -05:00