301 Commits

Author SHA1 Message Date
twinaphex
3bfa6e4ff0 (iOS) apple_gamecontroller.m - for now, put in compile-time ifdefs
to make sure we can at least still build on lower iOS SDK versions
2015-02-24 23:46:54 +01:00
twinaphex
13a391c165 Implement get_video_output_prev/get_video_output_next 2015-02-24 21:36:23 +01:00
twinaphex
aafc647724 Add get_video_output_size callback to video context driver 2015-02-24 19:58:14 +01:00
Twinaphex
014bd66818 (iOS) Cache native scale variable once in calling function 2015-02-24 06:22:41 +01:00
Twinaphex
69cff98158 (iOS) Cache scale variable in hot function (touch) and some more cleanups 2015-02-24 06:11:20 +01:00
Twinaphex
2a0028b7b4 (iOS) Wrong example code 2015-02-24 05:59:39 +01:00
Twinaphex
1448d55391 (iOS) Use apple_gfx_ctx_get_native_scale for handle_touch_event too -
should hopefully fix touch overlay issues on iPhone 6+
2015-02-24 05:40:45 +01:00
Twinaphex
3b06c727b0 (Apple/iOS) Come up with backwards compatible way of
accessing nativeScale
2015-02-24 05:27:19 +01:00
Twinaphex
b670f204cd Backport iPhone 6+ display fix 2015-02-24 04:57:21 +01:00
twinaphex
8f5809ee46 Take out make_current_context 2015-02-16 23:41:49 +01:00
Twinaphex
3cb6267886 (iOS) Build fix 2015-02-11 19:29:24 +01:00
T. Joseph Carter
9e80ac26ee New OSX project file. Very incomplete still. 2015-02-09 23:24:01 -08:00
twinaphex
90e5cffab8 Add RETRO_ENVIRONMENT_MAKE_CURRENT_CONTEXT 2015-02-08 18:39:12 +01:00
twinaphex
80d4de7c3f Add gfx/video_viewport.c/viewport.h 2015-01-18 23:59:57 +01:00
twinaphex
c4310ec813 Implement suspend_screensaver callback 2015-01-18 22:32:14 +01:00
twinaphex
de76884bb8 Rename gfx_get_fps to video_monitor_get_fps 2015-01-18 20:03:33 +01:00
twinaphex
0b2d518531 Rename video_context.c to video_context_driver.c 2015-01-12 21:53:04 +01:00
twinaphex
bd0f0c3f63 Rename gfx_context.c to video_context.c 2015-01-12 18:47:39 +01:00
Twinaphex
8146514064 (Apple) Build fixes 2015-01-12 06:20:19 +01:00
twinaphex
3692bb2185 Update headers 2015-01-07 18:17:42 +01:00
twinaphex
7a456c6c3a Rename MAX_PLAYERS to MAX_USERS 2015-01-05 01:58:00 +01:00
Twinaphex
a1df3ef4a0 (iOS) Check if g_view is not NULL before trying to perform this
function
2014-12-31 13:52:59 +01:00
Twinaphex
2808fbcd52 (Camera) Change back to BGRA 2014-12-05 14:30:44 +01:00
Twinaphex
cf5fac136a Fix variable shadowing 2014-12-05 14:29:40 +01:00
twinaphex
ab7181daab (Camera) Make it more backwards-compatible 2014-11-18 18:11:01 +01:00
Twinaphex
0f43deb6d2 (Apple) Start making camera driver OSX-compatible (OSX 10.7 and up/requires AVFoundation) 2014-11-18 18:04:17 +01:00
Twinaphex
9ea4a0d182 (iOS) Buildfix 2014-11-18 16:58:55 +01:00
Twinaphex
c07d6ebc32 (Apple) Fixup one ifdef 2014-11-18 16:57:47 +01:00
twinaphex
e83aabfd5a (Apple) Start making contentview_camera code more cross-platform 2014-11-18 16:56:37 +01:00
twinaphex
ef41c267bd (OSX) Add further HAVE_NSOPENGL ifdefs 2014-11-18 16:29:16 +01:00
twinaphex
2d16ca2de7 (OSX) Build fixes/apple_gfx_context.c.inl 2014-11-18 01:49:55 +01:00
Twinaphex
b92838895a (Apple/OSX) Add HAVE_NSOPENGL ifdefs 2014-11-18 01:44:19 +01:00
twinaphex
a7e5ee7d40 (OSX PPC) Build fixes 2014-11-17 21:17:14 +01:00
Twinaphex
98a73e649f (OSX) Add workaround for pre-OSX 10.6 - apple_gfx_ctx_swap_buffers 2014-11-17 18:07:08 +01:00
Twinaphex
9459749c79 (OSX) Flesh out apple_gfx_ctx_init some more - add 'offline renderer'
flag, add fallback for pre-OSX 10.5, etc.
2014-11-17 17:51:35 +01:00
Twinaphex
bdeeff2802 (OSX) Cleanups 2014-11-17 03:20:49 +01:00
Twinaphex
f1820ce710 (OSX) Refactor apple_gfx_ctx_swap_buffers for OSX 2014-11-16 23:41:50 +01:00
twinaphex
9a02ba253a (Apple) OSX solution does not use ARC, so don't use 'bridge' for that
one. Ideally we should wrap this function up in CFExtensions.m to
cater to this
2014-11-11 16:38:55 +01:00
twinaphex
50e21d7432 (iOS) Don't use UIInterfaceOrientationUnknown since it creates a dependency
on iOS 8 SDK
2014-11-09 17:38:26 +01:00
twinaphex
b38039723b (CFExtensions/Apple) Put __has_feature definition on top 2014-10-25 07:50:30 +02:00
twinaphex
0a8734d090 (OSX 10.6) Need to define __has_feature for GCC 2014-10-25 07:49:27 +02:00
Twinaphex
d2cb3d15d5 (Apple) Build fix for CFBridgingRetainCompat 2014-10-25 07:45:58 +02:00
twinaphex
f041411033 (OSX) Create CFBridgingRetainCompat so that it will still compile on
OSX 10.6
2014-10-25 07:42:37 +02:00
Jay McCarthy
2a0761337a Fixing the way that RA gets the home directory due to iOS8 change
Annoyingly it still works in the iOS8 simulator without this change.
2014-10-24 13:22:50 -04:00
Twinaphex
3577b76895 (OSX) Use CGLUpdateContext for OSX 10.7 and up 2014-10-24 07:46:17 +02:00
twinaphex
6a743b5695 (OSX) Don't use CGLUpdateContext - only available since OSX 10.77 2014-10-22 20:04:05 +02:00
twinaphex
f26054f82c (OSX) Xcode 3.2 build fixes 2014-10-22 18:53:59 +02:00
Twinaphex
36135cfff2 (iOS) Build fixes 2014-10-22 08:01:23 +02:00
Twinaphex
d59cb7289d Refine CFEXtensions.m 2014-10-22 00:42:54 +02:00
twinaphex
f51513db45 (OSX 10.6) Compatibility patches to CFExtensions.m 2014-10-22 00:38:30 +02:00