summaryrefslogtreecommitdiff
path: root/uxa/uxa-priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'uxa/uxa-priv.h')
-rw-r--r--uxa/uxa-priv.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/uxa/uxa-priv.h b/uxa/uxa-priv.h
index f4b3ceef..463749a7 100644
--- a/uxa/uxa-priv.h
+++ b/uxa/uxa-priv.h
@@ -67,18 +67,14 @@
#define DEBUG_OFFSCREEN 0
#define DEBUG_GLYPH_CACHE 0
-#if DEBUG_TRACE_FALL
#define UXA_FALLBACK(x) \
-do { \
+if (uxa_get_screen(screen)->fallback_debug) { \
ErrorF("UXA fallback at %s: ", __FUNCTION__); \
ErrorF x; \
} while (0)
char
uxa_drawable_location(DrawablePtr pDrawable);
-#else
-#define UXA_FALLBACK(x)
-#endif
#if DEBUG_PIXMAP
#define DBG_PIXMAP(a) ErrorF a
@@ -139,6 +135,7 @@ typedef struct {
#endif
EnableDisableFBAccessProcPtr SavedEnableDisableFBAccess;
+ Bool fallback_debug;
Bool swappedOut;
unsigned disableFbCount;
unsigned offScreenCounter;