Commit Graph

3779 Commits

Author SHA1 Message Date
Pierre Krieger
c191bb2ba3 Some work 2016-03-24 09:14:24 +01:00
Pierre Krieger
775d2bb6f8 Draft for implementation of the Image trait 2016-03-24 09:14:23 +01:00
Pierre Krieger
09a7d3c5d9 Pass an iterator of ranges to Buffer::gpu_access 2016-03-24 09:14:23 +01:00
Pierre Krieger
ef86b5e1cd Rename unsafe_buffer module to sys 2016-03-24 09:14:22 +01:00
Pierre Krieger
6cf7b5ace4 Fix remaining bits to make teapot example compile 2016-03-24 09:14:22 +01:00
Pierre Krieger
8cc816e9f3 Add CpuAccessibleBuffer 2016-03-24 09:14:21 +01:00
Pierre Krieger
6ef29608e4 Add read() and write() to MappedDeviceMemory 2016-03-24 09:14:21 +01:00
Pierre Krieger
0db87b839f Fix immutable buffer trying to map its memory 2016-03-24 09:14:20 +01:00
Pierre Krieger
b1dc364bb1 Fix constructors of ImmutableBuffer 2016-03-24 09:14:20 +01:00
Pierre Krieger
ce979f938f Switch to new design for buffers 2016-03-24 09:14:19 +01:00
Pierre Krieger
c034778fc2 Implement ImmutableBuffer 2016-03-24 09:14:18 +01:00
Pierre Krieger
a34e08c582 Work on staging buffer 2016-03-24 09:14:18 +01:00
Pierre Krieger
de07d6c0e3 Add draft for new buffers system 2016-03-24 09:14:17 +01:00
Pierre Krieger
b45b657d80 First draft for new synchronization system 2016-03-24 09:14:17 +01:00
Pierre Krieger
c9aea4b090 Use a dedicated semaphore per queue 2016-03-24 09:14:16 +01:00
Pierre Krieger
9adee75932 More buffer module to own directory 2016-03-24 09:14:16 +01:00
Pierre Krieger
9c911bb4aa Add UnsafeImageView 2016-03-24 09:14:15 +01:00
Pierre Krieger
0560e30792 Add UnsafeImage type 2016-03-24 09:14:15 +01:00
Pierre Krieger
1e1f1abb76 Put the image.rs file in its own directory 2016-03-24 09:14:14 +01:00
Pierre Krieger
5bc22d21b5 Add FenceWaitError 2016-03-24 09:13:57 +01:00
Pierre Krieger
1efb75c4d2 Add Fence::multi_wait function 2016-03-19 16:19:44 +01:00
Pierre Krieger
a1938b3a6b Add image() method to AbstractImageView 2016-03-18 07:29:24 +01:00
Pierre Krieger
be1d7377dd Reset the cached command buffer state after executing a secondary CB
Fix #12
2016-03-17 13:17:50 +01:00
Pierre Krieger
99c7d9c5b0 Image now takes a MemorySource and not a Chunk 2016-03-16 13:07:57 +01:00
Pierre Krieger
6de45da584 Fix warning generated by ordered_passes_renderpass! 2016-03-16 13:07:48 +01:00
Pierre Krieger
7faaf38ade Buffer now takes the MemorySource as template parameter and not the Chunk 2016-03-16 12:59:19 +01:00
Pierre Krieger
3626e336f8 Use smallvec for small allocations 2016-03-15 20:23:51 +01:00
Pierre Krieger
22a59201fb Implement dispatch() that calls vkCmdDispatch 2016-03-15 13:29:25 +01:00
Pierre Krieger
c747010ed0 Add ComputePipeline 2016-03-15 11:52:33 +01:00
Pierre Krieger
051289126f Implement PartialOrd and Ord for Version 2016-03-15 10:41:47 +01:00
Pierre Krieger
e5af27cf0d Fix warnings 2016-03-14 14:32:52 +01:00
Pierre Krieger
973f540e2a Clean up InstanceCreationError 2016-03-14 14:31:46 +01:00
Pierre Krieger
a212b7cf18 Fix the documentation of the instance module 2016-03-14 14:24:25 +01:00
tomaka
b2713c745c Merge pull request #9 from tomaka/fb-rework
Fb rework
2016-03-14 11:25:44 +01:00
Pierre Krieger
4bca89e32c Fix documentation of framebuffer.rs 2016-03-14 10:42:30 +01:00
Pierre Krieger
c4b815f53e Restore the renderpass generation macros 2016-03-14 10:24:16 +01:00
Pierre Krieger
5ffad59705 Restore EmptySinglePassRenderPass 2016-03-14 10:02:05 +01:00
Pierre Krieger
556adf8e5f RenderPass is now a trait 2016-03-14 09:54:54 +01:00
Pierre Krieger
cdfb7fbbde Rename AbstractRenderPass to RenderPass 2016-03-14 08:59:27 +01:00
Pierre Krieger
0bdf490e4d Rename RenderPass to UnsafeRenderPass 2016-03-14 08:54:13 +01:00
Pierre Krieger
62875f9518 ImageView::new can now take an ImageSubresourceRange 2016-03-13 18:03:37 +01:00
Pierre Krieger
ccf66ee1d9 Add ImageSubresourceRange struct 2016-03-13 17:59:46 +01:00
Pierre Krieger
9365d3b2e8 Now generating a struct for the values of the cleared attachments 2016-03-13 14:17:30 +01:00
Pierre Krieger
3dae5ccdc3 Rename MipmapsCount::Log2 to Max and check number of mipmaps 2016-03-13 13:12:45 +01:00
Pierre Krieger
6db8e56380 Add some constructors for Usage 2016-03-13 13:03:06 +01:00
Pierre Krieger
300ac96524 Add a FIXME 2016-03-13 11:46:50 +01:00
Pierre Krieger
02a8c813c5 Fix non-compiling tests 2016-03-13 11:46:49 +01:00
Pierre Krieger
faa6537157 Add support for buffer views 2016-03-13 11:46:49 +01:00
Pierre Krieger
9ec3621059 Add some docs to buffer.rs 2016-03-13 11:46:48 +01:00
Pierre Krieger
7afe719fdb Fix validation layer warning 2016-03-13 11:46:48 +01:00