Commit Graph
43 Commits
Author SHA1 Message Date
bors[bot]andJoshua Groves b1d9de0406 Merge #169
169: Add Windows/glfw3 to CI r=kvark a=grovesNL



Co-authored-by: Joshua Groves <josh@joshgroves.com>
2019-06-05 01:55:24 +00:00
Joshua Groves 7e7a88b831 Add Windows/glfw3 to CI 2019-06-04 22:09:58 -02:30
bors[bot]andFabio Krapohl 85740873d0 Merge #212
212: More consistent descriptor passing r=kvark a=porky11

also use pointer for descriptor in `wgpu_command_encoder_begin_render_pass` for consistency reasons

Co-authored-by: Fabio Krapohl <fabio.u.krapohl@fau.de>
2019-06-04 20:20:10 +00:00
Fabio Krapohl 8abc1c2668 also use pointer for descriptor in wgpu_command_encoder_begin_render_pass for consistency reasons 2019-06-04 22:13:48 +00:00
Fabio Krapohl 488367ce30 More consistent naming of pointer-size-pairs:
* always plural form without _ptr suffix for pointers
* always same name as pointer for size, but with _length suffix
* special case: single size applies to multiple pointers => only use length as name
2019-06-04 21:41:39 +00:00
bors[bot]andTimo de Kort c204199dc2 Merge #192
192: add necessary windows lib files for vulkan, dx12, dx11 r=kvark a=Napokue

Introduce new argument BACKEND to specify the back-end framework in the hello_triangle_c CMake script. I will update the other examples, hello_remote_c & hello_compute_c (working on this one) in a future PR.

fix #188 

Co-authored-by: Timo de Kort <dekort.timo@gmail.com>
2019-05-27 14:41:11 +00:00
Timo de Kort 7bb528186f add DX11 support 2019-05-26 19:46:43 +02:00
Timo de Kort 9b0607973e resolve PR comments
- pass backends from the Makefile to the CMakeLists file
- add check to see if the BACKEND argument is set
- add dbghelp lib file
2019-05-26 18:23:19 +02:00
Timo de Kort 747defd01b add necessary windows lib files for vulkan/dx12
introduce new argument feature-native to specify the back-end framework
2019-05-25 18:42:59 +02:00
Joshua Groves 328e53852a Use required option for glfw3 2019-05-24 23:30:28 -02:30
Bruce Mitchener b21a0c12af Remove unused variable on Metal code path. 2019-05-24 14:46:11 +07:00
Dzmitry Malyshau a9063ce3eb Fix RenderPassColorAttachmentDescriptor 2019-05-15 22:38:59 -07:00
Dzmitry Malyshau f024758e07 Track stencil reference 2019-05-14 11:58:10 -04:00
Dzmitry Malyshau 6a1dcb9565 API update with naming, formats, and extra fields 2019-05-14 10:31:25 -04:00
Rukai 637a0883e7 Handle resize in the triangle example 2019-05-13 20:57:49 +10:00
Dzmitry Malyshau 540451a66d Fix cbindgen macro expansion and CI 2019-05-10 21:55:09 -04:00
Dzmitry Malyshau 6ce9cbd679 Remove Rust wrapper and examples 2019-05-10 20:40:42 -04:00
Dzmitry Malyshau 61fca00f34 Remove wgpu-bindings in favor of configuration scripts 2019-04-30 12:45:05 -04:00
Dzmitry Malyshau 0011d9f4ff Global manager for instance names on the remote client 2019-04-30 09:19:40 -04:00
Dzmitry Malyshau 52ee3e019c Remote example and improved header, tested on CI 2019-04-29 22:41:09 -04:00
Dzmitry Malyshau a3ffa7072a Fix the triangle examples 2019-03-31 20:03:24 -04:00
Joshua Groves 5322f3c610 Reduce left indentation for nested structs 2019-03-08 07:15:36 -07:00
Joshua Groves b2c58c7791 Add nested designated initialization 2019-03-07 20:48:37 -07:00
Joshua Groves 580e49f2cf Start rendering C example again 2019-03-07 20:15:12 -07:00
Joshua Groves 510865dd27 Restore GLFW for macOS 2019-03-07 19:19:10 -07:00
Joshua Groves 75ac875902 Start to update C example 2019-03-07 07:43:19 -07:00
Joshua Groves fa2c2d7457 Combine Apple with other targets 2019-03-07 07:34:27 -07:00
Steven Wittens b74b7fdd8c Update textureformats in examples 2019-02-28 06:36:45 +01:00
Dzmitry Malyshau e8e5938e06 Linux support for GLFW example 2019-01-24 12:33:34 -05:00
Joshua Groves 3d98457eb9 Add support for GLFW on Windows 2019-01-24 12:08:32 -05:00
Joshua Groves 26f965cfbb Use CMake and update triangle example 2019-01-24 12:08:32 -05:00
Dzmitry Malyshau 9aa5977c22 Bindings update with the new cbindgen 0.6.7 2018-10-30 22:02:07 -04:00
Dzmitry Malyshau de4f2b70eb Framebuffer creation and actual begin_render_pass 2018-10-25 22:29:27 -04:00
Dzmitry Malyshau 32b92afa5c Root Makefile 2018-10-22 12:01:42 -04:00
Joshua Groves 90e04cbe75 c: Update signatures 2018-10-11 23:45:24 -06:00
Joshua Groves 897c5b9e86 Add texture creation to C example 2018-10-07 09:22:24 -06:00
Dzmitry Malyshau 47edd4564a Begin and finish command buffers 2018-09-28 11:35:31 -04:00
Joshua Groves 241aef131a Move register inside guard 2018-09-28 07:16:42 -06:00
Joshua Groves e3d7fda9c7 Simplify registry access 2018-09-28 00:13:11 -06:00
Joshua Groves aab17db5a1 Map rest of render pipeline descriptor 2018-09-28 00:08:44 -06:00
Dzmitry Malyshau c013fc9498 C example update, header, and better travis tests 2018-09-27 19:04:17 -04:00
Joshua Groves 211189a090 Create shader modules from C 2018-09-23 19:29:44 -06:00
Joshua Groves 08ad0f40ed Create C example 2018-09-23 13:25:05 -06:00