twinaphex
62cef96118
Update cocoa_gl_ctx.m
2019-02-10 02:02:17 +01:00
twinaphex
794ab4ef68
Update cocoagl_set_mode
2019-02-10 01:59:08 +01:00
twinaphex
2c9b7c84df
Updates
2019-02-10 01:54:39 +01:00
twinaphex
a49d0a50b9
Move more functionaliy to cocoa_gl_shared.h
2019-02-10 01:44:46 +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
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 08bd58e0c4
.
2019-02-09 22:57:41 +01:00
Twinaphex
d85385ca8a
Revert "(OSX) Buildfix"
...
This reverts commit 13b8d63bc5
.
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
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 d3da2e2616
.
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
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
twinaphex
85ed60cf9a
Cleanups
2018-10-01 03:46:12 +02:00
twinaphex
85f093e042
Change these to numbers
2018-08-31 21:25:33 +02:00
twinaphex
1265d7546c
Revert "Start using raw constants for OSX version detection"
...
This reverts commit ab34a70873
.
2018-08-31 19:19:42 +02:00
twinaphex
ab34a70873
Start using raw constants for OSX version detection
2018-08-30 16:35:44 +02:00
Twinaphex
f4c83157af
Fix CocoaGL context driver
2018-04-21 18:06:14 +02:00
twinaphex
16c1bd7a03
Create context get_api function
2018-03-01 21:16:54 +01:00
Twinaphex
59f7a59b3f
(Cocoa) Fix small leak
2017-10-01 09:33:53 +02:00
Twinaphex
c16bb5ff5e
(Cocoa) Buildfix
2017-06-27 06:14:13 +02:00
twinaphex
c1c5ebf5f6
(Cocoa) Start implementing core context hooks
2017-06-27 06:11:08 +02:00
twinaphex
94af3addd0
Update cocoa_gl_ctx.m
2017-06-26 07:23:04 +02:00
twinaphex
f5a12d63cc
(Cocoa) Try to support Core GL 3.1/3.2/3.3 and 4.1 on OSX 10.7 and
...
10.10 respectively
2017-06-26 07:16:41 +02:00
twinaphex
097d9bc13b
(iOS) Buildfix
2017-06-18 19:43:55 +02:00
Twinaphex
56d744ceaa
(Cocoa) Shared hardware context starts to work now
2017-06-18 19:35:34 +02:00
Twinaphex
5e0eec8857
Remove unused variable
2017-05-19 14:53:25 +02:00
twinaphex
b0398c1482
C89 build fixes
2017-05-19 03:34:53 +02:00
twinaphex
f928e57064
Combine video_context_driver.c and video_driver.c
2017-05-09 01:25:59 +02:00
twinaphex
05e4ec733e
Move uint variables
2017-04-28 21:03:04 +02:00
twinaphex
b591d63e8b
Silence unused variable warning
2017-04-15 20:20:47 +02:00
twinaphex
4b419ce125
(iOS) Fix 'release is unavailable; not available in automatic reference
...
counting mode'
2017-04-15 20:20:08 +02:00
twinaphex
e3fce81097
Use BRIDGE macro
2017-04-15 19:28:10 +02:00
twinaphex
1d97a81224
Optimize get_backing_scale_factor - store result of backing scale
...
factor query and use it for later function call invocations
2017-04-15 19:27:33 +02:00
Twinaphex
2324399fa8
Buildfix
2017-04-15 19:21:10 +02:00
twinaphex
e97682d4ca
Simplify cocoa_gl_ctx.m
2017-04-15 19:20:42 +02:00
Twinaphex
80017f7d71
(OSX) Try to free allocation at the end of get_selector
2017-04-15 19:13:21 +02:00
twinaphex
6247d6ea1d
Update check_window - we no longer need runloop.h inside context driver
2017-01-23 01:02:33 +01:00
twinaphex
4ea31e99aa
Remove some header includes
2017-01-23 00:39:20 +01:00
twinaphex
1ea3bea0ee
Don't pass video_info by value to context_driver init function
2017-01-22 18:29:22 +01:00
twinaphex
96c8ca5a09
Header update #1
2017-01-22 13:40:32 +01:00
Brad Parker
a54ea9ad88
show titlebar again for remaining drivers
2017-01-19 18:08:39 +00:00
twinaphex
9d1de5c974
Rewrite video_context_driver_set_resize
2017-01-19 14:31:57 +01:00
Brad Parker
b44c8c9995
store buffer for window title, only update actual title when it changes
2017-01-19 00:33:52 -05:00
twinaphex
7fbd3fcfb6
Simplify has_windowed
2017-01-19 02:50:56 +01:00
twinaphex
b96e0bb820
Remove stub update_title functions
2017-01-19 01:58:44 +01:00
Twinaphex
99622cee14
(Cocoa ) Update
2017-01-19 00:10:42 +01:00
twinaphex
e620b9b697
(OSX) Fix OSX
2017-01-18 17:42:11 +01:00
twinaphex
a6a4808e94
Refactor frame monitor code
2017-01-18 17:41:27 +01:00
twinaphex
666534cc74
Grab settings pointer only once inside wrapper 'input_driver' function
2017-01-16 00:14:10 +01:00
twinaphex
1fa3475d79
Add parameter to video_context_driver's 'init' function
2017-01-13 16:52:07 +01:00
twinaphex
80f79130c0
Update set_video_mode context driver callback function
2017-01-11 06:35:50 +01:00
Twinaphex
476c047f85
(OSX) Buildfix
2017-01-09 16:16:59 +01:00
twinaphex
6b3cc9068d
Pass video_info to swap_buffers too
2017-01-09 14:59:15 +01:00
twinaphex
3d92ce140e
Pass video_frame_info_t to update_window_title
2017-01-09 14:42:07 +01:00
twinaphex
77e5cdbfde
Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
...
This reverts commit ad7386913c
.
2016-12-22 23:36:11 +01:00
twinaphex
ad7386913c
Rename runloop_msg_queue_push to video_driver_msg_queue_push
...
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
twinaphex
1b9a067bcc
Move code to apple_compat.h
2016-09-14 14:10:39 +02:00
twinaphex
6f47289ba6
Start adding HAVE_CONFIG_H to gfx/drivers_context
2016-09-06 19:39:02 +02:00
twinaphex
aa15fb3f91
Update remaining video context drivers
2016-08-31 15:02:07 +02:00
Twinaphex
1586214876
(OSX) Fix text title inside window
2016-07-16 15:01:06 +02:00
Twinaphex
1e91689919
(iOS) Fix FPS reporting
2016-06-22 17:42:32 +02:00
Twinaphex
d178f90cc1
Remove this header
2016-06-08 08:19:06 +02:00
neville
f170856374
(OSX) Fixes
2016-06-08 07:41:59 +02:00
Twinaphex
f17b4fba05
Rename ui_cocoa_window.h
2016-06-07 16:47:48 +02:00
Twinaphex
c4cea05399
Go through ui_window_t function pointer
2016-06-06 07:39:31 +02:00
twinaphex
ca6f539ff5
(iOS) Prevent unused variable 'buf' warning
2016-06-05 07:02:44 +02:00
twinaphex
80b194f491
(Cocoa) Cleanups
2016-06-04 08:20:39 +02:00
Twinaphex
860fb1d525
(Cocoa) Implement ui_window_cocoa_set_title
2016-06-04 08:09:55 +02:00
twinaphex
60233d1abb
Add set_flags to context driver
2016-05-05 17:35:28 +02:00
twinaphex
8136683ffc
(context drivers) Start exposing core GL flag
2016-05-05 05:46:00 +02:00
twinaphex
a0425dfb14
(Context drivers) Add get_flags function
2016-05-05 05:35:35 +02:00
twinaphex
53fc458795
(Cocoa) Store idiom type inside unsigned variable
2016-05-02 14:53:23 +02:00
Twinaphex
fab90f4b96
(iOS) Avoid warning for unhandled CarPlay enum value
2016-05-02 01:55:02 +02:00
twinaphex
0f8e31cad3
(iOS) Use -1 instead of UIUserInterfaceIdiomUnspecified for backwards
...
compatibility
2016-03-02 17:25:13 +01:00
Twinaphex
ea2094126b
(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix
2016-02-26 14:25:57 +01:00
twinaphex
4dfed7e930
Cast to NSOpenGLContext *
2016-02-26 13:39:01 +01:00
twinaphex
dcefb740f2
Create glcontext_get_ptr
2016-02-26 13:36:12 +01:00
twinaphex
0e1d00a85c
(CocoaTouch) Cleanup
2016-01-18 22:13:35 +01:00
Twinaphex
c68e824eb9
This AVFoundation code needs to work for both iOS and OSX
2016-01-18 13:19:28 +01:00
Phillip Ponson
6ca58a4d6e
iOS: Refactoring support for background Music.app.
2016-01-17 19:51:28 -06:00
twinaphex
dd239fc85d
Add HAVE_AVFOUNDATION ifdefs
2016-01-16 22:02:49 +01:00
Phillip Ponson
48b99b1f48
Fixing a build issue. syntax errors. 😣
...
.
'
2016-01-16 12:48:33 -06:00
pponso1
212337c7c1
iOS audio support
2016-01-16 11:57:00 -06:00
twinaphex
fcc8c5dae7
This is still necessary unfortunately
2016-01-16 16:46:20 +01:00
twinaphex
9f27b9b56d
Remove another compile-time ifdef
2016-01-16 16:22:55 +01:00
Twinaphex
fbdc30e7bb
(OSX) Buildfix
2016-01-16 16:21:39 +01:00
twinaphex
b4687fdb2b
Check if convertRectToBacking is available at runtime instead
...
of compile-time
2016-01-16 16:20:19 +01:00
twinaphex
a5c83da839
Simplify cocoagl_gfx_ctx_get_video_size
2016-01-16 16:14:25 +01:00
Twinaphex
c824f7af15
get_video_size - don't need screen pointer anymore
2016-01-16 13:31:43 +01:00
twinaphex
6a1d423700
(OSX) Cleanup
2016-01-16 13:30:38 +01:00
twinaphex
14ec006412
Cleanup
2016-01-16 13:29:33 +01:00
neville
9a38ec28b0
Get rid of compile-time ifdefs inside get_chosen_screen
2016-01-16 13:23:00 +01:00
Twinaphex
2c42ad3c96
(cocoa_gl_ctx.m) Cleanups
2016-01-16 12:12:07 +01:00
Twinaphex
dfe79c3fcd
setWantsBestResolutionOpenGLSurface - determine at runtime if we can call
...
this instead of compile-time
2016-01-16 12:09:50 +01:00
Twinaphex
21dc363e0f
backingScaleFactor - cut down on compile-time ifdef - attempt to detect it at runtime
2016-01-16 11:58:36 +01:00
Twinaphex
64fe30281c
Cleanup
2016-01-16 11:51:24 +01:00
Twinaphex
302089e8d8
Cleanup
2016-01-16 11:50:44 +01:00
Twinaphex
5a4db266e8
(OSX) Change get_from_selector
2016-01-16 11:49:10 +01:00
Twinaphex
5cc163a10b
(OSX) Cleanup
2016-01-16 11:40:48 +01:00
Twinaphex
794bcc53c3
(iOS) Buildfix
2016-01-15 23:15:49 +01:00
twinaphex
09a183df3f
(OSX) Create get_backing_scale_factor
2016-01-15 22:15:23 +01:00
twinaphex
e920e5f1b9
Add early return in case settings is NULL
2016-01-15 15:38:21 +01:00
twinaphex
039e2acc49
Make switch stop complaininig
2016-01-15 14:08:38 +01:00
twinaphex
5f513d2af0
(cocoa_gl_ctx.m) Cleanups
2016-01-15 14:03:56 +01:00
Twinaphex
58ebbdeada
Attempt to prevent race issue in get_chosen_screen
2016-01-15 13:58:16 +01:00
Twinaphex
26bcfa8d89
Revert "Refactor function get_float_from_selector - obsolete"
...
This reverts commit 1b2632e7fa
.
2016-01-15 13:03:40 +01:00
twinaphex
1b2632e7fa
Refactor function get_float_from_selector - obsolete
...
hardcoded ifdef
2016-01-15 12:53:33 +01:00
Twinaphex
50a7686931
(iOS) Fix ARC issues
2016-01-14 07:03:35 +01:00
twinaphex
3eb6ef0251
(OSX 10.6) Buildfix
2016-01-13 21:21:11 +01:00
twinaphex
54f46f4ee3
Update headers
2016-01-10 04:41:52 +01:00
twinaphex
3b8932b302
Turn returntype of set_resize into bool
2016-01-07 00:58:33 +01:00
Higor Eurípedes
7dcecc500f
(cocoa) Fix warning
2015-12-08 17:33:59 -03:00
Higor Eurípedes
c257374dcd
(video_context_driver) Make better use of the data argument in context calls
2015-12-08 12:19:08 -03:00
twinaphex
2d55dc3bda
Complete namespace changes
2015-12-07 15:32:14 +01:00
Twinaphex
5974f81ed8
(OSX) Buildfixes
2015-11-23 12:07:00 +01:00
twinaphex
85dbeeb8f9
No more video_monitor.h
2015-11-22 13:32:46 +01:00
Twinaphex
5ce92ca3d0
(iOS) Just omit this - not sure if we actually need to set it to NULL
2015-11-16 04:22:54 +01:00
Twinaphex
5fc267d24a
(OSX/iOS) get_chosen_screen buildfixes
2015-11-14 22:26:07 +01:00
twinaphex
ae7d9222e2
Try to not reference UIScreen directly
2015-11-05 22:17:02 +01:00
Twinaphex
51426f64c2
Revert "Add OSX implementation for cocoagl_gfx_ctx_get_native_scale"
...
This reverts commit a408a5e59a
.
2015-11-01 12:45:36 +01:00
twinaphex
a408a5e59a
Add OSX implementation for cocoagl_gfx_ctx_get_native_scale
2015-11-01 12:15:21 +01:00
twinaphex
5e3a79b74b
(cocoa_gl_ctx.m) Put in retro_assert.h
2015-09-01 12:02:04 +02:00
twinaphex
f02f1ebc8f
(OSX) setWantsBestResolutionOpenGLSurface - OSX 10.7 and up
2015-07-18 15:46:48 +02:00
twinaphex
5bc03fb3a8
backingScaleFactor OSX 10.7 and up
2015-07-18 15:41:14 +02:00
twinaphex
43c8f282db
(Gfx) Cleanups
2015-06-13 02:10:06 +02:00
hunterk
664956c53d
ifdef the retina stuff for backward compatibility
2015-06-12 13:56:34 -05:00
hizzlekizzle
d5a6a1d4a6
remove dpi hack
...
the existing method works fine on later release targets, so we just need to remember to set those.
2015-06-12 13:12:43 -05:00
hizzlekizzle
0c792898b8
fix dumb typo
2015-06-12 13:03:34 -05:00
hunterk
b4e4af604e
fix ugly scaling on Retina Macs
2015-06-12 12:45:29 -05:00
Twinaphex
f1c69e79c2
(iOS) Buildfix
2015-06-02 11:14:47 +02:00
neville
bfb6001114
(OSX) 10.5 and earlier doesn't have backingScaleFactor, so hardcode it
...
to 1.0f for those platforms
2015-06-02 09:06:59 +02:00
neville
8151c85980
(OSX) Take out settings window for now entirely
2015-06-02 09:00:27 +02:00
Twinaphex
d6a713bb8d
Fix some warnings
2015-05-02 19:09:23 +02:00
Twinaphex
ada0955642
(Cocoa GL) Refactor set_video_mode some more
2015-04-26 03:01:15 +02:00
Twinaphex
550ab997ee
(Cocoa GL) Cleanup
2015-04-26 02:57:53 +02:00
Twinaphex
2ce2bb0a5d
(Cocoa) Create stub cocoagl_gfx_ctx_show_mouse
2015-04-26 02:53:50 +02:00
twinaphex
c99cd21080
(OSX) Fixes crash on exit/fullscreen toggle with XMB
2015-04-26 00:50:58 +02:00
Jean-André Santoni
558459fb9b
(iOS) Fix dpi, still incomplete
2015-04-21 18:58:19 +07:00
Twinaphex
c539a66b53
(OSX) Use backingScaleFactor
2015-04-21 13:02:57 +02:00
Twinaphex
000e61dc66
(iOS) 'ret' needs to be passed as pointer
2015-04-21 13:01:21 +02:00
Twinaphex
165b502948
Make get_native_scale code more expandable
2015-04-21 12:57:35 +02:00
Twinaphex
54c6c3eb01
Rename apple_cocoa_gl.m
2015-04-21 11:03:39 +02:00