Plasma Engine  2.0
Loading...
Searching...
No Matches
PlatformFeatures_Android.h
1#pragma once
2
4#undef PL_USE_POSIX_FILE_API
5#define PL_USE_POSIX_FILE_API PL_ON
6
8#undef PL_USE_LINUX_POSIX_EXTENSIONS
9#define PL_USE_LINUX_POSIX_EXTENSIONS PL_ON
10
12#undef PL_SUPPORTS_FILE_ITERATORS
13#define PL_SUPPORTS_FILE_ITERATORS PL_OFF
14
16#undef PL_SUPPORTS_DIRECTORY_WATCHER
17#define PL_SUPPORTS_DIRECTORY_WATCHER PL_OFF
18
20#undef PL_SUPPORTS_FILE_STATS
21#define PL_SUPPORTS_FILE_STATS PL_ON
22
24#undef PL_SUPPORTS_MEMORY_MAPPED_FILE
25#define PL_SUPPORTS_MEMORY_MAPPED_FILE PL_ON
26
33#undef PL_SUPPORTS_SHARED_MEMORY
34#define PL_SUPPORTS_SHARED_MEMORY PL_OFF
35
37#undef PL_SUPPORTS_DYNAMIC_PLUGINS
38#define PL_SUPPORTS_DYNAMIC_PLUGINS PL_OFF
39
41#undef PL_SUPPORTS_UNRESTRICTED_FILE_ACCESS
42#define PL_SUPPORTS_UNRESTRICTED_FILE_ACCESS PL_OFF
43
45#undef PL_SUPPORTS_CASE_INSENSITIVE_PATHS
46#define PL_SUPPORTS_CASE_INSENSITIVE_PATHS PL_OFF
47
49#undef PL_SUPPORTS_LONG_PATHS
50#define PL_SUPPORTS_LONG_PATHS PL_ON
51
53#undef PL_SUPPORTS_PROCESSES
54#define PL_SUPPORTS_PROCESSES PL_OFF
55
56// SIMD support
57#undef PL_SIMD_IMPLEMENTATION
58
59#if PL_ENABLED(PL_PLATFORM_ARCH_X86)
60// Disabling SSE in emulator to increase FPU test coverage. Uncomment code below if performance is an issue for you.
61// # if __SSE4_1__ && __SSSE3__
62// # define PL_SIMD_IMPLEMENTATION PL_SIMD_IMPLEMENTATION_SSE
63// # else
64# define PL_SIMD_IMPLEMENTATION PL_SIMD_IMPLEMENTATION_FPU
65// # endif
66#elif PL_ENABLED(PL_PLATFORM_ARCH_ARM)
67# if PL_ENABLED(PL_PLATFORM_64BIT)
68# define PL_SIMD_IMPLEMENTATION PL_SIMD_IMPLEMENTATION_NEON
69# else
70# define PL_SIMD_IMPLEMENTATION PL_SIMD_IMPLEMENTATION_FPU
71# endif
72#else
73# error "Unknown architecture."
74#endif