summaryrefslogtreecommitdiff
path: root/exa/exa_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'exa/exa_priv.h')
-rw-r--r--exa/exa_priv.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/exa/exa_priv.h b/exa/exa_priv.h
index 41938a7d9..ca1cdb110 100644
--- a/exa/exa_priv.h
+++ b/exa/exa_priv.h
@@ -52,6 +52,21 @@
#include "fbpict.h"
#endif
+#define DEBUG_TRACE_FALL 0
+#define DEBUG_MIGRATE 0
+#define DEBUG_PIXMAP 0
+#define DEBUG_OFFSCREEN 0
+
+#if DEBUG_TRACE_FALL
+#define EXA_FALLBACK(x) \
+do { \
+ ErrorF("EXA fallback at %s: ", __FUNCTION__); \
+ ErrorF x; \
+} while (0)
+#else
+#define EXA_FALLBACK(x)
+#endif
+
#ifndef EXA_MAX_FB
#define EXA_MAX_FB FB_OVERLAY_MAX
#endif