aboutsummaryrefslogtreecommitdiff
path: root/prebuilt-intermediates/config.h
blob: 763b726308640022fd552ab35601033b56be72c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
// Updated using config.h.meson
#define _GNU_SOURCE
#define VIRGL_RENDERER_UNSTABLE_APIS 1
#define HAVE___BUILTIN_BSWAP32 1
#define HAVE___BUILTIN_BSWAP64 1
#define HAVE___BUILTIN_CLZ 1
#define HAVE___BUILTIN_CLZLL 1
#define HAVE___BUILTIN_EXPECT 1
#define HAVE___BUILTIN_FFS 1
#define HAVE___BUILTIN_FFSLL 1
#define HAVE___BUILTIN_POPCOUNT 1
#define HAVE___BUILTIN_POPCOUNTLL 1
#define HAVE___BUILTIN_TYPES_COMPATIBLE_P 1
#define HAVE___BUILTIN_UNREACHABLE 1
#define HAVE_FUNC_ATTRIBUTE_CONST 1
#define HAVE_FUNC_ATTRIBUTE_FLATTEN 1
#define HAVE_FUNC_ATTRIBUTE_FORMAT 1
#define HAVE_FUNC_ATTRIBUTE_MALLOC 1
#define HAVE_FUNC_ATTRIBUTE_NORETURN 1
#define HAVE_FUNC_ATTRIBUTE_PACKED 1
#define HAVE_FUNC_ATTRIBUTE_PURE 1
#define HAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL 1
#define HAVE_FUNC_ATTRIBUTE_UNUSED 1
#define HAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT 1
#define HAVE_FUNC_ATTRIBUTE_WEAK 1
// The glibc host toolchain lacks support for memfd, but bionic supports it,
// so this define is enabled only for 'android:' in Android.bp
//#define HAVE_MEMFD_CREATE 1
#define HAVE_STRTOK_R 1
#define HAVE_TIMESPEC_GET 1
#define HAVE_SYS_UIO_H 1
#define HAVE_PTHREAD 1

// Currently must be disabled because ANDROID code in virglrenderer
// is broken. This should be fixed upstream.
//#define HAVE_PTHREAD_SETAFFINITY 1

#define HAVE_EPOXY_EGL_H 1

// No X11/GLX support
//#define HAVE_EPOXY_GLX_H 1

// Performance impacting
//#define CHECK_GL_ERRORS 1

// Avoid dependency on minigbm
//#define ENABLE_MINIGBM_ALLOCATION 1

// Disable experimental venus support (for now)
//#define ENABLE_VENUS 1
//#define ENABLE_VENUS_VALIDATE 1

// Disable direct DRM support - only used by freedreno
//#define ENABLE_DRM 1
//#define ENABLE_DRM_MSM 1

// Disable render server (for now)
//#define ENABLE_RENDER_SERVER 1
//#define ENABLE_RENDER_SERVER_WORKER_PROCESS 1
//#define ENABLE_RENDER_SERVER_WORKER_THREAD 1
//#define ENABLE_RENDER_SERVER_WORKER_MINIJAIL 1
//#define RENDER_SERVER_EXEC_PATH 1

#define HAVE_EVENTFD_H 1
#define HAVE_DLFCN_H 1

// Disable tracing - performance impacting
//#define ENABLE_TRACING 1

// Android only supports little endian on target and host
#define UTIL_ARCH_LITTLE_ENDIAN 1
#define UTIL_ARCH_BIG_ENDIAN 0

// Architecture-specific CPU detection code
//#define PIPE_ARCH_X86 1

// Keep simple_mtx.h happy
#define HAVE_LINUX_FUTEX_H 1