59 Commits

Author SHA1 Message Date
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 1b2632e7fa310b2d26948da9574ba770dbc714aa.
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 a408a5e59a57627b3ea9440e1ec26f04ad25c552.
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