233 Commits

Author SHA1 Message Date
jdgleaver
ff16fb347a 'menu_entry' optimisations 2019-05-30 10:11:26 +01:00
Chuck Smith
ac2c6bdac2 correctly centers screen on iPhone X landscape 2019-05-19 21:11:30 +02:00
neville
7c4329f31d (OSX PPC) Buildfixes 2019-05-06 14:12:25 +02:00
neville
82be4ea0e5 (OSX PPC) One buildfix 2019-05-06 04:46:23 +02:00
Weedy Weed Smoker
c93272de15
(iOS) Buildfix
Changed "widgets/menu_entry.h" to "menu_entries.h", as no one did it before anyway...
2019-05-04 03:31:33 +07:00
twinaphex
83497d5029 (iOS) Buildfix 2019-02-10 02:28:12 +01: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
35ee386274 (Metal/OSX) Merge cocoa_common.m and cocoa_common_metal.m - more or less the same
code
2019-02-09 21:10:28 +01:00
twinaphex
bc8b348a04 (Cocoa) Cut down on some ifdefs 2019-02-09 04:45:37 +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
2cad3e09d2 (OSX) Buildfix 2019-02-07 05:08:55 +01:00
twinaphex
cb829d8552 (Cocoa/OSX) Start unifying Cocoa Metal/Cocoa codepaths - was mostly the
same code
2019-02-07 05:05:53 +01:00
twinaphex
0a6c7acbd4 (MEtal) Get rid of specialized version of ui_cocoa_window_metal.m 2019-02-07 04:47:24 +01:00
twinaphex
2599172831 Get rid of ui_cocoa_metal.h 2019-02-07 04:37:05 +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
twinaphex
d1edfabddb Revert "Move code to cocoa_common.m"
This reverts commit d3da2e2616a1d9111fd3fda76408ebd65c15f46a.
2019-02-07 03:25:01 +01:00
twinaphex
d3da2e2616 Move code to cocoa_common.m 2019-02-07 03:20:33 +01:00
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
Yoshi Sugawara
11bf1e05b1 remove logging code 2019-02-03 08:59:24 -10: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
e062b98088 Remove trailing blank lines.
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08: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
Yoshi Sugawara
83c1199403 iOS: Hide home screen indicator and make the user swipe twice to go home/app switching for iPhone X/2018 iPad Pro 2018-11-27 09:37:21 -10:00
Stuart Carnie
68760b36f2
chore(cocoa): Cleanup unnecessary conditionals in Metal source files 2018-11-06 07:56:05 -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
Yoshi Sugawara
f071460d7a use safe area to account for notch for iPhone X and adjust main view size 2018-09-23 22:45:44 -10:00
neville
8c3479f850 (OSX PowerPC) PowerPC Fixed 2018-08-31 21:22:37 +02:00
twinaphex
0b069c4ee3 Revert "Use constant values instead of MAC_OS_X_VERSION_ - might not be available on earlier OSX versions/xcode"
This reverts commit f35b578c42c6a1cd6b96ec87c4b50a97e0cb9b83.
2018-08-31 19:19:56 +02:00
neville
f35b578c42 Use constant values instead of MAC_OS_X_VERSION_ - might not be available on earlier OSX versions/xcode 2018-08-30 16:29:58 +02:00
Stuart Carnie
d1712d7c5a fix(macOS): Fix older targets 2018-07-04 15:26:49 -07:00
Stuart Carnie
d8061ac0e9 fix(macOS): Use correct availability macro check 2018-07-04 14:19:05 -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
8a298616aa chore(cocoa): reformat (3 spaces, etc) 2018-07-04 00:24:47 -07:00
Stuart Carnie
5240efc857 chore(Metal): fix compiler warnings when targeting newer macOS versions 2018-07-04 00:24:04 -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
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
Brad Parker
a1aefc901c Qt WIMP GUI 2018-04-30 14:33:05 -04:00
twinaphex
146c94a86a Revert "(iOS) Buildfix"
This reverts commit 15142fd0a98b0761c883366f817dd92326352ab9.
2018-04-11 06:12:01 +02:00
twinaphex
15142fd0a9 (iOS) Buildfix 2018-04-10 19:22:39 +02:00
Twinaphex
ef4cc160a5 Update 2018-01-24 05:42:28 +01: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
faab2526c8 Create gl_bind_texture 2017-11-10 03:55:10 +01:00