Archived
1
Fork 0
Commit graph

83 commits

Author SHA1 Message Date
b996c7a1e4 Add missing shell file 2022-02-21 08:56:29 -05:00
6d9602b12a When building on Linux, prefer using the SDL2 config module
This is shipped by SDL2 itself, so it should be the preferred way
of finding it. Since SDL2 does not ship it in their Windows
development libraries, we still need to use the regular Find module.
2022-02-21 07:53:08 -05:00
a7ee5451fb Add missing uikit files (oops) 2022-02-20 23:28:18 -05:00
bff540956b Add initial WebGPU GFX functions
This doesn't work yet of course :-)
2022-02-20 20:05:05 -05:00
f96d6da92a Support better stack traces on web 2022-02-18 17:39:02 -05:00
38933b1ca6 Fix some unreachable errors in web platform 2022-02-18 17:38:41 -05:00
e0eace9f74 Initialize WebGPU properly 2022-02-18 17:19:37 -05:00
79bc598ef9 Fill out web platform backend with a main loop 2022-02-18 16:57:14 -05:00
fe45e382bc Add simple web backend 2022-02-18 16:36:48 -05:00
dfcade8a29 Move even more common iOS/tvOS files 2022-02-18 15:18:09 -05:00
2771be2a57 Fix tvOS build, move common UIKit stuff into it's own folder 2022-02-18 15:13:16 -05:00
3cdb75a8f6 Enable ProMotion support for the new iPhones 2022-02-18 14:37:36 -05:00
50589e7e77 Touch up main storyboard for iOS 2022-02-18 14:37:02 -05:00
8237eeb05b Fix Metal backend (finally) 2022-02-18 14:36:38 -05:00
86a51e259d Only link to GFXMetal when metal is enabled 2022-02-18 08:44:17 -05:00
93c2639539 Enable Metal by default on SDL backend 2022-02-15 11:29:56 -05:00
6935f85351 Start work on converting GFXMetal to metal-cpp 2022-02-15 11:25:13 -05:00
8b9e8c29ef Use VK_EXT_metal_surface on iOS 2022-02-12 20:52:10 -05:00
b39e539a37 Correctly add resources to iOS app bundle 2022-02-12 20:31:37 -05:00
d1e4e1aff5 Statically link to CoreGraphics and Metal on iOS 2022-02-12 20:27:33 -05:00
e910425dc5 iOS builds now successfully build 2022-02-12 20:24:54 -05:00
e77efa542e Correctly pass plist into configure_file on iOS 2022-02-12 20:06:31 -05:00
2b5fd7201f Bring iOS CMake back up to snuff 2022-02-12 19:58:51 -05:00
374d8f7b63 Use SDL_GetBasePath() on macOS 2022-02-07 09:58:13 -05:00
420e8cbea9 Fix ninja multiple dummy generation error 2022-02-03 09:15:04 -05:00
redstrate
ef15b62af1 Fix window sizing not working under SDL 2021-10-14 17:30:04 -04:00
redstrate
d8cf9bd734 Use SDL's relative mouse mode when capturing the mouse 2021-10-14 17:15:11 -04:00
redstrate
e79a98c7d2 Some minor code refactoring 2021-10-14 08:51:58 -04:00
redstrate
5226aa1200 Add hidden window flag, to be in line with how imgui's sdl backend works 2021-10-13 10:55:20 -04:00
redstrate
fd4661088a Fix HiDPI support 2021-10-12 11:42:10 -04:00
redstrate
7d6ded0d69 Set HiDPI flag for all SDL windows 2021-10-12 11:12:51 -04:00
redstrate
a2f81d7ca7 Allow better DPI handling under SDL, handle external resize events in imgui 2021-10-12 11:06:59 -04:00
redstrate
c6bc56d033 Change window handles into opaque pointers 2021-10-12 10:22:16 -04:00
redstrate
182fbe195a Add imgui open/save dialog 2021-10-11 13:39:15 -04:00
redstrate
9c8c257c43 Add new console debug window, handle text input under sdl 2021-10-07 17:46:28 -04:00
redstrate
648d2968d4 Update Info.plist 2021-09-13 22:59:56 -04:00
redstrate
f213d3d548 Fix resource path handling on macOS 2021-09-13 17:19:59 -04:00
redstrate
4680579899 Remove macOS Cocoa and Metal backends 2021-09-13 13:47:29 -04:00
redstrate
cb93aaf83d Call prepare_quit() properly on SDL platform, and return a valid writeable directory 2021-06-01 12:44:16 -04:00
redstrate
b20235a731 Update macOS and Metal backends for the new changes 2021-05-12 10:59:30 -04:00
redstrate
fa65e99094 Rename Path -> path 2021-05-12 09:05:56 -04:00
redstrate
01966c1d81 Rename File -> file and move under the prism namespace 2021-05-12 08:50:02 -04:00
redstrate
fe81222ea7 SDL backend now provides an accurate delta time 2021-05-11 17:38:09 -04:00
redstrate
2ddc1e1794 Fix up SDL2 mouse and key handling for imgui 2021-05-11 17:05:29 -04:00
redstrate
465297442a Copy shader files properly on SDL2 apps 2021-05-11 16:32:59 -04:00
redstrate
f539ddcc3f Add system theme detection on Windows/SDL2 2021-05-11 16:11:23 -04:00
redstrate
fea83fc2e3 Fix macOS build 2021-05-10 07:58:22 -04:00
redstrate
4cd63997ce Specifying -1 in your window positions will make SDL center the window 2021-04-20 12:57:59 -04:00
redstrate
6655dab7a6 Delete the old Windows and Linux backends, which are now replaced by SDL 2021-04-20 10:03:12 -04:00
redstrate
28dbc34d51 Add more SDL keycodes, fix focus issue when using imgui viewports 2021-04-20 01:14:33 -04:00