Commit Graph

1227 Commits

Author SHA1 Message Date
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