-
-
Notifications
You must be signed in to change notification settings - Fork 448
feat: Add Windows ARM64 (MSVC) support #2050
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
Open
FixFlare
wants to merge
7
commits into
openfl:8.4.0-dev
Choose a base branch
from
FixFlare:windows-arm64-support
base: 8.4.0-dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
7cfa31d
feat: Add Windows ARM64 (MSVC) support
FixFlare 6b93459
feat: Clean up Windows ARM64 audio; fix OGG alignment via compiler flags
c3d52d0
Refactor Pixman config: factor out ARM64 architecture check
f5d65dc
[winrt] Fix WinRT target: stabilization for Xbox, ARM64 toolchain, an…
a56ee91
[winrt] Add BSD 3-Clause License for ANGLE dependencies
f522ed4
feat: add `lime setup winrt` to download ANGLE from nuget
3397d4e
Merge upstream 8.4.0-dev and resolve Build.xml conflict
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
138 changes: 138 additions & 0 deletions
138
project/lib/custom/openal/include/config-windows-arm64.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,138 @@ | ||
| /* API declaration export attribute */ | ||
| #define AL_API __declspec(dllexport) | ||
| #define ALC_API __declspec(dllexport) | ||
|
|
||
| /* Define a restrict macro for non-aliased pointers */ | ||
| #define RESTRICT __restrict | ||
|
|
||
| /* Define if HRTF data is embedded in the library */ | ||
| #define ALSOFT_EMBED_HRTF_DATA | ||
|
|
||
| /* Define if we have the posix_memalign function */ | ||
| /* #undef HAVE_POSIX_MEMALIGN */ | ||
|
|
||
| /* Define if we have the _aligned_malloc function */ | ||
| #define HAVE__ALIGNED_MALLOC | ||
|
|
||
| /* Define if we have the proc_pidpath function */ | ||
| /* #undef HAVE_PROC_PIDPATH */ | ||
|
|
||
| /* Define if we have the getopt function */ | ||
| /* #undef HAVE_GETOPT */ | ||
|
|
||
| /* Define if we have SSE CPU extensions */ | ||
| /* #define HAVE_SSE */ | ||
| /* #define HAVE_SSE2 */ | ||
| /* #undef HAVE_SSE3 */ | ||
| /* #undef HAVE_SSE4_1 */ | ||
|
|
||
| /* Define if we have ARM Neon CPU extensions */ | ||
| #undef HAVE_NEON | ||
|
|
||
| /* Define if we have the ALSA backend */ | ||
| /* #undef HAVE_ALSA */ | ||
|
|
||
| /* Define if we have the OSS backend */ | ||
| /* #undef HAVE_OSS */ | ||
|
|
||
| /* Define if we have the Solaris backend */ | ||
| /* #undef HAVE_SOLARIS */ | ||
|
|
||
| /* Define if we have the SndIO backend */ | ||
| /* #undef HAVE_SNDIO */ | ||
|
|
||
| /* Define if we have the QSA backend */ | ||
| /* #undef HAVE_QSA */ | ||
|
|
||
| /* Define if we have the WASAPI backend */ | ||
| #define HAVE_WASAPI | ||
|
|
||
| /* Define if we have the DSound backend */ | ||
| /* #undef HAVE_DSOUND */ | ||
|
|
||
| /* Define if we have the Windows Multimedia backend */ | ||
| #define HAVE_WINMM | ||
|
|
||
| /* Define if we have the PortAudio backend */ | ||
| /* #undef HAVE_PORTAUDIO */ | ||
|
|
||
| /* Define if we have the PulseAudio backend */ | ||
| /* #undef HAVE_PULSEAUDIO */ | ||
|
|
||
| /* Define if we have the JACK backend */ | ||
| /* #undef HAVE_JACK */ | ||
|
|
||
| /* Define if we have the CoreAudio backend */ | ||
| /* #undef HAVE_COREAUDIO */ | ||
|
|
||
| /* Define if we have the OpenSL backend */ | ||
| /* #undef HAVE_OPENSL */ | ||
|
|
||
| /* Define if we have the Wave Writer backend */ | ||
| #define HAVE_WAVE | ||
|
|
||
| /* Define if we have the SDL2 backend */ | ||
| /* #undef HAVE_SDL2 */ | ||
|
|
||
| /* Define if we have the stat function */ | ||
| #define HAVE_STAT | ||
|
|
||
| /* Define to the size of a long int type */ | ||
| #define SIZEOF_LONG 4 | ||
|
|
||
| /* Define if we have GCC's format attribute */ | ||
| /* #undef HAVE_GCC_FORMAT */ | ||
|
|
||
| /* Define if we have dlfcn.h */ | ||
| /* #undef HAVE_DLFCN_H */ | ||
|
|
||
| /* Define if we have pthread_np.h */ | ||
| /* #undef HAVE_PTHREAD_NP_H */ | ||
|
|
||
| /* Define if we have malloc.h */ | ||
| #define HAVE_MALLOC_H | ||
|
|
||
| /* Define if we have dirent.h */ | ||
| /* #undef HAVE_DIRENT_H */ | ||
|
|
||
| /* Define if we have cpuid.h */ | ||
| /* #undef HAVE_CPUID_H */ | ||
|
|
||
| /* Define if we have intrin.h */ | ||
| #define HAVE_INTRIN_H | ||
|
|
||
| /* Define if we have sys/sysconf.h */ | ||
| /* #undef HAVE_SYS_SYSCONF_H */ | ||
|
|
||
| /* Define if we have guiddef.h */ | ||
| #define HAVE_GUIDDEF_H | ||
|
|
||
| /* Define if we have initguid.h */ | ||
| /* #undef HAVE_INITGUID_H */ | ||
|
|
||
| /* Define if we have GCC's __get_cpuid() */ | ||
| /* #undef HAVE_GCC_GET_CPUID */ | ||
|
|
||
| /* Define if we have the __cpuid() intrinsic */ | ||
| #define HAVE_CPUID_INTRINSIC | ||
|
|
||
| /* Define if we have the _BitScanForward64() intrinsic */ | ||
| /* #undef HAVE_BITSCANFORWARD64_INTRINSIC */ | ||
|
|
||
| /* Define if we have the _BitScanForward() intrinsic */ | ||
| #define HAVE_BITSCANFORWARD_INTRINSIC | ||
|
|
||
| /* Define if we have pthread_setschedparam() */ | ||
| /* #undef HAVE_PTHREAD_SETSCHEDPARAM */ | ||
|
|
||
| /* Define if we have pthread_setname_np() */ | ||
| /* #undef HAVE_PTHREAD_SETNAME_NP */ | ||
|
|
||
| /* Define if pthread_setname_np() only accepts one parameter */ | ||
| /* #undef PTHREAD_SETNAME_NP_ONE_PARAM */ | ||
|
|
||
| /* Define if pthread_setname_np() accepts three parameters */ | ||
| /* #undef PTHREAD_SETNAME_NP_THREE_PARAMS */ | ||
|
|
||
| /* Define if we have pthread_set_name_np() */ | ||
| /* #undef HAVE_PTHREAD_SET_NAME_NP */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.