Commit Graph

276 Commits

Author SHA1 Message Date
Henrik Rydgård
dc6c30a825 rpath work 2023-04-25 11:45:25 +02:00
Henrik Rydgård
5d028cb004 Upgrade SDL for Mac
This removes the option to use system SDL, which seems like a trap.

Also simplifies the macbundle.sh script accordingly.

Buildfix

Buildfix fix

Moar buildfix
2023-04-25 11:45:20 +02:00
Henrik Rydgård
a040985af0 macOS: Add new macOS directory, and an Entitlements.plist file. Part of notarization work. 2023-04-24 10:51:35 +02:00
Serena
0830eb51fc Native 'About' panel 2023-04-23 22:12:15 +03:00
Serena
bd3ae4b074 Escape string stuff, com -> org 2023-04-23 15:54:01 +03:00
Serena
a71ec1acdf Recognize openable types in Info.plist, debug menu in top bar 2023-04-22 18:11:06 +03:00
Henrik Rydgård
d782a49229 Enable building a gold version for mac. 2023-04-19 15:06:02 +02:00
haoruiwang
7cbb7a09e5 [what][style][gpu] some coding style refine 2023-04-18 19:18:38 +08:00
ahmedmoselhi
b3c8274a80
fix build error: duplicate case value: 'SDL_SYSWM_X11' and 'WINDOWSYSTEM_DISPLAY' both equal '2' 2023-04-11 16:17:12 +02:00
Henrik Rydgård
0b6e877ac0 MacOS buildfix 2023-04-07 10:56:50 +02:00
Henrik Rydgård
019a9e2923 MacOS build fixes 2023-04-07 10:35:01 +02:00
Henrik Rydgård
38f4cc4cc9 Make reverse mapping lookup work for the simple PSP buttons. 2023-03-31 11:05:29 +02:00
Henrik Rydgård
177a6821ee Merge branch 'serena/macos-bar-menu-items' 2023-03-28 21:54:14 +02:00
Serena
67896bf885 Switch to boot 2023-03-28 21:44:12 +03:00
Henrik Rydgård
c578b91779 Make clipboard copies threadsafe. Don't forget to reset update flag 2023-03-28 16:11:18 +02:00
Henrik Rydgård
8c7ae8836f SDL: Save/load window dimensions 2023-03-28 16:05:33 +02:00
Henrik Rydgård
0b156e734b Pass w and h into the SDL graphics contexts 2023-03-28 16:05:33 +02:00
Henrik Rydgård
57362b9199 SDL: Save window position 2023-03-28 16:05:30 +02:00
Henrik Rydgård
3ff87f5959 SDL: Small refactor, support window title changes 2023-03-28 16:05:30 +02:00
Henrik Rydgård
a5fdf3d05b Add samplerate argument to NativeMix 2023-03-24 14:48:53 +01:00
Serena
ea4e294faa fix openSystemFileBrowser 2023-03-23 23:28:57 +03:00
Serena
84849d9d32 fixes 2023-03-23 22:09:01 +03:00
Serena
645407fa74
Merge branch 'master' into serena/macos-bar-menu-items 2023-03-23 21:27:42 +03:00
Henrik Rydgård
b440e28e38 Remove System_SendMessage!
iOS, Qt buildfixes
2023-03-22 23:52:51 +01:00
Henrik Rydgård
4c99712b60 And "immersive", "audio_resetDevice" 2023-03-22 23:52:38 +01:00
Henrik Rydgård
5a55fd5fd3 And replace "graphics_restart", "toggle_fullscreen", etc 2023-03-22 23:52:15 +01:00
Henrik Rydgård
410b35fba3 Get rid of "finish" and "setclipboardtext" messages, replace with requests. 2023-03-22 22:17:26 +01:00
Henrik Rydgård
dfa06c4e77 SDL buildfix, fix file/folder browsers on Darwin 2023-03-22 19:25:35 +01:00
Henrik Rydgård
b7350f3cbf Fix folder browser on Android and Windows 2023-03-22 19:25:35 +01:00
Henrik Rydgård
70f0ac04af Port the file browser spawned by the Load button to the new request stuff 2023-03-22 15:36:14 +01:00
Henrik Rydgård
de064e210e Replace the inputbox queue with a more generic RequestManager. 2023-03-22 12:41:11 +01:00
Henrik Rydgård
06fcc9ccd7 Add System_Notify 2023-03-21 13:37:16 +01:00
Henrik Rydgård
d3955b42bb Rename some system functions, merge the Launch* ones.
android launchurl buildfix
2023-03-21 12:22:59 +01:00
Henrik Rydgård
a9eaa4fdc8 Get rid of an ifdef 2023-03-21 10:24:36 +01:00
Henrik Rydgård
3b39e9e068 Turn the VFS into a class, to be able to reuse it for other purposes. 2023-03-06 16:42:47 +01:00
Henrik Rydgård
3aa0a9e17b Fix blackscreen, better debug print of display parameters 2023-02-27 15:21:58 +01:00
Henrik Rydgård
8b431b39ba
Wrap the display globals in a struct (#16998)
* Wrap the display globals in a struct

Makes it easier to search/replace these, for future refactorings.

* Some renaming

* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)

* Attempt at buildfixing ios

* UWP buildfix
2023-02-25 13:09:44 +01:00
Serena
6b0cec2ae0 i forgot this 2023-02-14 19:11:44 +03:00
Serena
c64aa9d19a address concerns 2023-02-14 19:11:32 +03:00
ZiHan Huang
2865310bca vulkan: Add the function realization of arm device to kms vulkan
Signed-off-by: ZiHan Huang <zack.huang@rock-chips.com>
2023-02-07 14:23:55 +08:00
Serena
070194ef92 fix on other platforms 2023-02-06 22:34:27 +03:00
Serena
6d474ac59d macOS bar button items 2023-02-06 22:17:27 +03:00
Henrik Rydgård
ce40744cdd
Merge pull request #16874 from SerenaKit/serena/darwin-browse-button
Browse button on Darwin platforms, rename some classes/functions
2023-02-01 17:21:53 +01:00
Serena
482e989cd7 convert to System_SendMessage insanity 2023-02-01 19:03:12 +03:00
Henrik Rydgård
c8dce81ff0
Merge pull request #16156 from hrydgard/opengl-thread-refactor
OpenGL threading refactor
2023-01-31 11:14:01 +01:00
Henrik Rydgård
b97749d623 Assorted initialization cleanup and similar, found by valgrind and warnings 2023-01-30 18:31:49 +01:00
Henrik Rydgård
cb16f193ec Fix the problem. Still need to leave the loop with SDL even if we supply a swap function. 2023-01-30 15:45:05 +01:00
Henrik Rydgård
b62572a78f Refactor the framedata/GPU thread management. 2023-01-30 11:49:31 +01:00
Henrik Rydgård
ece6edfe83 SDL audio: Let's try 256 for fmt.samples. See issue #12705 2023-01-17 11:45:35 +01:00
Henrik Rydgård
7fcd8a254f
Merge pull request #16506 from xuzhen/master
Fix the Qt/SDL window icon path
2022-12-09 11:56:35 +01:00