a3704eb7a9
Improve surface and gfx context creation
...
This is laying some groundwork for a much better way
of determining the best GFX api to use at runtime, and
making it easier to support more GFX backends in the future.
2022-02-21 11:03:34 -05:00
8237eeb05b
Fix Metal backend (finally)
2022-02-18 14:36:38 -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
redstrate
d8cf9bd734
Use SDL's relative mouse mode when capturing the mouse
2021-10-14 17:15:11 -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
cb93aaf83d
Call prepare_quit() properly on SDL platform, and return a valid writeable directory
2021-06-01 12:44:16 -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
f539ddcc3f
Add system theme detection on Windows/SDL2
2021-05-11 16:11:23 -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
28dbc34d51
Add more SDL keycodes, fix focus issue when using imgui viewports
2021-04-20 01:14:33 -04:00
redstrate
e46e6f512b
Fix multiple windows on SDL
2021-04-20 00:48:42 -04:00
redstrate
e01a31eb13
Use new SDL backend on Windows, fix numerous SDL problems as well
2021-04-20 00:23:14 -04:00
redstrate
744123763f
Begin work on converting to the new class naming scheme and the new prism namespace
2021-04-19 12:06:44 -04:00
redstrate
f0a1dc2f20
Add experimental SDL backend for Linux
2021-03-01 14:40:02 -05:00