Commit Graph

1373 Commits

Author SHA1 Message Date
Tatsuya79
502d3b3514
qt: fix mouse cursor limited by window range on F5 press 2021-02-04 17:54:05 +01:00
twinaphex
9e2ff36d4a (macOS) Silence warning 2021-01-27 03:44:11 +01:00
twinaphex
dbbf557954 (Metal/WindowListener) Fix duplicate symbol errors by
moving implementation of WindowListener to cocoa_common.m
2021-01-24 03:56:17 +01:00
Autechre
7ea1d7d0da
Revert "Mac buildfixes (#11933)" (#11934)
This reverts commit 18a6880900.
2021-01-24 03:56:05 +01:00
Autechre
18a6880900
Mac buildfixes (#11933)
* (Metal/WindowListener) Fix duplicate symbol errors by
moving implementation of WindowListener to cocoa_common.m

* (Apple) Cleanup some conditionals

* (Cocoa) Cut down on OSX ifdefs in Cocoa-specific code
2021-01-24 03:53:10 +01:00
Autechre
a49b02c44b
(Mac) Makefile changes for supporting Metal build (#11929)
* (QB) Add rule for Metal - define HAVE_COCOA_METAL for now
when building for Metal, and HAVE_COCOA for non-Metal build

* Make necessary changes to Makefile.common and qb/config.libs.sh:
- Disable OpenGL for now for Metal build
- Take Metal conditional out of OpenGL block in Makefile.common

* (Metal) Header fixes for compiling without Xcode/Griffin

* (Mac) Some buildfixes for non-Xcode building

* (cocoa_common.h) Restructure to no longer use -DOSX

* (Apple) More buildfixes

* (Apple) Cleanups
2021-01-22 22:20:38 +01:00
Autechre
746101010f
(Apple/Clang/ARC) ARC (Automatic Reference Counting) only available (#11920)
since Clang. PowerPC Mac is stuck with GCC and predates the use of ARC,
__has_feature() also is a Clang extension, so wrap around this with a
conditional so that GCC PowerPC on Mac can still work
2021-01-21 08:53:16 +01:00
Autechre
18170486cd
Update cocoa_common.m 2021-01-19 04:51:38 +01:00
Twinaphex
a83c328631 (Metal) Fix some build problems 2021-01-19 04:38:07 +01:00
Twinaphex
97d954912d (Apple) Buildfix 2021-01-18 21:21:17 +01:00
twinaphex
0294b0c626 (Cocoa) Don't use NSEventModifierFlags type anymore - just
use NSUInteger instead
2021-01-18 20:41:30 +01:00
twinaphex
8d31c410a0 move cocoa_get_metrics to cocoa_common.m 2021-01-18 19:33:06 +01:00
twinaphex
a80a64f261 Add cocoa_update_title to cocoa_common.m 2021-01-18 19:28:36 +01:00
Twinaphex
3d17cf1e38 Move nsview_set/get/cocoaview_get to cocoa_common.m 2021-01-18 19:17:12 +01:00
Twinaphex
eea07ea367 (COcoa GL/Cocoa Common) Refactor code for eventual splitting up
of cocoa_gl_ctx.m into two files
2021-01-18 15:41:30 +01:00
twinaphex
f6d35ee462 (iOS) Cleanups 2021-01-18 03:03:35 +01:00
twinaphex
5c0aafe6e2 Simplify applicationDidFinishLaunching code for OSX 10.7 and up 2021-01-18 00:08:21 +01:00
twinaphex
1e9f6f175e (OSX) Fix PowerPC build 2021-01-17 05:02:07 +01:00
Twinaphex
f6833cf595 Remove unused variables 2021-01-17 00:12:29 +01:00
twinaphex
93b1fbbcdc (Apple) Header cleanups 2021-01-17 00:06:33 +01:00
twinaphex
6d39160de1 CLeanups 2021-01-16 22:36:03 +01:00
twinaphex
a7bb200a1c (UI Cocoa) Cleanups 2021-01-16 22:22:16 +01:00
twinaphex
809b96e221 (UI CocoaTouch) Cleanups 2021-01-16 22:15:17 +01:00
twinaphex
225b851eb6 Cleanups 2021-01-16 22:04:11 +01:00
Twinaphex
1d4ff9bedd Take out HAVE_MENU ifdef in cocoa_common.h 2021-01-16 21:47:14 +01:00
twinaphex
757ea32782 Go back to CocoaView pointer in prototype 2021-01-16 20:37:56 +01:00
twinaphex
9118b391eb Update 2021-01-16 20:07:08 +01:00
twinaphex
4e74a6f8b1 Attempt to fix build for iOS 2021-01-16 17:02:25 +01:00
jdgleaver
b1ee5a2421 (X11) Fix mouse input when mouse is grabbed 2021-01-16 13:57:25 +00:00
Ryunam
c341aabdb4 Add option to show/hide Refresh Rate notification 2021-01-08 17:32:33 +01:00
jdgleaver
1d33e0ee46 Fix Qt plugin path detection when using Qt < 5.6.0 2021-01-08 10:56:20 +00:00
Autechre
9797ba9f27
Merge pull request #11743 from HyperspaceMadness/Shaders_Fix_Simple_Preset_Relative_Texture_Paths
Shaders Load Refactor and Fix Referenced Texture Loading
2020-12-31 16:13:20 +01:00
Tatsuya79
2e52c9e284
qt: attempt to fix memory leak in shader panel 2020-12-30 01:11:17 +01:00
Dwedit
b0e150ba2d Fix Typo 2020-12-28 17:02:29 -05:00
Dwedit
34a31f8a1c ui_win32_application.c: Add support for accelerators to main win32 message loop
rarch.rc: Add accelerators for Open (Ctrl+O) and Fullscreen (Alt+Enter)
ui_win32_resource.h: Add accelerator resource ID definition
win32_common.c: Load accelerators, Localize Win32 menu items to current language, and display shortcut keys
2020-12-28 16:39:39 -05:00
Autechre
1681872763
Merge pull request #11772 from fpscan/facebook-gaming
Facebook Gaming stream option
2020-12-28 21:04:09 +01:00
Ömercan Kömür
9fceafdcc0 fb-fix 2020-12-28 16:20:40 +03:00
Autechre
7b90da4af7
Update cocoa_common.m 2020-12-28 07:52:08 +01:00
twinaphex
9ddc39af59 Buildfix 2020-12-27 20:01:41 +01:00
twinaphex
f65ecf24f1 Go back to ObjC file 2020-12-27 16:49:05 +01:00
HyperspaceMadness
0c526b6498 Shaders Load Refactor and Fix Referenced Texture Loading
Partial update to work with shaders directly

More Edits

More changes

more shader fixes

More Fixes Compiling, reference load still wrong

Added Feedback & things are working

Logging Fixes

Log Fix

More Fixes

Added Feedback Logging

Fixes for file pathing in Linux

Fix GLCore and Crash in QT Saving

Code Cleanup

Removed Unused Function filepath.c

Code Cleanup
2020-12-26 21:09:27 -05:00
Ömercan Kömür
6256b8ca2b first 2020-12-19 15:14:14 +03:00
Tatsuya79
67fb743d29
qt: add simple shader option 2020-11-18 00:55:57 +01:00
Tatsuya79
f77e18ede0
fix string_split_to_qt 2020-11-03 16:15:37 +01:00
twinaphex
00e840e99d (Qt) Avoid QString::split - version incompatibilities 2020-11-02 00:18:09 +01:00
twinaphex
a69b7cb063 Buildfix for Qt 2020-10-15 05:31:21 +02:00
lennardkittner
43245c0d9f - Deleted deprecated openURL method
- Now using self.documentsDirectory
- ROMs are saved to documents directory
2020-10-05 09:18:28 +02:00
lennardkittner
f8726fccb0 - App doesn't crash anymore when a file is shared to it.
- A shared file is copied to /Documents/roms.
2020-10-04 17:53:39 +02:00
jdgleaver
e1890bd08e Fix Qt shaders dialog 2020-10-02 17:48:45 +01:00
jdgleaver
d686d73e7a Revert "Buildfix --disable-menu - bake out shader params for desktop menu if"
This reverts commit dd6924a940.
2020-10-02 17:20:23 +01:00
twinaphex
899ad1cf88 Buildfix for OSX 2020-10-01 17:22:00 +02:00
twinaphex
dd6924a940 Buildfix --disable-menu - bake out shader params for desktop menu if
HAVE_MENU is not set
2020-10-01 13:04:13 +02:00
Twinaphex
0651185ea3 Cleanups 2020-09-17 21:57:35 +02:00
twinaphex
4e594c6437 Move win32_window_init outside of ui_win32.c and to gfx/common/win32_common.c 2020-09-16 10:29:50 +02:00
Twinaphex
4c1c0cc80d webServerDidCompleteBonjourRegistration - cleanup some code
duplication
2020-09-16 10:12:43 +02:00
Twinaphex
f8b4477b9a (Cocoa) Cleanups; group things together under TARGET_OSX and TARGET_IOS 2020-09-16 10:09:03 +02:00
twinaphex
e15018a85a Cleanups 2020-09-15 21:12:27 +02:00
twinaphex
ca413ff132 (Cocoa) Cleanups 2020-09-15 21:03:27 +02:00
twinaphex
de68ce185c (Cocoa) Cleanups 2020-09-15 21:00:22 +02:00
Twinaphex
86c0ffaf39 (Cocoa) Cleanups 2020-09-15 20:50:20 +02:00
Twinaphex
eaf540e563 Cleanups 2020-09-15 20:45:42 +02:00
twinaphex
ddfbd38610 Cleanups 2020-09-15 20:40:24 +02:00
twinaphex
c9938eb316 Cleanups 2020-09-15 19:48:43 +02:00
Twinaphex
cec774ba3b RAMenuBase can be removed now 2020-09-15 19:36:40 +02:00
twinaphex
9245e3bd6b Cleanups 2020-09-15 19:30:44 +02:00
twinaphex
91205d17f6 Cut down on else codeblock here - it's identical 2020-09-15 18:59:45 +02:00
twinaphex
d8406baf33 Cleanups 2020-09-14 23:14:26 +02:00
twinaphex
f7ae8001ad Cleanups 2020-09-14 21:55:00 +02:00
twinaphex
6bac58b902 Cleanups 2020-09-14 21:55:00 +02:00
Twinaphex
f5417943c7 Cleanups 2020-09-14 20:47:07 +02:00
Twinaphex
1fa89b642a (Cocoa) sendEvent - cleanups 2020-09-14 20:32:04 +02:00
Twinaphex
dfc8f66d09 (Cocoa) sendEvent - cleanups 2020-09-14 20:27:44 +02:00
Twinaphex
e5a52a82b6 Don't reference event unnecessarily 2020-09-14 20:23:49 +02:00
Twinaphex
9184fa3689 More cleanups in sendEvent 2020-09-14 20:14:23 +02:00
Twinaphex
d177b9e737 (Cocoa) Optimize sendEvent 2020-09-14 20:09:30 +02:00
Twinaphex
88e927cf94 Convert ui_cocoa_application.m to C 2020-09-14 17:12:57 +02:00
Twinaphex
a8beb91f0f Reimplement ui_application_cocoa_process_event 2020-09-14 16:50:26 +02:00
Soar Qin
728c2b3af4 fix over-translating codes for window ClassName, as an additional fix to 3c6552b 2020-09-11 01:38:58 +08:00
jdgleaver
b8ea4fd54e Overlay configuration improvements 2020-09-08 13:37:51 +01:00
jdgleaver
c2ad859f2f (Qt) Remove duplicate VIDEO_SHADER_REMEMBER_LAST_DIR option 2020-09-03 11:51:53 +01:00
jdgleaver
0be40b0d60 (Qt) Add support for 'Remember Last Used Shader Directory' option 2020-09-03 11:22:24 +01:00
Tatsuya79
fdeb59847e
qt: add missing osd settings 2020-08-28 12:00:56 +02:00
Tatsuya79
0dc963d5fe qt: add recent settings 2020-08-22 19:03:14 +02:00
twinaphex
4ec216dc0b Get rid of file_path_str 2020-08-22 01:06:10 +02:00
Twinaphex
b1723f7cd0 Remove unused CocoaTouch menu - allows us to get rid of a lot of
dead code
2020-08-09 19:41:04 +02:00
Yoshi Sugawara
4456efa6c8 [iOS] Hide the home indicator as it obscures the content too frequently 2020-08-05 15:43:04 -10:00
jdgleaver
90f4c5d8ae (Qt) Fix display of settings icons 2020-07-29 13:56:39 +01:00
jdgleaver
d77f6705df Add option to hide 'Explore' tab + menu clean-ups 2020-07-29 13:01:49 +01:00
francescotintori
9744fcb76a Adds base content directory support in playlists. If playlist base content directory does not match configuration parameter 'rgui_browser_directory', all entries paths are automatically fixed to match parameter 'rgui_browser_directory'.
Functionality is enabled if new parameter 'playlist_autofix_paths' is enabled.
2020-07-27 20:59:56 +02:00
Autechre
6c7143d02d
Merge pull request #10981 from yoshisuga/yoshisuga/ios-metal
iOS/tvOS Metal Renderer
2020-07-21 20:41:07 +02:00
Yoshi Sugawara
2187cf67c9 Support the ApplePlatform delegate for all iOS builds (the OpenGL one) so that the view initialization happens in the same way; remove the companion UI for iOS; four finger swipe down now shows RA menu on iOS 2020-07-20 15:38:24 -10:00
Yoshi Sugawara
271ac7f925 support the OpenGL driver in the metal build by delegating the view initialization to the ApplePlatform delegate (metal build only for now) 2020-07-20 14:00:28 -10:00
twinaphex
4ca1692174 (Qt) Style nits 2020-07-20 22:05:12 +02:00
twinaphex
9ecc30a501 Cleanups 2020-07-20 21:39:54 +02:00
twinaphex
49539dbef4 (Qt) Style nits 2020-07-20 21:37:15 +02:00
Autechre
8861416b32
Merge pull request #11046 from Ryunam/screenshot-notification
Add options to control visibility, duration and flashing effect of Screenshot Notifications
2020-07-20 00:27:02 +02:00
Yoshi Sugawara
b83823f1f1 Add preprocessor flags for tvOS and other build settings; fix compiler errors when building for tvOS sdk 2020-07-19 11:42:19 -10:00
Ryunam
5014f90e4d Add options to customize Screenshot notifications 2020-07-19 23:42:16 +02:00
Hugo Hromic
1e3fb9505c (Menu/OSD) Implement configurable update interval for memory usage display
Obtaining system memory metrics is generally an expensive operation.
2020-07-19 19:57:50 +01:00
Yoshi Sugawara
6692a8797f added comments on why native companion menu is disabled 2020-07-19 08:04:17 -10:00
Yoshi Sugawara
588d0b7595 removed commented out code 2020-07-19 08:02:17 -10:00
Yoshi Sugawara
42e4854245 replaced confusing ifdef with a more concise #if TARGET_OS_OSX 2020-07-19 07:57:10 -10:00
Yoshi Sugawara
fd9ac64d55 Merge branch 'master' into yoshisuga/ios-metal 2020-07-19 00:33:54 -10:00
Yoshi Sugawara
a19f1451cd removed debug logging statements; enable multi touch on metal view to support touchscreen controls; fixed setting the metal view drawable size based on the view bounds size in pixels 2020-07-19 00:11:15 -10:00
Yoshi Sugawara
eed84b3021 re-created RetroArch_iOS11_Metal.xcodeproj with the appropriate compiler flags and fixed building for both metal and opengl; hardcoding the metal drawable size for now for testing 2020-07-18 07:47:10 -10:00
Autechre
5909f946d5
Merge pull request #11034 from Tatsuya79/patch-4
qt: add 'cheats applied' visibility toggle
2020-07-17 15:05:25 +02:00
jdgleaver
230c1cdde2 Add option to show/hide 'last used disc restored' notifications 2020-07-17 12:52:28 +01:00
Tatsuya79
ed9aa75314
qt: add 'cheats applied' visibility toggle 2020-07-17 10:46:17 +02:00
jdgleaver
75b3b5350c Add 'Notification Visibility' menu 2020-07-16 16:32:01 +01:00
Yoshi Sugawara
897aee0bcf add more logging, use autolayout constraints to pin metal view to superview to support orientation changes easier 2020-07-14 17:49:38 -10:00
Tatsuya79
91cc250976
QT: add "load content" animation option
Adds an option into the OSD menu for https://github.com/libretro/RetroArch/pull/10992.
2020-07-10 18:49:50 +02:00
Yoshi Sugawara
82d6d8e876 add the metal view to the view controller view after initializing the metal view for iOS 2020-07-07 08:19:46 -10:00
Yoshi Sugawara
8e1dd5def1 protocol conformance for ApplePlatform for iOS; add metal shader functions files to xcode project 2020-07-07 05:38:50 -10:00
Yoshi Sugawara
6308ba1acb support ApplePlatform for iOS and conform app delegate class to it, move app delegate class to apple_platform.h, fix metal references for iOS 2020-07-07 05:03:42 -10:00
twinaphex
3ad0187012 (Qt) Attempted fix for Qt 2020-07-06 19:27:05 +02:00
Hugo Hromic
9b2a4f3c21 (Menu) Fix cursor forced to first entry after displaying lists 2020-06-30 13:59:52 +01:00
twinaphex
0946604627 (Qt) Only call log_msg when the Qt companion UI window is active 2020-06-26 21:45:09 +02:00
Autechre
5f607f5809
Merge pull request #10922 from jdgleaver/playlist-config
Refactor playlist struct configuration
2020-06-26 20:35:39 +02:00
twinaphex
1ae20ea17c Style nits - turn macro names into upper-case - some while style nits 2020-06-26 20:00:19 +02:00
jdgleaver
0fcfb3deda Refactor playlist struct configuration 2020-06-26 15:40:19 +01:00
twinaphex
601a73fa8b Use string_starts_with_size where possible - avoids the strlen 2020-06-25 12:51:04 +02:00
twinaphex
a6f6fb88f0 Cleanups 2020-06-23 09:28:41 +02:00
twinaphex
45f90ad89a (menu_dialog) Cleanups
Make menu_hash_help no longer dependent on the menu code
2020-06-12 08:06:30 +02:00
twinaphex
d15942f6c8 Cleanups 2020-06-07 20:55:27 +02:00
jdgleaver
445921ac5d Core info search optimisations + improved core selection logic + clean-ups 2020-06-06 13:59:28 +01:00
twinaphex
bcf34b8f3b Start passing around retroarch pointer 2020-06-05 19:22:33 +02:00
twinaphex
88f7515d1d Cleanups, comments, style nits 2020-06-04 14:41:28 +02:00
Twinaphex
4b4a8693ac Remove unused variable 2020-05-21 22:27:20 +02:00
twinaphex
3981b1cc82 (Qt) Cleanups 2020-05-12 08:02:55 +02:00
twinaphex
6a4a522244 Cut down on some code duplication and turn
retroarch_validate_game_options static
2020-05-11 17:19:55 +02:00
twinaphex
dd721def41 (Qt) Cleanups 2020-05-11 17:07:37 +02:00
Alex Kornitzer
1d2dd249f3 cocoa: disable clipping cursor to window 2020-05-11 00:58:06 +01:00
Alex Kornitzer
c4ee0463aa cocoa: don't update mouse events when outside nswindow 2020-05-10 22:44:44 +01:00
Alex Kornitzer
edfafd9fad cocoa: fix mouse movement
The input driver was using absolute coordinate arithmetic while making
use of delta changes for each coordinate, as a result the absolute
change netted to zero. This fixes that and tries to mitigate cursor
event sync issues (sync issues will require more work).
2020-05-10 22:44:44 +01:00
jdgleaver
4ef5eb1eb2 (Qt) Add 'audio mixer volume' and 'mute when fast-forwarding' settings options 2020-05-01 13:58:20 +01:00
Autechre
89c405b196
Merge pull request #10487 from jdgleaver/playlist-compression
Add optional playlist compression
2020-04-23 13:30:58 +02:00
Yoshi Sugawara
a85ed986de Set audio session category to ambient so sound does not get cut off on interruption (phone call/playing back audio) 2020-04-22 08:54:57 -10:00
jdgleaver
fa9290cf1e Add optional playlist compression 2020-04-21 16:44:26 +01:00
Tatsuya79
ce99109001
qt: add saveram compression option 2020-04-21 01:50:05 +02:00
Autechre
51183787af
Merge pull request #10459 from AlexKornitzer/feature/cocoa-fix
ui_cocoa: fix mouse input for cocoa
2020-04-17 01:49:38 +02:00
Tatsuya79
56159976af
qt: add savestate compression option 2020-04-17 00:10:02 +02:00
Alex Kornitzer
ac4b49f1c2 ui_cocoa: fix mouse input for cocoa
This brings back two lines of code that have been removed over time but
appear to be required in order for mouse input to work on macOS.
2020-04-16 22:01:40 +01:00
valadaa48
6e4228b054 Add drm_go2_ctx for odroidgo2
- Revert odroidgo changes to drm_ctx
- Introduce new drm_go2_ctx specifically for odroidgo2 (and libgo2)
- Add hw_scaling option to mitigate builtin gl scaling/filtering and to
use libgo2 and rga's hw scaling and bicubic filtering via librga. The
quality of the image is improved by this and should be a bit faster.

Credits to CrashOverride for the initial libgo2 port and
commit to RA. And to natinusala for the initial cleanup/commit in the original
drm_ctx driver. NOirBRight for finding this setting and testing.
2020-03-28 03:30:28 +00:00
Tatsuya79
19331636bd
qt: add scroll acceleration option 2020-03-17 22:32:12 +01:00
Rob Loach
cfbc3d4317
(Docs) Use HTTPS URL for libretro.com link (#10274)
Fixes #10272
2020-03-16 02:49:18 -04:00
Tatsuya79
a780755af7 qt: expose dropped thumbnal size limit 2020-03-13 22:46:46 +01:00
jdgleaver
018209d6c2 Use single 'Widgets Scale Override' setting on console and mobile platforms 2020-03-12 11:29:53 +00:00
twinaphex
31263970ad Fix include path 2020-03-07 06:50:43 +01:00
Twinaphex
801fa3459c
Merge pull request #10221 from jdgleaver/qt-history-thumbs
(QT) Populate 'db_name' and 'crc32' fields when adding entries to content history
2020-03-06 18:54:59 +01:00
twinaphex
1f553ac1c4 Get rid of menu_shader_set_modified - instead, add a single
'modified' variable to video_shader struct
2020-03-06 17:05:20 +01:00