// Hand-written ThorVG build config (replaces the meson-generated config.h).
// Minimal CPU/software-engine-only build for react-native-thor v1 — no GL/WebGPU,
// no image loaders/savers. Mirrors `meson -Dengines=cpu -Dloaders= -Dsavers=`.
#pragma once

#define THORVG_VERSION_STRING "1.0.6"

// Multi-threaded task scheduler (std::thread) — used by Initializer::init(threads).
#define THORVG_THREAD_SUPPORT 1

// CPU (software) rasterizer engine — the only engine we compile for v1.
#define THORVG_CPU_ENGINE_SUPPORT 1

// SIMD (THORVG_NEON_VECTOR_SUPPORT / THORVG_AVX_VECTOR_SUPPORT) is intentionally
// NOT set. A measured A/B on-device (Moto G35, arm64) showed that at -O3 the
// compiler already auto-vectorizes ThorVG's C blend/fill loops with NEON, so
// enabling the hand-written intrinsics made no difference (see the note in
// android/CMakeLists.txt and NitroThor.podspec). The win comes from building
// release/-O3 (vs the old debug -O1), not from the explicit SIMD define.
//
// Intentionally NOT defined for v1 (kept here as documentation):
//   THORVG_WG_ENGINE_SUPPORT                              (WebGPU backend)
//   THORVG_SVG/PNG/JPG/LOTTIE/TTF/OTF/WEBP_LOADER_SUPPORT (file loaders)
//   THORVG_GIF_SAVER_SUPPORT                              (savers)
//   THORVG_PARTIAL_RENDER_SUPPORT                          (optimization — enable later)
