Commit Graph

1084 Commits

Author SHA1 Message Date
batanick
ee8b170995 worldview double calculation removed 2016-09-11 18:06:37 +02:00
batanick
e0c3dfee5d Teapot example: rotation added 2016-09-11 14:11:45 +02:00
tomaka
12d858ba12 Merge pull request #255 from tomaka/readme-notes
Add some notes to the README
2016-09-09 09:09:05 +02:00
Pierre Krieger
566dcdf20a Add some notes to the README
fix #251
2016-09-09 08:45:31 +02:00
tomaka
af1aa0383d Merge pull request #247 from tomaka/readme-update
Minor future work in the README
2016-09-05 13:52:02 +02:00
Pierre Krieger
1f85358468 Minor future work in the README 2016-09-04 11:00:44 +02:00
tomaka
29c50f2261 Merge pull request #246 from lummax/swapchainimage-clear-value
image/swapchain: Implement ImageClearValue for SwapchainImage
2016-09-03 18:07:26 +02:00
lummax
a9b24d1ef4 image/swapchain: Implement ImageClearValue for SwapchainImage 2016-09-03 17:00:23 +02:00
tomaka
a727f07f0b Merge pull request #245 from tomaka/smallvec-2
Update to SmallVec 0.2
2016-09-02 21:52:36 +02:00
Pierre Krieger
21fd97dd04 Update to SmallVec 0.2 2016-09-02 21:33:24 +02:00
tomaka
462ccfdd21 Merge pull request #243 from tomaka/execute
Draft for execute()
2016-09-02 08:11:17 +02:00
tomaka
42276b30fc Merge pull request #242 from lummax/fix-xcb-xlib-surface-create-info
vk-sys/vulkano{-win}: correct type of native window
2016-09-01 18:45:20 +02:00
lummax
ef7ab2dc24 vk-sys/vulkano{-win}: correct type of native window
This commit changes the definitions for `window` in `XlibSurfaceCreateInfoKHR`
and `XcbSurfaceCreateInfoKHR` with to `u64` (xlib) and `u32` (xcb) (see
definitions below).

`vk-sys` defined `XlibSurfaceCreateInfoKHR` and `XcbSurfaceCreateInfoKHR` with
`pub window: *const c_void`. This propagates through to the API in
`vulkano::swapchain::Surface::from_{xlib,xcb}()`. As the native window types
in xcb/xlib are defined as unsigned ints, this may lead to the belief that a
pointer to such an integer is required. `vulkano` will create a `Surface` but
this surface will not be supported by any queue family.

xlib: https://cgit.freedesktop.org/xorg/proto/x11proto/tree/X.h#n96 and
      https://cgit.freedesktop.org/xorg/proto/x11proto/tree/X.h#n66

      (search `Windows`)

xcb: https://xcb.freedesktop.org/manual/group__XCB____API.html

    (search `xcb_window_t`)
