184 Commits

Author SHA1 Message Date
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
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 ab34a70873637232be341f1c07544d9749e6dddb.
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 ad7386913cf2876d2bffd4bedf0284b23f1ed593.
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