1118 Commits

Author SHA1 Message Date
twinaphex
a49d0a50b9 Move more functionaliy to cocoa_gl_shared.h 2019-02-10 01:44:46 +01:00
twinaphex
35ce4dcadc Updates 2019-02-10 01:30:12 +01:00
twinaphex
74bddae86e (CocoaGL) Move shared code to gl_shared file 2019-02-10 01:29:04 +01:00
twinaphex
b1c4bdf6f7 (Cocoa) Cleanups 2019-02-10 01:25:07 +01:00
Twinaphex
ed458cd89b (OSX) Buildfix 2019-02-10 01:21:45 +01:00
twinaphex
20a94a5f37 (CocoaGL) Cleanups 2019-02-10 01:16:35 +01:00
twinaphex
d0e26c10aa Move more code to cocoa_gl_shared.h 2019-02-10 01:11:07 +01:00
twinaphex
c363eb4397 Move more common functions over to cocoa_gl_shared.h 2019-02-10 00:58:05 +01:00
twinaphex
6f43b7974b Add cocoa_gl_shared.h 2019-02-10 00:31:27 +01:00
Twinaphex
fa4e074552 Revert "(Cocoa) Have only one Cocoa GL context driver from now on"
This reverts commit 08bd58e0c469678ce383160c732a16f7d3577d15.
2019-02-09 22:57:41 +01:00
Twinaphex
d85385ca8a Revert "(OSX) Buildfix"
This reverts commit 13b8d63bc507bbbc976317face649487e5a66d68.
2019-02-09 22:57:28 +01:00
Twinaphex
13b8d63bc5 (OSX) Buildfix 2019-02-09 22:56:49 +01:00
twinaphex
08bd58e0c4 (Cocoa) Have only one Cocoa GL context driver from now on 2019-02-09 22:52:43 +01:00
twinaphex
a97fffccb8 Cleanup macro 2019-02-09 21:13:37 +01:00
twinaphex
1a8ad73c3f (Cocoa) Unify both headers 2019-02-09 04:40:38 +01:00
Twinaphex
3b19fa9bad
Merge pull request #8226 from Sunderland93/master
[Wayland] Fix zxdg_shell_v6 detection
2019-02-08 19:35:47 +01:00
Aleksey Samoilov
b609eaf83f
[Wayland] Fix zxdg_shell_v6 detection 2019-02-08 21:45:40 +04: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
twinaphex
62bea6ad11 SOme header cleanups 2019-02-02 22:02:24 +01:00
orbea
5d56080312 Use the posix poll.h instead of sys/poll.h. 2019-02-01 09:58:04 -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
benutzer193
8e26b13578
If window is not present, create window 2019-01-26 17:49:20 +01:00
Sunderland93
cd35fb9440 Change prev_width and prev_height to unsigned int 2019-01-20 22:12:05 +04:00
orbea
e062b98088 Remove trailing blank lines.
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
Sunderland93
dba9781f26 Fix toggle fullscreen 2019-01-12 22:18:31 +04:00
Greg V
b52a5ae664 Remove trailing whitespace in wayland_ctx.c
vim has been helpfully doing this for me every time I saved the file
and I've had to manually ignore these changes when committing.
Let's just commit this.
2019-01-11 20:37:59 +03:00
twinaphex
01b2b9c3a6 Buildfix 2019-01-09 01:01:03 +01:00
Twinaphex
ac04c1bfc5
Merge pull request #7892 from Datamats/libnx_nwindow
libnx: refactor all the code of the now deprecated gfx api over to the new nwindow / framebuffer api
2019-01-08 23:36:20 +01:00
Twinaphex
d2f7853d49
Merge branch 'master' into more-wayland 2019-01-08 21:45:43 +01:00
Twinaphex
40997473ed
Merge branch 'master' into orbis2 2019-01-08 20:18:08 +01: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
Mats
462a4b24fd libnx: refactor all the code of the now deprecated gfx api over to the new nwindow / framebuffer api 2019-01-07 15:03:44 +01:00
Greg V
e36bf32490 Wayland: track current output and its scale
Ideally, we would track all outputs we're on and choose the highest DPI among them,
but that is pretty difficult. Let's at least use the latest output we've entered
as the current one.
2019-01-04 01:58:44 +03:00
Greg V
60c8f51009 Wayland: keep track of all outputs (displays)
Required to support multiple monitors with varying scales (HiDPI/LoDPI)
2019-01-04 00:37:02 +03:00
Greg V
056c7fffe1 Wayland: consistently store wl->width/height unscaled
No functional change
2019-01-03 23:43:36 +03:00
Greg V
b7a13a02cb Wayland: use lowercase 'retroarch' as app_id
It should match the name of the .desktop file.
2019-01-03 22:16:55 +03:00
Greg V
c151ad1bb2 Wayland: remove bogus condition
Pointy hat: @sardemff7
2019-01-03 22:15:48 +03:00
Sunderland93
d374e8415f Fix drag with "Alt" key on non xdg_wm_base shell's 2019-01-03 22:54:01 +04:00
Greg V
a9a53fdb64 Wayland: create fullscreen Vulkan surface multiplied by the scale 2019-01-01 02:43:59 +03:00
Greg V
6d943e10a6 Wayland: unbreak Vulkan after fixing HiDPI resizing 2019-01-01 02:38:14 +03:00
Twinaphex
eaef091915
Merge pull request #7855 from myfreeweb/wayland-hidpi-resize
Wayland: Fix window resizing on HiDPI monitors
2019-01-01 00:35:16 +01:00
M4xw
a2eaa6a19d [LIBNX] Native 1080p support 2019-01-01 00:26:18 +01:00
Greg V
c901866864 Wayland: Fix window resizing on HiDPI monitors 2019-01-01 02:23:39 +03:00
Francisco José García García
1b35b75d45 [ORBIS] Fix height / width typo 2018-12-31 00:07:39 +01:00
Francisco José García García
c56e9b1ff6 [ORBIS] eglSwapInterval workaround 2018-12-30 14:01:10 +01:00
Francisco José García García
d34b94a661 [ORBIS] Several EGL and GL fixes 2018-12-30 00:11:53 +01:00