-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MESA UWP Integration #16285
MESA UWP Integration #16285
Conversation
…defines GL symbols
…copy MESA DLLs into UWP release
…s better as GL cores use desktop version, so this is left for reference and to make the solution build with HAVE_OPENGLES
… because the screen resolution is not right in gl context. Pending further investigation
(UWP) Cleanup filters file
Exciting stuff! |
This is why I closed the PR btw, this solution does not need cores to implement ANGLE/MESA themselves. So you can just get cores from the online updater, avoiding the problem altogether. |
I think it's a good idea to have alternatives for ANGLE, regardless of whether we still use ANGLE on the cores. |
libretro-citra could work with MESA, however the current buildbot version is build with MSVC and doesn't work on XBOX due to dll dependencies. MINGW build however doesn't have the offending dlls |
@GABO1423 So can we merge this or not? Also for whatever reason we can't seem to be able to DM you anymore on Discord, not sure what that is about. |
I stopped using my Xbox for emulation a while ago, my small commit is the last UWP related thing I plan to do. According to people who have tested it, it's ready to be merged so that's good enough for me. |
Alright. |
Build error is not due to the code but an outdated key file, guess I'll do one last commit |
* [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 <[email protected]>
Description
These modifications allow UWP build to work with a modified version of mesa Gallium d3d12 driver, available here https://github.com/aerisarn/mesa-uwp. This effectively leverages better dx12 capabilities to replace ANGLE builds and use nightly build version of OpenGL plugins instead of using separate versions build against OpenGL ES ANGLE dlls.
ANGLE profile is still available for devices which can't use MESA.