summaryrefslogtreecommitdiff
path: root/exa/exa_unaccel.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2005-09-21 10:27:53 +0000
committerEric Anholt <anholt@freebsd.org>2005-09-21 10:27:53 +0000
commit361a9eb953aaa38f8ebc057185de29e50f9eef26 (patch)
tree82bf759dc5f2dbac4c21c5bc06629f30f4efd776 /exa/exa_unaccel.c
parent6a29c4cec156a135d1d9cdb65995f7a84de7cb56 (diff)
- Change migration-in rule slightly: previously, if your score was less
than the max, it was bumped, and then if you were above the threshhold you got moved in. Instead, do the above-threshhold check separate from score starting out less than max. While this will likely make thrashing cases worse, I hope it will fix some issues with long term performance (think of an xcompmgr with a backbuffer it's doing only accelerated operations to. If some new pixmap comes in and bumps it out, even once, it will never get a chance to re-migrate because its score will be maxed). Change migration-out to be the same way for symmetry, though it shouldn't ever affect anything. - Fix a lot of debugging output, both in terms of printing quality, and completeness. The fallback debugging covers a lot more now, pointing out new areas for improvement. Debugging toggles are now centralized in exaPriv.h.
Diffstat (limited to 'exa/exa_unaccel.c')
-rw-r--r--exa/exa_unaccel.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/exa/exa_unaccel.c b/exa/exa_unaccel.c
index 2e0fc2cad..d6e111e79 100644
--- a/exa/exa_unaccel.c
+++ b/exa/exa_unaccel.c
@@ -23,17 +23,6 @@
#include "exaPriv.h"
-#define EXA_TRACE_FALL 0
-
-#if EXA_TRACE_FALL
-#define EXA_FALLBACK(x) \
-do { \
- ErrorF("EXA fallback at %s: ", __FUNCTION__); \
- ErrorF x; \
-} while (0)
-#else
-#define EXA_FALLBACK(x)
-#endif
/*
* These functions wrap the low-level fb rendering functions and
* synchronize framebuffer/accelerated drawing by stalling until