Commit Graph

173 Commits

Author SHA1 Message Date
Yoshi Sugawara 897aee0bcf add more logging, use autolayout constraints to pin metal view to superview to support orientation changes easier 2020-07-14 17:49:38 -10:00
Yoshi Sugawara 82d6d8e876 add the metal view to the view controller view after initializing the metal view for iOS 2020-07-07 08:19:46 -10:00
Yoshi Sugawara 8e1dd5def1 protocol conformance for ApplePlatform for iOS; add metal shader functions files to xcode project 2020-07-07 05:38:50 -10:00
Yoshi Sugawara 6308ba1acb support ApplePlatform for iOS and conform app delegate class to it, move app delegate class to apple_platform.h, fix metal references for iOS 2020-07-07 05:03:42 -10:00
twinaphex 88f7515d1d Cleanups, comments, style nits 2020-06-04 14:41:28 +02:00
Yoshi Sugawara a85ed986de Set audio session category to ambient so sound does not get cut off on interruption (phone call/playing back audio) 2020-04-22 08:54:57 -10:00
twinaphex b3d3e5dd06 Cleanups 2020-02-19 21:05:38 +01:00
twinaphex 310bf3328e (UI) Cleanups 2020-02-13 22:39:29 +01:00
Yoshi Sugawara f0adf90ec0 (iOS/tvOS): add references to some iOS specific source files to xcode project to make it easier to open and search source files; removed call to show native menu when going into the background 2019-09-14 14:16:23 -07:00
twinaphex ca3a80091a Cleanup runloop_iterate
NOTE/CHECK: Hopefully wiiu is unaffected by the change
in sleeping
2019-08-11 19:39:48 +02:00
twinaphex d905986a52 Rename functions - change rarch_ prefix to retroarch_ 2019-07-20 12:43:43 +02:00
Twinaphex db6a4f8368 (UI Companion) Get rid of unused iterate function callback 2019-07-19 13:59:07 +02:00
orbea ae6ea28220 Fix the iOS 11 build.
Fixes https://github.com/libretro/RetroArch/issues/9120.
2019-07-17 06:32:00 -07:00
twinaphex f4bf218f35 (Menu) We need to tell rarch_menu_running_finished whether we want
to exit RetroArch or not - to avoid certain crashes when trying to
access the settings pointer - which should already be freed at this
point
2019-06-30 11:23:18 +02:00
Twinaphex 2dbb334fb1 (iOS) Fix two function pointers 2019-04-30 11:57:15 +02:00
twinaphex 58855c7b28 (CocoaTouch) Get rid of ui_cocoatouch_metal.m - was identical to ui_cocoatouch 2019-02-09 20:59:34 +01:00
twinaphex f705503531 (Apple) Get rid of HAVE_CORELOCATION/HAVE_AVFOUNDATION - was mostly dormant
code and makes the Apple code needlessly complex right now. We can
always reintroduce this later on when the time is right
2019-02-07 04:03:52 +01:00
orbea 28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
Yoshi Sugawara a18512375b Support for tvOS
- add tvOS target
    - support code signing tvOS cores by adding an argument to the code signing cores script
    - use NSCachesDirectory for the documents directory
    - add some mfi controller handling logic to set non-game controllers to the last index to avoid interfering with operation
    - autodetect mfi controller for apple tv on startup - added autodetect to hid joypad
    - added a webserver to transfer files for tvOS
    - xcode: clean up project, remove unused folders
    - remove HAVE_MATERIALUI setting for tvos build, make it use XMB as default
    - added retroarch app icon courtesy of @MrJs
    - added auto-detect of mfi controller for apple tv
