Commit Graph

62 Commits

Author SHA1 Message Date
Yoshi Sugawara 2187cf67c9 Support the ApplePlatform delegate for all iOS builds (the OpenGL one) so that the view initialization happens in the same way; remove the companion UI for iOS; four finger swipe down now shows RA menu on iOS 2020-07-20 15:38:24 -10:00
Yoshi Sugawara 42e4854245 replaced confusing ifdef with a more concise #if TARGET_OS_OSX 2020-07-19 07:57:10 -10:00
Yoshi Sugawara eed84b3021 re-created RetroArch_iOS11_Metal.xcodeproj with the appropriate compiler flags and fixed building for both metal and opengl; hardcoding the metal drawable size for now for testing 2020-07-18 07:47:10 -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 932071952d (OSX) Buildfix 2019-11-20 11:19:18 +01:00
twinaphex e3506ed06b Move nsview_get_ptr to cocoa_common 2019-11-20 02:24:03 +01:00
Twinaphex 511f43d5cf Move it to cocoa_gl_ctx.m 2019-09-22 11:26:06 +02:00
Twinaphex 83f1b28f98 Revert "(Cocoa) Move nsview_get_ptr and nsview_set_ptr to cocoa_gl_ctx.m"
This reverts commit 4f564360e7.
2019-09-22 10:54:01 +02:00
twinaphex 4f564360e7 (Cocoa) Move nsview_get_ptr and nsview_set_ptr to cocoa_gl_ctx.m 2019-09-22 10:48:23 +02:00
twinaphex ad1fb29092 (Metal) Refactor 2019-09-22 10:28:51 +02:00
twinaphex b9db1c1702 Add function prototype to cocoa_common.h 2019-02-10 02:13:57 +01:00
twinaphex 5733ed9a29 Move these defines to cocoa_common.h 2019-02-10 02:11:22 +01:00
Twinaphex 47ed8d3627 (iOS) Buildfix 2019-02-09 04:43:15 +01:00
twinaphex 1a8ad73c3f (Cocoa) Unify both headers 2019-02-09 04:40:38 +01:00
twinaphex f64f598987 (Apple) Header buildfixes 2019-02-09 04:28:28 +01:00
twinaphex ef8d1ad406 (Cocoa) Create common shared header file 2019-02-09 04:21:01 +01:00
twinaphex acf71fc46c Header guards should not be identical to cocoa_common_metal.h 2019-02-09 04:13:53 +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
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
orbea bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08: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
Stuart Carnie c7b21d5bd6 feat(Metal): Add support to disable display sleep (no screen saver) 2018-07-04 13:13:03 -07:00
Stuart Carnie eacd52f009 fix(Metal): improve shader stability
* use MTKView, which handles layer and scaling changes automatically
  between displays
2018-06-23 13:33:27 -07: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
Stuart Carnie 789933b333 wip: add Vulkan support to Apple platforms 2018-05-13 21:35:23 +02:00
gblues 6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex 96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
Twinaphex b11bfc8a73 Add ui_companion_driver_get_main_window 2016-06-12 19:29:07 +02:00
twinaphex b4085b6118 Hide Qt wrapper code behind an ifdef - HAVE_QT_WRAPPER, set this to
1 in Makefile.common in order to use it
2016-06-09 19:51:50 +02:00
twinaphex 047ffe9d30 Remove apple_display_alert 2016-06-08 07:19:19 +02:00
Twinaphex 860fb1d525 (Cocoa) Implement ui_window_cocoa_set_title 2016-06-04 08:09:55 +02:00
Twinaphex 7a564720fb (Cocoa) Buildfix 2016-06-04 08:00:19 +02:00
twinaphex 93e17b46bd Cleanups 2016-02-26 13:32:56 +01:00
pponso1 452c6afaf0 support for playing Music.app in background. 2016-01-16 12:09:44 -06:00
twinaphex 718ed30d70 (Cocoa) Buildfixes 2015-12-06 18:18:50 +01:00
Twinaphex 09dca0c0f0 (OSX) Change interface to RetroArch_OSX 2015-10-12 12:21:54 +02:00
Jean-André Santoni 18d157acea Display OSD messages in cocoatouch 2015-09-22 22:50:58 +02:00
Jay McCarthy 4c04c2c47a animate moving menus better 2015-09-21 16:52:37 -04:00
Twinaphex 15c1c89ef7 (Cocoa) Buildfix 2015-09-16 09:21:29 +02:00
Twinaphex 432a54ca6c (cocoa_common.h) Take out some header includes 2015-09-16 07:49:44 +02:00
twinaphex 99836df8f9 Moved headers 2015-09-16 07:48:31 +02:00
twinaphex 249cbaba6c (ui_cocoatouch.m) Cleanup useless functions 2015-08-14 02:48:36 +02:00
twinaphex 49e6806ddd (cocoa_common.h) Cleanups 2015-08-14 02:36:19 +02:00
Twinaphex a2f98ebe1c (Cocoa) Take out unused RAFoldersList 2015-08-14 02:32:36 +02:00
Twinaphex 784b1e2e40 (Apple) buildfixes 2015-06-02 21:39:06 +02:00
twinaphex f7d732bc3d Rename RetroArch_OSX 2015-06-02 09:48:02 +02:00
neville 8151c85980 (OSX) Take out settings window for now entirely 2015-06-02 09:00:27 +02:00
Jay McCarthy bd66d9796f change menu_entries to my wish list of functionality 2015-05-14 16:18:32 -04:00
Jay McCarthy d96c2e2a45 Initial attempt to support notify_list_pushed 2015-05-12 10:45:26 -04:00