tyoma / agge

Anti-Grain Evolution. 2D graphics engine for Speed and Quality in C++.
MIT License
117 stars 17 forks source link

Apple silicon support #13

Open Carbone13 opened 5 months ago

Carbone13 commented 5 months ago

I implemented support for Apple Silicon (and mostly on arm64, but I could only test it with my Macbook Air M2) Basically it just replace emmintrin.h in agge/blenders_simd.h with sse2neon.h.

Also I needed to replace the #include <polyq/queue.h in agge.async/worker.h with a messy #include <../libraries/polyq/queue.h... I have no idea why it doesn't include the headers of Polyq.