191 Commits

Author SHA1 Message Date
twinaphex
4598f186a8 Get rid of video_frame_info dependency 2020-03-07 00:39:06 +01:00
twinaphex
4d7b627421 Get rid of video_info dependency for set_video_mode 2020-03-06 22:58:12 +01:00
twinaphex
e20151a048 Get rid of video_info struct for swap_buffers too 2020-03-06 22:29:51 +01:00
twinaphex
68664fdf1d update_title - we don't need video_info 2020-03-06 22:11:44 +01:00
twinaphex
4aae293e3d Remove is_shutdown from check_window 2020-03-06 20:29:31 +01:00
twinaphex
1b0ab1c05f Cleanups 2020-02-21 07:34:53 +01:00
Jean-André Santoni
ba2c870d95
Allow building using make on OSX 2019-11-30 12:37:58 +07:00
twinaphex
861379d8e3 Revert code in hopes iOS works again 2019-11-20 06:25:40 +01:00
Twinaphex
d2d240ecf5 (iOS) Should fix iOS build problems 2019-11-20 02:58:17 +01:00
Twinaphex
81c020d300 Replace g_instance with CocoaView get 2019-11-20 02:24:03 +01:00
twinaphex
e3506ed06b Move nsview_get_ptr to cocoa_common 2019-11-20 02:24:03 +01:00
Twinaphex
387e18b528 cocoagl_gfx_ctx_set_video_mode - go through [CocoaView get] here 2019-11-20 02:24:03 +01:00
twinaphex
964fcda79a Move glkitview_init to cocoa_common.m 2019-11-20 02:24:02 +01:00
Jean-André Santoni
8e028f4db3
Remove useless HAVE_COCOA_METAL ifdef 2019-11-19 14:50:21 +07:00
twinaphex
29ced2a72f Simplify cocoagl_gfx_ctx_get_video_size somewhat 2019-11-19 08:26:12 +01:00
Twinaphex
c7ce2c7053 Fix Xcode issue 2019-11-19 05:54:01 +01:00
Jean-André Santoni
d5a5380e6d
Fix building with make on OSX 2019-11-19 11:38:27 +07:00
twinaphex
221df13250 Cleanups/warning fixes - compilation fix for OSX PPC 2019-10-05 18:38:17 +02:00
Twinaphex
2414224df8 (Cocoa) It's only necessary to set the display server userdata for
set_video_mode
2019-09-22 11:29:58 +02:00
Twinaphex
511f43d5cf Move it to cocoa_gl_ctx.m 2019-09-22 11:26:06 +02:00
Twinaphex
83f1b28f98 Revert "(Cocoa) Move nsview_get_ptr and nsview_set_ptr to cocoa_gl_ctx.m"
This reverts commit 4f564360e7ba3df82e496d8dec8ca1a0dc3d4261.
2019-09-22 10:54:01 +02:00
twinaphex
4f564360e7 (Cocoa) Move nsview_get_ptr and nsview_set_ptr to cocoa_gl_ctx.m 2019-09-22 10:48:23 +02:00
Twinaphex
23bb1414ff (Metal) Buildfix 2019-09-22 10:30:59 +02:00
Twinaphex
6a9feb7978 (OSX) Refactor this so that we always set the userdata
pointer so we can use the new set_title codepaths - will
have to check how to reduce the overhead in nsview_get_ptr
later
2019-09-22 10:19:03 +02:00
Twinaphex
69a38f9b9f (Cocoa) Pass direct pointer to UI companion driver window title function 2019-09-22 07:41:56 +02:00
twinaphex
718d65d95d Take this out - too unsafe - fixes D3D12 driver 2019-08-29 12:30:56 +02:00
Twinaphex
6d0875e975 (OSX) Use new menu rescaling when resizing window 2019-08-24 20:36:06 +02:00
twinaphex
65b4c2595e Update set keyboard mapping code for input driver 2019-07-27 02:21:24 +02:00
twinaphex
453cc3dcbd (video context driver) has_Windowed can be degraded to a simple
boolean variable
2019-07-26 06:23:20 +02:00
Twinaphex
db6a4f8368 (UI Companion) Get rid of unused iterate function callback 2019-07-19 13:59:07 +02:00
twinaphex
278063d157 (CocoaGL) Silence warning when building without HAVE_VULKAN 2019-07-10 05:48:26 +02:00
Twinaphex
5d56302a31
Merge pull request #9033 from yoshisuga/ios_remove_pause_indicator
iOS: remove pause indicator
2019-06-29 12:12:32 +02:00
LazyBumHorse
c20c67bd3a proper shader compatibility checks
- move shader flags from the video drivers to the context drivers
 - rework config_load_shader_preset() from configuration.c into retroarch_load_shader_preset() in retroarch.c with proper compatibility check
 - implicitly call retroarch_load_shader_preset() in retroarch_get_shader_preset() once per core/content life cycle
 - use video_shader_is_supported() instead of video_driver_test_all_flags() where appropriate
 - remove GFX_CTX_FLAGS_NONE because it is meaningless
2019-06-18 13:46:41 +02:00
twinaphex
ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +02:00
Yoshi Sugawara
45b36d7d47 iOS: remove pause indicator; show the native UI menu using 4-finger swipe down gesture 2019-06-14 08:35:33 -10:00
twinaphex
1f53eea4ee (Cocoa GL/GLES) Set this flag for OpenGLES 2019-04-26 02:27:48 +02:00
twinaphex
59b45f7812 Start making HAVE_OPENGL_CORE independent 2019-04-24 03:23:57 +02:00
Twinaphex
dd5eca0f46 (OSX) Buildfix 2019-03-13 14:31:03 +01:00
twinaphex
b347b26d61 Reimplement shader flags being set - GL core should have only
Slang support and no GLSL, with the GL2 driver it is dependent
on the context driver
2019-03-13 14:06:50 +01:00
twinaphex
5733ed9a29 Move these defines to cocoa_common.h 2019-02-10 02:11:22 +01:00
twinaphex
293eac3019 Update 2019-02-10 02:03:50 +01:00
twinaphex
62cef96118 Update cocoa_gl_ctx.m 2019-02-10 02:02:17 +01:00
twinaphex
794ab4ef68 Update cocoagl_set_mode 2019-02-10 01:59:08 +01:00
twinaphex
2c9b7c84df Updates 2019-02-10 01:54:39 +01:00
twinaphex
a49d0a50b9 Move more functionaliy to cocoa_gl_shared.h 2019-02-10 01:44:46 +01:00
twinaphex
74bddae86e (CocoaGL) Move shared code to gl_shared file 2019-02-10 01:29:04 +01:00
twinaphex
b1c4bdf6f7 (Cocoa) Cleanups 2019-02-10 01:25:07 +01:00
twinaphex
20a94a5f37 (CocoaGL) Cleanups 2019-02-10 01:16:35 +01:00
twinaphex
d0e26c10aa Move more code to cocoa_gl_shared.h 2019-02-10 01:11:07 +01:00
twinaphex
c363eb4397 Move more common functions over to cocoa_gl_shared.h 2019-02-10 00:58:05 +01:00