build: Fix ARM64 (aarch64) builds on Visual Studio 2017
On Visual Studio 2017, it is unfortunate that it does not allow us to include
arm_neon.h directly for ARM64 builds, so we must include arm64_neon.h instead.
Interestingly, Visual Studio 2019 can include arm_neon.h directly for ARM64
builds, which will in turn include arm64_neon.h
Fix the Visual Studio 2017 ARM64 build by:
* Updating the check program to include arm64_neon.h when building with
Visual Studio 2017 for ARM64.
* Use macros in graphene-config.h.meson so that we include the right header
depending on the compiler being used when building for ARM64.
385be5b...
by
Daniel Kolesa <email address hidden>
Fix various broken macros when using GCC extension vectors
Commit 8e5c25109898fa4894df810a546b26c387eaae93 introduced
some pragmas, however those unintentionally change the types
of the macros, as the diagnostic pop pragma becomes the last
statement and the type of the expression becomes void.
the previous behavior only ever enabled gcc vectors no x86_64
572c882...
by
Sebastian Keller <email address hidden>
Add test for ray/box intersection based picking
This test is based on the picking code in Mutter/Clutter and tests
picking using rays from a virtual camera through given points on a plane
and a similarly projected rectangle/box on the same plane.