Commit Graph

69 Commits

Author SHA1 Message Date
aerisarn 8b1e4a1ad0 MESA UWP Integration (#16285)
* [WINRT] Enable logging on __WINRT__ and bypass verbosidy in debug

* [UWP] wrong configuration prevents GLES to compile, common functions defines GL symbols

* [UWP] configure project to allow OPENGL on default configuration and copy MESA DLLs into UWP release

* [UWP] add MESA headers

* [UWP] add MESA EGL.lib needed for GLES context. However HAVE_OPENGL is better as GL cores use desktop version, so this is left for reference and to make the solution build with HAVE_OPENGLES

* [UWP] UWP is missing some GDI function definitions, implemented into MESA Gallium

* [UWP] Configure Release project too

* [UWP] Add mesa alpha-2 release dlls

* [UWP] allow griffin and vide_driver to have an OPENGL context

* [UWP] allow wgl context to work with mesa under WINRT

* [UWP] BUG: have to modify height/width getters and align them to MESA because the screen resolution is not right in gl context. Pending further investigation

* [UWP] fix ANGLE build

* [UWP] remove duplicate import code.

* (UWP) Cleanup filters file

* MESA screen destroy fix and Yabasanshiro hack. Align to alpha-2-hack tag

---------

Co-authored-by: Gabriel Morazán <35014183+GABO1423@users.noreply.github.com>
2024-03-02 09:36:17 -08:00
Bernhard Schelling f33f5e2b87 UWP: Handle key presses while ALT is held down (#15680)
Also release held keys when unfousing the window (properly handle ALT+Tab on desktop)
UWP input event code cleanup
2023-09-19 06:09:58 -07:00
GABO1423 f654d1bf30 (UWP/Menu) Small Tweaks (#15653) 2023-08-28 20:53:35 -07:00
greenchili2 bb581e6cbe Fix modifier keys ( shift, ctrl, alt ) as well as F10 not being detected on the UWP platform. (#15651)
* Update uwp_main.cpp

Fix modifier keys ( shift, ctrl, alt ) as well as F10 not being detected on the UWP platform.

* Update uwp_main.h

Fix modifier keys ( shift, ctrl, alt ) as well as F10 not being detected on the UWP platform.
2023-08-28 19:28:39 -07:00
libretroadmin 458fe7a761 * Remove more strlcat calls
* Safer manual char assignment in database_info.c
2023-06-20 17:43:33 +02:00
libretroadmin 31d8f4fd51 Cut down on more strlcat calls 2023-06-18 22:53:13 +02:00
libretroadmin 35b445c3ed (UWP) Buildfix 2023-06-02 02:24:55 +02:00
libretroadmin 31751a3945 Cleanups 2023-06-01 22:52:05 +02:00
libretroadmin 238f887931 Get rid of initial for loop C89 noncompliance
* uwp_main.c - code style cleanups
2023-04-23 10:47:09 +02:00
libretroadmin 5ae2b9f753 (UWP) Cleanups/style nits
(Joypad drivers) Cleanup/slim down axis code
2023-02-19 19:32:05 +01:00
libretroadmin 378e90e745 retroarch.h functions should be namespaced 'retroarch_' instead
of 'rarch_'
2023-01-22 16:58:22 +01:00
GABO1423 baaf8e03fa (UWP) Another Buildfix (#14501) 2022-10-10 00:06:49 +02:00
LibretroAdmin 6be8dccd46 (UWP) Style nits/cleanups 2022-10-01 15:46:09 +02:00
Bashar Astifan b93599c7e0 UWP OnSuspending and save on quit fix (#14452)
* Update uwp_main.cpp

* Update retroarch.c
2022-10-01 14:28:23 +02:00
LibretroAdmin 5bfe70221c Revert "UWP OnSuspending crash fix (#14372)"
This reverts commit 6226d0442f.
2022-10-01 00:27:22 +02:00
Bashar Astifan 6226d0442f UWP OnSuspending crash fix (#14372) 2022-09-02 13:26:11 +02:00
GABO1423 bcd921b012 (UWP) Build Fix (#14241) 2022-07-29 07:21:47 +02:00
Sean O'Neil b999eaa4c9 Update uwp_main.cpp (#14239)
Added launch protocol arg 'forceExit' so a frontend can tell an already-running RetroArch UWP instance to quit.
2022-07-28 23:56:55 +02:00
Autechre 4c3a4d66df Cxx buildfixes (#13803)
* CXX_BUILD buildfixes
* (D3D11) Buildfixes for CXX_BUILD
* (Linux/qb) Disable KMS for Linux when building for C89, headers use inline which is not
available for C89
2022-03-30 17:30:20 +02:00
dbaronica 2febc16e2e (UWP) - Implemented activation/starting of retroarch using URI activa… (#13563)
* (UWP) - Implemented activation/starting of retroarch using URI activation.

* Removed try-catch blocks, refactored argument parsing, ignore driver reset if content starting directly from arguments

Co-authored-by: Domagoj Baronica <domagoj@morpholineinteractive.com>
2022-02-05 12:46:42 +01:00
tunip3 a28e226ef4 Make resolution switching automatic and fix angle output issues [UWP/XBOX] (#13406)
* force angle to render at 1080p regardless of screensize as the output is 1080p regardless of screensize.
This fixes an issue where at 4k any angle output would be zoomed into a corner

* set resolution based on display resolution (auto 4k)

* set driver to d3d11 if booting with opengl

* reset width and height of output on boot to match display

Co-authored-by: Tunip3 <tunip3@users.noreply.github.com>
2021-12-24 14:34:30 +01:00
tunip3 fb6bf6023a Move roms copied to localstate to a dedicated dir and clear on start up [XBOX/UWP] (#13392)
* make roms copy to a specific cache dir in the localstate folder when its copied

* auto delete vfs cache dir on start up

Co-authored-by: Tunip3 <tunip3@users.noreply.github.com>
2021-12-22 12:55:33 +01:00
twinaphex a93a2e3366 (MSVC2019 UWP) Buildfix 2021-11-07 05:54:23 +01:00
Tunip3 be7d6832d3 strip out winrt storagefiles 2021-10-01 09:58:17 +01:00
MajorPainTheCactus 536d18778b Fixed up HDR for UWP/WinRT builds (#12936)
Fixed D3D11 validation warnings
Fixed up technically incorrect labels

Co-authored-by: Autechre <libretro@gmail.com>
2021-09-04 21:13:24 +02:00