Commit Graph

124 Commits

Author SHA1 Message Date
Daniel De Matteis 59952c520b (Mac) Silence more warnings 2021-01-26 20:39:36 +01:00
Twinaphex a83c328631 (Metal) Fix some build problems 2021-01-19 04:38:07 +01:00
Tyler Loch ffbcd92e2d
Apple Silicon Build Support
Disable ARM NEON optimizations for audio, as used in libretro-common/audio/conversion
Allows for building Apple Silicon (arm64) and arm64/x86_64 fat-binary versions of RetroArch for macOS.
2020-11-25 15:22:49 -06:00
twinaphex 290c88b865 Remove menu_networking.c and merge it into menu_cbs_ok.c and
menu_displaylist.c
2020-09-17 23:15:25 +02:00
Twinaphex b1723f7cd0 Remove unused CocoaTouch menu - allows us to get rid of a lot of
dead code
2020-08-09 19:41:04 +02:00
Eduard Strehlau 53ab46f88b Fixed entitlements 2020-07-10 06:20:46 +02:00
Eduard Strehlau 8058618b26
Added entitlement file to project settings 2020-07-10 05:02:11 +02:00
twinaphex 3ee788def2 Add HAVE_DSP_FILTER 2020-07-02 02:13:04 +02:00
twinaphex 87b9c2a367 Add HAVE_REWIND switch 2020-07-01 21:04:05 +02:00
twinaphex 7862166ed2 Add back HAVE_SCREENSHOTS define from SSNES days 2020-07-01 17:47:13 +02:00
twinaphex 223d76680a Add HAVE_CHEATS ifdef 2020-06-30 19:35:55 +02:00
twinaphex b77dd9cfe4 Add HAVE_PATCH ifdef; add patch switch support to qb 2020-06-30 15:54:31 +02:00
twinaphex dda0c04d0a remove leftovers 2020-06-27 18:55:33 +02:00
twinaphex 39dbfd1db4 Remove unused menu_content.h 2020-05-11 02:32:45 +02:00
twinaphex bbe688cd05 Updates 2020-03-10 03:38:45 +01:00
Twinaphex df0f334b97
Revert "(macOS Metal) Add entitlements file" 2020-03-08 21:14:10 +01:00
CatGreen90 49e07b3e82
Add entitlements file to project.pbxproj 2020-03-06 13:37:37 -05:00
twinaphex f5bc061b26 Merge menu_generic.c into menu_driver.c 2020-02-26 09:22:48 +01:00
twinaphex 7c7d0f596a HAVE_MENU_WIDGETS now decoupled from HAVE_MENU 2020-02-17 21:28:42 +01:00
twinaphex c71469c715 Rename menu_display to gfx_display 2020-02-16 15:10:07 +01:00
twinaphex fc9edda0ef Turn menu_animation.c into gfx_animation.c 2020-02-16 14:01:34 +01:00
twinaphex e0fdd8d39e Add back HAVE_CONFIGFILE ifdef - will strip out remaps and overrides
support as well
2020-02-02 21:27:38 +01:00
twinaphex 4a93cb2007 (Metal) Update pbxproj 2020-01-06 17:33:20 +01:00
twinaphex 56236f7372 Get rid of platform_null.c file 2020-01-06 15:35:35 +01:00
Jean-André Santoni 11a4a4cffb
Code cleaning 2019-11-20 10:45:14 +07:00
Jean-André Santoni 87cc90741d
Deep sign 2019-11-20 09:59:34 +07:00
Jean-André Santoni 27da1c94f2
Enable hardened runtime for the Qt build 2019-11-20 09:09:27 +07:00
Jean-André Santoni 8533512a82
Revert "Remove project changes"
This reverts commit f5dac2859ff029c7e836264cccf6cb28b146c308.
2019-11-19 17:38:19 +07:00
Jean-André Santoni dbe4be7e7f
Remove project changes 2019-11-19 17:38:19 +07:00
Jean-André Santoni 912ab4ff00
Fix QT build 2019-11-19 17:38:19 +07:00
Jean-André Santoni 460cfc9efd
Fix QT build 2019-11-19 17:38:19 +07:00
Jean-André Santoni 944e89bdc8
Enable hardened runtime 2019-11-19 17:38:18 +07:00
Jean-André Santoni 885eb4f15b
Fix signing conflict 2019-11-19 17:38:18 +07:00
Jean-André Santoni 27ecc119e0
Try to set the team ID there 2019-11-19 17:38:18 +07:00
CatGreen90 1f45a9d71e (RetroArch_Metal.xcodeproj) Add glslang_utils.c and glslang_utils_cxx.cpp/.h to project.pbxproj (#9328)
* Update android_ctx.c

* Add glslang_util_cxx.c/.h and glslang_util.c

* Update
2019-08-19 01:53:12 +02:00
twinaphex d52c573e13 Merge slang_preprocess.cpp into slang_process.cpp 2019-08-18 18:55:22 +02:00
orbea 63a92a3f78 Update the zlib include directory paths. 2019-07-25 11:18:33 -07:00
orbea 7d3c616790 Correct fix for xcode10.1. 2019-07-21 14:04:27 -07:00
orbea c3093aff76 Fix the xcode10.1 build. 2019-07-21 13:54:23 -07:00
twinaphex e5d13bd32a Rename input_common.c to input_hid_common.c 2019-05-27 15:01:36 +02:00
twinaphex 6a71aa06c8 (Apple) Add HAVE_MENU_WIDGETS 2019-05-03 21:52:59 +02:00
twinaphex d7d201cb63 (Apple Metal) Add HAVE_MENU to moc generation 2019-04-19 19:26:57 +02:00
Twinaphex 8d7a0117bc (Metal RA) Exclude OpenGL from Metal build 2019-04-08 19:17:51 +02:00
cold-brewed 49304bbee3 (OSX) Enable CoreAudio v3 driver but do not make it the default 2019-02-28 14:49:38 -05:00
twinaphex 1a8ad73c3f (Cocoa) Unify both headers 2019-02-09 04:40:38 +01:00
twinaphex 2599172831 Get rid of ui_cocoa_metal.h 2019-02-07 04:37:05 +01:00
Twinaphex 25157942a3 Remove CoreVideo from Metal xcodeproj 2019-02-07 04:10:59 +01:00
orbea 98f6aecec2 Remove the zarch menu driver. 2019-02-02 22:15:10 -08:00
orbea af813d9c46 Further remove nuklear. 2019-02-02 20:58:47 -08:00
Stuart Carnie 0e295716b9
feat(metal): Add native rotation support for Metal driver
* fix crash when frame or frame size is 0
2018-11-29 22:04:43 -07:00
Stuart Carnie b59f05500e
feat(macOS): Enable ozone menu system 2018-11-06 07:56:05 -07:00
Stuart Carnie dde3545600
chore(cocoa): Revert to using cocoa_gl_ctx.m; remove macos_ctx.m 2018-11-04 20:50:51 -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
Stuart Carnie ab1242f368 fix(cocoa): Move sendEvent implementation to RAWindow
Introduced independent Info_Metal.plist and MainMenu_Metal.xib files,
to avoid breaking earlier builds.
2018-10-18 19:03:10 -07:00
Stuart Carnie 35620ffe47 feat(Metal): Add support for screen shots 2018-10-14 11:07:57 -07:00
twinaphex ba020720db Add HAVE_NETPLAYDISCOVERY 2018-10-12 18:29:52 +02:00
Stuart Carnie 4240c895bf fix(macOS/Qt): Rename produce RetroArchQT → RetroArch (#7374) 2018-10-06 12:27:53 -04:00
Twinaphex b747208a7b Fix Metal Qt build 2018-09-29 21:14:04 +02:00
Twinaphex 433f2d8fe6 Update Metal pbxproj 2018-09-29 20:55:00 +02:00
twinaphex 7aea66677b Merge menu_input.c and menu_event.c 2018-09-25 16:46:15 +02:00
Stuart Carnie 1de3aaadeb chore: Call Makefile.app to generate Qt moc files 2018-09-07 20:32:57 -07:00
Stuart Carnie 4d7fe0e96c feat(macOS): Embed Qt frameworks and frameworks to @executable_path
* note that install_name_tool is used to update the frameworks via
  a post-build script
2018-09-07 17:38:46 -07:00
Stuart Carnie 428f895b6f feat(macOS): Initial Desktop UI (Qt) support
* Adds new RetroArchQT build target to RetroArch_Metal.xcodeproj

Prerequisites:

* Install Qt Frameworks

    $ brew install qt

* Build `moc` files using

    $ make -f Makefile.apple HAVE_QT=1 Q=/usr/local/opt/qt/bin/moc generate

Limitations:

* Qt frameworks are not embedded in bundle, therefore Qt must be
  installed via the `brew` command
2018-09-05 20:10:54 -07:00
Stuart Carnie 0291c41afa fix(Metal): Fix blank screen after full screen toggle; window focus 2018-07-14 11:18:21 -07:00
Stuart Carnie 167ad3b57d fix(Metal): Various Metal fixes
* OSD message background
* clear glui background
* add Metal to configuration
* added optional config to compile Metal build without OpenGL
* fixed fill_pathname_join_delim; if out_path and dir are same, don't
  strlcpy, as the results are undefined.
2018-07-12 21:33:18 -07:00
Stuart Carnie 74e1f24e90 feat(Metal): Full screen support
* I believe there is a race condition where the viewport is not set
  correctly on launch
2018-07-06 23:38:34 -07:00
Stuart Carnie a0900ec433 feat(Metal): full xmb pipeline support
Menu TODOs:

* understand why ribbon does not look the same as GL
* add clear support to `MenuDisplay` for glui
2018-07-03 22:32:12 -07:00
Stuart Carnie 5e1f991e32 feat(Metal): initial xmb and glui menu support
TODOs

* menu shader pipeline effects
* refactor / optimize graphics rendering
2018-07-03 22:32:12 -07:00
Stuart Carnie ee8d82dcfe add additional project files 2018-06-23 13:33:27 -07:00
Stuart Carnie 3462fd248c fix(Metal): fix project file to include .metal resources 2018-06-20 22:58:36 -07:00
Twinaphex 2bdffff435 Silence more warnings 2018-06-21 07:34:27 +02:00
Twinaphex 467aa30131 Cleanups 2018-06-21 07:26:05 +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
twinaphex 599937cc4f Make separate xcodeproj 2018-05-14 00:17:17 +02:00