2016-09-01 18:26:12 +02:00
tomaka
aa5140fcd5 Merge pull request #240 from tomaka/docs-rs
Switch to docs.rs for the documentation
2016-09-01 16:50:39 +02:00
PierreKrieger
57d2a39685 Draft for execute() 2016-09-01 16:18:25 +02:00
Pierre Krieger
9d72cf66ca Switch to docs.rs for the documentation 2016-09-01 14:41:29 +02:00
tomaka
e2a07522aa Merge pull request #238 from tomaka/0.2.1
Publish 0.2.1
2016-09-01 07:35:12 +02:00
Pierre Krieger
556f25e256 Publish 0.2.1
close #237
2016-09-01 07:22:22 +02:00
tomaka
7a4cac1792 Merge pull request #236 from tomaka/fill-buffer
Add .fill_buffer()
2016-08-28 17:07:43 +02:00
Pierre Krieger
758a07c7e0 Add .fill_buffer() 2016-08-28 16:35:27 +02:00
tomaka
1632a27f29 Merge pull request #235 from tomaka/fb-trait
Turn Framebuffer into a trait
2016-08-26 21:32:34 +02:00
Pierre Krieger
4fed4df0b6 Finish turning Framebuffer into a trait 2016-08-26 20:49:26 +02:00
Pierre Krieger
cedd503b2b [WIP] Turn Framebuffer into a trait 2016-08-26 20:38:59 +02:00
tomaka
29db95dd7e Merge pull request #234 from tomaka/config-gitignore
Add .cargo to .gitignore
2016-08-25 19:37:18 +02:00
Pierre Krieger
9c2ae70105 Add .cargo to .gitignore 2016-08-25 19:21:26 +02:00
tomaka
fe502bcf51 Merge pull request #232 from tomaka/tracked-swapchain
Implement state tracking traits on swapchain images
2016-08-21 20:53:19 +02:00
Pierre Krieger
9db6ba3003 Implement state tracking traits on swapchain images 2016-08-21 20:28:13 +02:00
tomaka
a837e094dc Merge pull request #230 from tomaka/dynamic-states
Don't pass an empty dynamic states list, as it is forbidden
2016-08-21 17:52:56 +02:00
Pierre Krieger
483b08984f Don't pass an empty dynamic states list, as it is forbidden 2016-08-21 16:43:27 +02:00
tomaka
8b1cb63f4f Merge pull request #229 from tomaka/extract-extract
Extract the state-extraction functions to their own trait
2016-08-21 15:18:49 +02:00
Pierre Krieger
e772d0cfd4 Extract the state-extraction functions to their own trait 2016-08-21 14:53:34 +02:00
tomaka
5c8cbb8fea Merge pull request #228 from tomaka/dont-rebind
Don't bind pipeline objects when not necessary
2016-08-21 13:17:35 +02:00
Pierre Krieger
7f8b8ae09c Fix english 2016-08-21 12:44:10 +02:00
Pierre Krieger
98dcde4101 Don't bind pipeline objects when not necessary 2016-08-21 12:01:54 +02:00
tomaka
ea5ded8eb5 Merge pull request #227 from tomaka/asm-improve
Some improvements to the generated assembly
2016-08-21 08:37:02 +02:00
Pierre Krieger
3d3c57130d Some improvements to the generated assembly 2016-08-20 22:40:31 +02:00
tomaka
aff26732f9 Merge pull request #226 from tomaka/bypass-bugs
Bypass buggy driver behaviors when creating instance
2016-08-20 14:22:41 +02:00
Pierre Krieger
59cc6240a6 Bypass buggy driver behaviors when creating instance 2016-08-20 14:10:08 +02:00
tomaka
7a0be191eb Merge pull request #225 from tomaka/tp-finished
Change template parameter of compiled commands list
2016-08-20 13:19:00 +02:00
Pierre Krieger
b58ca21bbf Change template parameter of compiled commands list 2016-08-20 12:43:34 +02:00
tomaka
cc1f894de6 Merge pull request #224 from tomaka/draw-draft
Draft for the draw comands with the new system
2016-08-20 12:38:08 +02:00
Pierre Krieger
e3aa16a19c Draft for the draw comands with the new system 2016-08-20 10:27:28 +02:00
tomaka
6211eb9413 Merge pull request #223 from tomaka/core-extensionserr
Return proper errors when getting the extensions supported by core
2016-08-19 19:33:47 +02:00
Pierre Krieger
1610fd81a1 Return proper errors when getting the extensions supported by core 2016-08-19 19:04:54 +02:00
tomaka
82f9c0096b Merge pull request #222 from tomaka/render-pass
Add begin_render_pass(), next_subpass() and end_render_pass() with the new system
2016-08-19 17:43:15 +02:00
Pierre Krieger
5fbc43f671 Implement begin_render_pass() correctly 2016-08-19 17:01:21 +02:00
Pierre Krieger
43e60878c0 Add next_subpass() 2016-08-19 16:38:41 +02:00
Pierre Krieger
996ab15266 Add drafts for begin_render_pass() and end_render_pass() 2016-08-19 16:26:35 +02:00
Pierre Krieger
97c3a07e83 Add buildable_state() to commands lists 2016-08-19 14:52:32 +02:00
tomaka
5a933bc963 Merge pull request #221 from tomaka/new-dispatch
Lay foundation for descriptor sets tracking system
2016-08-19 14:12:41 +02:00