288 Commits

Author SHA1 Message Date
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
Twinaphex
c6bc3b207f (Apple) Build fixes 2014-10-21 23:56:51 +02:00
Twinaphex
ca41ad224d (iOS Camera) Create CVEAGLContext pointer and pass it to CVOpenGLESTextureCacheCreate 2014-10-19 04:00:40 +02:00
Twinaphex
3f637a7815 (Apple) Cleanup in apple_gfx_ctx_init 2014-10-19 00:24:57 +02:00
Twinaphex
0704f80ba9 (Apple) Use CGLUpdateContext and CGLFlushDrawable directly 2014-10-19 00:14:51 +02:00
Twinaphex
7ba2e87187 (Apple) Get rid of apple/common/main.m 2014-10-18 05:49:49 +02:00
Twinaphex
a1f744c639 (Apple) Simplify apple_run_core 2014-10-18 05:43:09 +02:00
Twinaphex
0132581ebc (OSX) Move code over to platform_apple.c 2014-10-17 17:05:27 +02:00
Twinaphex
f704097573 (Apple) Reimplement CFSearchPathForDirectories 2014-10-17 17:01:24 +02:00
twinaphex
f901c2967f Revert "(Apple) Implement apple_content_loaded"
This reverts commit 861f9d14cd490346426fc32f400b6ff184ce575e.
2014-10-17 05:27:54 +02:00
Twinaphex
8860784068 (Apple) Cleanups 2014-10-17 05:03:51 +02:00
Twinaphex
861f9d14cd (Apple) Implement apple_content_loaded 2014-10-17 04:58:05 +02:00
Twinaphex
4f9812da6b (Apple) Reduce apple_run_core in complexity 2014-10-17 02:57:02 +02:00
Twinaphex
7a38c58a9b Fix linking in OSX solution 2014-10-16 21:14:59 +02:00