Commit graph

56 commits

Author SHA1 Message Date
Maik Klein b5fc6d37f2 Update the examples 2018-11-11 10:48:58 +01:00
Maik Klein adf571c95c Initialize function pointers to a panicking function if it couldn't be
loaded
2018-11-03 23:37:20 +01:00
Benjamin Saunders cd394db60f Wrap function pointers in Option since they might be null 2018-10-08 17:34:40 -07:00
Gabriel Majeri 72a8c9a341 Fix Windows surface creation 2018-08-29 15:45:04 +03:00
Maik Klein f679197d0f
Merge pull request #114 from GabrielMajeri/fix-version-macros
Use Rust integral types
2018-08-29 09:36:15 +02:00
Gabriel Majeri fd5d89f2b6 Remove libc usage 2018-08-28 20:01:16 +03:00
Gabriel Majeri 86bdc3cecd Fix closing the examples 2018-08-25 11:06:30 +03:00
Maik Klein 2c5364871e Update winit to 0.16 2018-08-02 21:22:46 +02:00
Maik Klein a6d5a124df Rename constants in the example and inside static arrays 2018-08-01 09:22:28 +02:00
Maik Klein 666e5628ac Remove vendor ext from vendor constant variants 2018-08-01 08:51:50 +02:00
Tim 77cfbf2367 Apply rustfmt to examples 2018-07-31 14:51:45 +02:00
Tim c0d29d4940 Fix windows structure type 2018-07-31 14:51:37 +02:00
Tim c4566b6ca9 Conditionally use XlibSurface and Win32Surface 2018-07-31 14:38:11 +02:00
Tim 1b5f2b105c Ignore #75 and #84 since it's cosmetic only 2018-07-31 14:31:52 +02:00
Tim 253f79eef5 Adjust examples lib to match #75 2018-07-31 13:16:04 +02:00
Tim 7c8ab2a876 Adjust lib.rs for examples 2018-07-31 12:45:29 +02:00
Maik Klein 1a3094d4c2 Add extensions 2018-07-21 12:56:16 +02:00
Lucien Greathouse 91da74fca4 examples: Update to winapi 0.3 and winit 0.11 2018-03-03 00:20:18 -08:00
Lucien Greathouse 8e3e3b9e72 examples: Minor whitespace cleanup 2018-03-03 00:05:07 -08:00
Lucien Greathouse 11ed7b2306 examples: Clean up warnings and trim dead code 2018-03-03 00:05:01 -08:00
Maik Klein c0b6078028 Update examples to winit 0.9 2017-12-12 14:25:10 +01:00
Maik Klein 139dc2aa3b Fix stages for memory barriers in the examples 2017-12-12 11:51:55 +01:00
Maik Klein df9b7eb351 Fix build error on windows 2017-08-19 18:34:15 +02:00
Maik Klein 5875de85ce Switch to libc 2017-07-08 09:40:38 +02:00
maik klein 65094fcf20 Remove sparse flag from the depth image 2017-01-20 17:25:05 +01:00
maik klein 4e9f1429cd Better handling for vsync image count 2017-01-06 08:47:39 +01:00
maik klein 2e1079b77c max_image_count can be 0 to indicate no limit 2017-01-05 19:53:46 +01:00
maik klein 61b6a5d222 Sets desired image count to min_image_count 2017-01-05 19:45:55 +01:00
maik klein f2b52eb007 Cleanup warnings and use version traits 2017-01-05 09:03:37 +01:00
maik klein eead999bc4 Update window title 2017-01-05 08:09:23 +01:00
maik klein 3dbb81735f add create_instance to EntryV1_0 2017-01-05 08:48:18 +01:00
maik klein 61b574bcdf Fix build error in the win32 example 2017-01-01 09:21:29 +01:00
maik klein a02fb615c0 Rename load_vulkan to new, as Vulkan is loaded at startup time 2017-01-01 08:56:38 +01:00
maik klein 2fdec50947 Remove EntryExt 2017-01-01 08:50:52 +01:00
maik klein 4ace1cc780 Loader cleanup 2017-01-01 08:09:51 +01:00
maik klein 0c0b147502 Add version to Entry 2016-12-30 06:19:47 +01:00
maik klein 45936ae6bb Swtich device to the new extension version format 2016-12-30 05:42:34 +01:00
maik klein d964453d2d Switch Instance to the new version extension 2016-12-30 03:44:05 +01:00
maik klein 9e2d28b301 Integration extensible versions 2016-12-30 03:34:14 +01:00
maik klein 3d0120ef3d Unsued begin command buffer 2016-12-29 07:50:54 +01:00
maik klein 0f52807193 Examples now properly free their objects 2016-12-29 06:02:37 +01:00
maik klein b49b2b1deb Add allocator to the windows example 2016-12-28 11:13:36 +01:00
maik klein f01eb2d9d5 Adds missing allocators for the extensions 2016-12-28 11:04:50 +01:00
maik klein 0eaf851afa Added allocators to the examples 2016-12-28 09:24:24 +01:00
maik klein ce4945a61c Add allocation callbacks everywhere 2016-12-28 09:07:27 +01:00
maik klein 28908142b4 Added extension name support 2016-12-28 04:19:03 +01:00
Maik Klein ac5708ac36 Remove unused unsafe 2016-12-26 03:48:38 +01:00
Maik Klein 629d27babe add another unsafe for the win32 example 2016-12-26 03:31:51 +01:00
maik klein f5a8878d8f Add missing unsafe 2016-12-26 02:47:33 +01:00
maik klein 20f5a51541 fixed misspelled createinfo 2016-12-26 02:40:48 +01:00