Commit Graph

1729 Commits

Author SHA1 Message Date
Pierre Krieger
ca46e1533c Allow setting the stencil-load/store op for stencil attachments 2017-05-02 20:14:46 +02:00
tomaka
d4d5170df0 Merge pull request #431 from tomaka/buf-changes
Changes in Buffer type safety and slices
2017-04-25 16:55:37 +02:00
Pierre Krieger
3205a21039 BufferView::new() now takes a Buffer instead of BufferAccess 2017-04-25 15:06:39 +02:00
Pierre Krieger
2d85121d52 Make CmdUpdateBuffer type safe 2017-04-25 11:09:07 +02:00
Pierre Krieger
6a7e857c14 Reexport TypedBuffer in buffer 2017-04-25 09:46:28 +02:00
Pierre Krieger
99478afcda Some documentation for TypedBuffer and TypedBufferAccess 2017-04-25 09:35:37 +02:00
Pierre Krieger
ddd666e087 Implement TypedBuffer everywhere 2017-04-25 09:32:11 +02:00
Pierre Krieger
329f4da90e Add slice methods on Buffer as well 2017-04-25 09:26:54 +02:00
Pierre Krieger
9b39ba43ec Rename TypedBuffer to TypedBufferAccess 2017-04-25 09:02:23 +02:00
Pierre Krieger
77481c1540 Change Buffer impl of BufferSlice 2017-04-25 08:39:58 +02:00
Pierre Krieger
9a114a03b7 Add Buffer::size() 2017-04-25 08:07:23 +02:00
tomaka
3ae8d75405 Merge pull request #430 from tomaka/one-v-one-i-fix
Fix a VertexSource impl for OneVertexOneInstanceDefinition
2017-04-23 19:02:53 +02:00
Pierre Krieger
fbeb8984cf Fix a VertexSource impl for OneVertexOneInstanceDefinition 2017-04-23 18:37:49 +02:00
tomaka
9c53b101a8 Merge pull request #429 from tomaka/indirect-fixes
Fixes in indirect drawing
2017-04-23 17:16:37 +02:00
Pierre Krieger
4232e95ebf Fixes in indirect drawing 2017-04-23 16:52:12 +02:00
tomaka
ffee50e21d Merge pull request #428 from tomaka/draw-indirect
Add back draw_indirect command
2017-04-23 16:12:55 +02:00
tomaka
7192feb9b1 Merge pull request #427 from tomaka/test-no-unsafe
Remove some mem::unitialized() in doctests
2017-04-23 15:49:15 +02:00
Pierre Krieger
6eb4a29c2b Add back draw_indirect command 2017-04-23 15:42:55 +02:00
Pierre Krieger
4cca46673e Remove some mem::unitialized() in doctests 2017-04-23 13:36:45 +02:00
tomaka
5cf097e8bb Merge pull request #424 from tomaka/add-cmd-err
Adding a command to a builder can now return an error
2017-04-22 19:15:07 +02:00
tomaka
3435d824fa Merge pull request #425 from tomaka/fb-fixes
Misc framebuffer fixes
2017-04-22 13:43:50 +02:00
Pierre Krieger
f530868e4f Some more tests for render passes 2017-04-22 13:18:35 +02:00
Pierre Krieger
5bfff5d11a Restore test in fb/sys.rs, plus various fixes 2017-04-22 12:52:27 +02:00
Pierre Krieger
5de743221b Adding a command to a builder can now return an error 2017-04-20 09:43:57 +02:00
tomaka
b61a89cb5c Merge pull request #422 from tomaka/image-getters
Add some getters to Image
2017-04-17 13:58:01 +02:00
tomaka
db260842c8 Merge pull request #423 from tomaka/context-check-fix
Fix CmdSetState only outside render pass
2017-04-17 13:27:31 +02:00
Pierre Krieger
1c3419a650 Fix CmdSetState only outside render pass 2017-04-17 13:14:19 +02:00
tomaka
2ac478b625 Merge pull request #421 from tomaka/context-check-impl
Implement ContextCheckLayer
2017-04-17 12:58:44 +02:00
Pierre Krieger
fac45e11ce Add some getters to Image 2017-04-17 12:57:35 +02:00
Pierre Krieger
097682bf9d Implement ContextCheckLayer 2017-04-17 12:41:56 +02:00
tomaka
a1b65b3845 Merge pull request #420 from tomaka/queue-ty
Implement QueueTyCheckLayer correctly
2017-04-17 12:41:14 +02:00
Pierre Krieger
3aa9bedbf4 Implement QueueTyCheckLayer correctly 2017-04-17 11:15:02 +02:00
tomaka
d8c3378635 Merge pull request #419 from tomaka/image-renames
Image renames
2017-04-17 09:41:46 +02:00
Pierre Krieger
db3dfb4b96 Fix example 2017-04-17 09:15:43 +02:00
Pierre Krieger
0a156ae693 Rename associated type in ImageView trait 2017-04-17 09:07:50 +02:00
Pierre Krieger
66e2dcf011 Rename associated type in the Image trait 2017-04-17 09:03:25 +02:00
tomaka
9772240dfa Merge pull request #414 from tomaka/cpu-buffer-pool
Add CpuBufferPool
2017-04-16 19:48:18 +02:00
Pierre Krieger
4ed85f7a44 Add CpuBufferPool 2017-04-16 19:38:33 +02:00
tomaka
d8da4e712b Merge pull request #418 from tomaka/more-docs
Rename Buffer::Target to Access
2017-04-15 20:54:53 +02:00
Pierre Krieger
da593ed2a5 Rename Buffer::Target to Access 2017-04-15 19:58:11 +02:00
tomaka
9b6b7930f9 Merge pull request #416 from tomaka/renames
Various trait renames
2017-04-15 15:17:42 +02:00
tomaka
7556d9e725 Merge pull request #417 from tomaka/geom-tessel
Add GraphicsPipeline::with_tessellation_and_geometry
2017-04-15 13:08:58 +02:00
Pierre Krieger
adaf6258a9 Fix compilation 2017-04-15 12:57:16 +02:00
Pierre Krieger
3016766a6d Add GraphicsPipeline::with_tessellation_and_geometry 2017-04-15 12:51:25 +02:00
Pierre Krieger
dc3487234c Rename IntoImageView to ImageView 2017-04-15 12:17:25 +02:00
Pierre Krieger
9182d44d0a Rename ImageView to ImageViewAccess 2017-04-15 12:17:25 +02:00
Pierre Krieger
a94ca9c3c5 Rename IntoImage to Image 2017-04-15 12:17:25 +02:00
Pierre Krieger
327c465832 Rename Image to ImageAccess 2017-04-15 12:17:24 +02:00
Pierre Krieger
6d463b0110 Rename IntoBuffer to Buffer 2017-04-15 12:17:24 +02:00
Pierre Krieger
8e4a6b0324 Rename Buffer to BufferAccess 2017-04-15 12:17:24 +02:00