55 Commits

Author SHA1 Message Date
twinaphex
bdd5ac59ea (iOS) apple_gfx_ctx_get_native_scale - let's make this even MORE
backwards compatible just because we can
2015-03-12 03:45:56 +01:00
Twinaphex
4c5bb6f50f (iOS) Cleanups 2015-03-11 19:20:41 +01:00
Twinaphex
522c65e27f (iOS) Estimated FPS monitor should work now 2015-03-11 18:30:14 +01:00
Twinaphex
340fdfb342 (iOS) Move g_view display to outside - into rarch_main - should reduce
CPU usage a bit further
2015-03-11 05:04:40 +01:00
twinaphex
9627117166 Take out fps_monitor_enable 2015-03-07 23:03:56 +01:00
twinaphex
795ef467ac Move msg_queue and nbio/http to runloop struct 2015-03-07 13:01:41 +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
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
a1df3ef4a0 (iOS) Check if g_view is not NULL before trying to perform this
function
2014-12-31 13:52:59 +01:00
Twinaphex
c07d6ebc32 (Apple) Fixup one ifdef 2014-11-18 16:57:47 +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
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
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
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
bcd5f8aa5b Add has_windowed to video driver and graphics context driver 2014-10-08 17:23:02 +02:00
Twinaphex
c97e1113f6 (Apple) apple_gfx_ctx_init - Get rid of log messages 2014-10-04 15:31:01 +02:00
Twinaphex
be65663408 (iOS) Build fix 2014-10-03 21:57:53 +02:00
Twinaphex
53d2c8164b (Apple) Make apple_gfx_context.c.inl more self-contained 2014-10-03 21:47:46 +02:00
Twinaphex
bbfdf52632 (Apple) Reimplement apple_gfx_ctx_bind_api 2014-10-03 21:09:58 +02:00
Twinaphex
af4349003e (Apple) Cleanups in apple_gfx_context.c.inl 2014-10-03 20:52:29 +02:00
Twinaphex
f3b4aa0262 (Apple) Move more code to apple_gfx_context.c.inl 2014-10-03 20:28:16 +02:00
twinaphex
e6e3a01966 (Apple) Move some code to apple_gfx_context.c.inl 2014-10-03 20:19:04 +02:00
Twinaphex
d8100d299a (iOS) Build fixes 2014-09-28 07:01:39 +02:00
Twinaphex
89654e68ce (Apple OSX) Implement GL shared contexts (preliminary) - currently
stubbed out because it makes it very slow
2014-09-27 19:51:23 +02:00
Twinaphex
1294d10c24 (Apple) Implement apple_gfx_ctx_bind_hw_render 2014-09-27 19:04:52 +02:00
Twinaphex
df2f7021fd (Apple) Properly implement apple_gfx_ctx_init/apple_gfx_ctx_destroy 2014-09-27 17:20:05 +02:00
twinaphex
6807605e4e (Apple) Update apple_gfx_context.c.inl 2014-09-27 16:48:00 +02:00
Lioncash
0ddea1e970 Remove some redundant casts on OSX 2014-09-06 01:05:22 -04:00