1373 Commits

Author SHA1 Message Date
David G. F
b830b33cf1
Rewrite commands and add new command type (#12233)
* (OSX non-Metal build) Set disable execute page protection

* Rewrite commands and add new command type

This moves commands to a separate file and creates a consistent
interface for them. It is now possible to use multiple command
interfaces simultaneously (stdin, network and UDS).
Implemented a new interface for Lakka, UDS based (so Linux only). This
allow other Lakka servies to send certain commands to Retroarch in a
secure and reliable way.

Co-authored-by: twinaphex <libretro@gmail.com>
2021-04-05 19:55:59 +02:00
twinaphex
95f5df358a Fix --disable-menu 2021-03-24 01:24:49 +01:00
David Guillen Fandos
1cad93207b Upstream OGA patch for vertical screen
This keeps the tradition DRM driver along with the OGA one. The probe
function skips the driver if the screen is non rotated to fall back to
the regular DRM driver. This is being upstreamed from the Lakka repo.
2021-03-23 20:27:24 +01:00
twinaphex
5d2a75d782 (Apple/Metal) Combine various Metal files into one 2021-03-21 18:06:00 +01:00
twinaphex
839a270a97 Menu refactors:
- Get rid of menu_driver_search_list_clear
- Get rid of contentlist_switch callback - was only ever one
function callback implementation
2021-03-11 03:37:19 +01:00
twinaphex
f502cd9e16 Get rid of menu_cbs_down/menu_cbs_up 2021-03-11 03:14:31 +01:00
Autechre
a2ed065f25
Refactors pt3 (#12124)
* Remove video_pixel_get_alignment - move it to video
drivers that use it

* Rewrite video_driver_pixel_converter_{init/free} - get rid of
p_rarch dependency

* Replace some variables

* (Menu) Get rid of cbs_refresh - was never set to any other
function callback implementation
2021-03-11 02:03:37 +01:00
twinaphex
d940c10afe (Qt) Combine qt/options/generic.cpp and qt/options/nongeneric.cpp 2021-03-10 09:41:49 +01:00
twinaphex
6802e41db5 (Qt) Merge ui_qt_load_core_window.cpp into ui_qt.cpp - further
binary size reduction
2021-03-08 18:02:49 +01:00
twinaphex
f9eb53cff1 (Qt) Combine non-generic options into qt/options/nongeneric.cpp -
all these Qt files being combined now led to a nearly 1MB size reduction
in retroarch's binary
2021-03-08 17:47:36 +01:00
twinaphex
8fe8782497 (Qt) Combine qt download files into one - further binary size
reduction
2021-03-08 17:38:03 +01:00
twinaphex
af1d9f7041 (Qt) Combine filedropwidgets.cpp and settingswidgets.cpp into
qt_widgets.cpp - further binary size reduction
2021-03-08 17:32:56 +01:00
twinaphex
7fb09d1602 (Qt) Combine shaderparamsdialog.cpp and qt_dialogs.cpp - further binary
size reduction
2021-03-08 17:24:47 +01:00
twinaphex
469e2b7778 (Qt) Combine dialog files into one - makes binary smaller too 2021-03-08 17:13:54 +01:00
twinaphex
b83596fcd4 (Qt) Combine all Qt files into one (ui_qt.cpp) 2021-03-08 00:56:55 +01:00
twinaphex
01c163a2fa (Cocoa) Combine Cocoa files into one 2021-03-08 00:28:21 +01:00
twinaphex
2675afe45d Combine ui/drivers/win32 files into one (ui/drivers/ui_win32.c) 2021-03-08 00:20:29 +01:00
twinaphex
b70217b7fc (Mac) Add CoreAudio3 for Metal x64 and ARM64 builds on buildbot 2021-02-17 05:20:51 +01:00
twinaphex
39cf159e98 Should build valid ARM64 binaries now 2021-02-17 01:11:21 +01:00
twinaphex
91365098f7 -arch arm64 works, using that 2021-02-16 23:12:25 +01:00
twinaphex
e6643f7815 (MacOS ARM) Set -DDWONT_WANT_ARM_OPTIMIZATIONS for now since this won't compile on Mac for now 2021-02-16 23:05:50 +01:00
twinaphex
22f436128c Set arch arm64 to arch arm 2021-02-16 22:14:00 +01:00
twinaphex
93c2f3e4e9 Fix warnings 2021-02-16 21:38:39 +01:00
twinaphex
97239894a1 (Apple) Set min osx version correctly too when specifying ARCH 2021-02-16 21:36:24 +01:00
twinaphex
e26f7ec8f6 (Gitlab) Try to build explicitly for ARM64 by passing -arch arm64 2021-02-16 21:28:38 +01:00
Autechre
03a051d5bb
Update Makefile.common 2021-02-16 02:49:52 +01:00
twinaphex
e6d8816d35 (OSX) Try to append minversion for LDFLAGS too 2021-02-15 22:58:29 +01:00
twinaphex
2e35a2928a Specify -stdlib=libc++ for Clang-based macOSX SDKs 2021-02-15 21:49:24 +01:00
twinaphex
ef4d9b88bf Specify -mmacosx-version-min when compiling from commandline - set
the right level based on architecture and/or whether HAVE_METAL is
defined
2021-02-15 21:44:41 +01:00
Tatsuya79
1f07c884de remove from makefile.common 2021-02-11 18:07:51 +01:00
jdgleaver
ebfe32db3e Add 'Upscale_256x-320x240' video filter 2021-01-31 13:38:40 +00:00
liushuyu
8132303d4f
(FontRenderer/FreeType) Use fontconfig to select fonts if available 2021-01-30 18:49:47 -07: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
760c9a8482
(Mac) Remove Apple Core GL Context (#11912)
* Remove Apple CGL context - was never used and never tested
2021-01-21 00:33:12 +01:00
twinaphex
71e712f050 Define GL_SILENCE_DEPRECATION for OSX 2021-01-18 21:27:26 +01:00
twinaphex
234ebd715b (Makefile.common) Define -DOSX for OSX 2021-01-18 20:36:51 +01:00
twinaphex
83210eafd8 Split up cocoa_gl_ctx.m into two parts - cocoa_gl_ctx.m
and cocoa_vk_ctx.m
2021-01-18 20:02:31 +01:00
OsirizX
b96a0c495a [VITA] Add support for Vita GLES2 (PIGLET) 2021-01-06 19:14:30 +01:00
twinaphex
357b7d68f6 (libretro-common) Rename rhash to lrc_hash
(rcheevos) Rename rhash to rc_hash
2020-12-28 19:55:54 +01:00
Autechre
12dc69c501
Merge pull request #11666 from gouchi/finnish
intl: Add Finnish language
2020-12-12 21:45:06 +01:00
Autechre
4c98be1aa8
Merge pull request #11677 from jdgleaver/rgui-cjk
(RGUI) Add support for CJK fonts
2020-12-10 23:47:24 +01:00
jdgleaver
0f0ccbadc0 (RGUI) Add support for CJK fonts 2020-12-10 15:17:26 +00:00
MrHuu
58cb2b6cc4 (3DS) guard treading 2020-12-09 00:48:45 +01:00
gouchi
a7bdabd133 intl: Add Finnish language 2020-12-05 22:10:29 +01:00
jdgleaver
c2f1b9f336 Add Upscale1.5x video filter 2020-11-20 15:22:09 +00:00
jdgleaver
e582cf9f1d OpenDingux: Add rumble support 2020-11-17 16:13:37 +00:00
Francisco José García García
e78c8448c9 [VITA] Remove vitaGL and vitaShark from deps dir 2020-11-14 09:57:40 +01:00
jdgleaver
cd1b2cea76 Add Normal4x video filter 2020-11-09 16:21:47 +00:00
twinaphex
c9b7122a08 Add git_version switch - to disable Git version, do
./configure --disable-git_version
2020-11-02 03:07:56 +01:00
Bernhard Schelling
f6f8d3e235 Replace rapidjson parser/writer in discord-rpc with rjson 2020-10-29 16:55:23 +09:00