2019-01-29 10:13:46 -10:00
Yoshi Sugawara 559ae6dfd0 iOS: fix to avoid stack overflow when loading glsl shader; see issue 7298. Re-applying this fix after the reverting to use cocoa_gl_ctx.m for the driver context 2018-11-07 06:57:04 -10:00
twinaphex 04c046e831
Update
(cherry picked from commit 64cc28a487)
2018-11-04 20:50:50 -07:00
Stuart Carnie 5c1075127b
chore(metal): Separate legacy GL and Metal source
* Forks of Cocoa / Cocoa Touch to *_metal.* version
* Reverted original GL Cocoa / Cocoa Touch versions
* GL and Metal projects still build
2018-11-04 20:50:50 -07:00
twinaphex 4d8a3db02f (iOS) Fix issue https://github.com/libretro/RetroArch/issues/7298#issuecomment-427618317 2018-10-07 04:33:06 +02:00
twinaphex 64cc28a487 Update 2018-09-01 01:14:26 +02:00
twinaphex c0c88173a0 (CocoaTouch) Fix some function callback signatures 2018-09-01 01:07:14 +02:00
Twinaphex 511044270b Fix iOS build 2018-06-21 08:37:08 +02:00
Stuart Carnie 411bcf8bdd feat(apple): Metal support for macOS
* includes rgui
* shader support

This is a work-in-progress and there are some bugs and visual artifacts
still to be fixed.
2018-06-20 21:33:45 -07:00
Brad Parker a1aefc901c Qt WIMP GUI 2018-04-30 14:33:05 -04:00
Yoshi Sugawara c44dd39dd6 Fixed crash when opening content using "open in..", support for keyboard mapper 2018-03-22 22:43:20 -10:00
twinaphex 61ff51be2f Start using string_is_equal predominantly 2018-01-16 22:53:38 +01:00
twinaphex b11620e1eb Add retro_timers.h/retro_math.h 2017-06-28 04:41:38 +02:00
twinaphex 126a5bf121 Use string_is_equal_fast/string_is_not_equal_fast 2017-05-16 04:00:37 +02:00
twinaphex bf3188eac4 Combine runloop_ctl and rarch_ctl 2017-05-15 05:06:23 +02:00
twinaphex e2c7671e9f Create rarch_menu_running/rarch_menu_running_finished 2017-05-15 04:31:40 +02:00
twinaphex 80d9d1f143 Rewrite task_queue 2017-05-14 20:43:48 +02:00
twinaphex 6433cde3c0 Cleanups 2017-05-13 21:06:57 +02:00
twinaphex 42ebe7a7ad Merge runloop.c and retroarch.c 2017-05-11 09:11:46 +02:00
twinaphex cc095e56fc Start refactoring bool variables 2017-04-28 00:53:20 +02:00
twinaphex 6ebd4e139e Rewrite more string_is_equal call invocations as memcmp 2017-04-22 08:51:16 +02:00
Twinaphex b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
twinaphex c2036e4aed (iOS) App Store versions cannot reference non-public selectors 2017-02-26 07:05:14 +01:00
twinaphex e5b7b83b3f (ui) Style nits 2017-01-17 19:04:42 +01:00
twinaphex 3d7fbd355e (Apple) Buildfixes 2016-10-22 17:41:26 +02:00
twinaphex d08668b331 Rollback 4b807b482 - was unnecessary in hindsight anyway 2016-10-22 16:39:55 +02:00
twinaphex 4b807b482f Create runloop_poll 2016-10-20 02:17:17 +02:00
twinaphex bf4fd2a864 Update headers for ui/drivers 2016-09-05 18:33:22 +02:00
Yoshi Sugawara 9173397f08 iOS 10 support: cores need to be in the modules directory of app bundle, added script to code sign cores in modules directory 2016-07-10 09:02:40 -10:00
Twinaphex b11bfc8a73 Add ui_companion_driver_get_main_window 2016-06-12 19:29:07 +02:00
twinaphex 0e01a3c84b Add ui_browser_window 2016-06-08 15:47:00 +02:00
twinaphex 047ffe9d30 Remove apple_display_alert 2016-06-08 07:19:19 +02:00