summaryrefslogtreecommitdiff
path: root/hw/xfree86/exa/exa_render.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 /hw/xfree86/exa/exa_render.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 'hw/xfree86/exa/exa_render.c')
-rw-r--r--hw/xfree86/exa/exa_render.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/xfree86/exa/exa_render.c b/hw/xfree86/exa/exa_render.c
index c1d6fa63e..f770a154a 100644
--- a/hw/xfree86/exa/exa_render.c
+++ b/hw/xfree86/exa/exa_render.c
@@ -33,9 +33,8 @@
#include "xf86str.h"
#include "xf86.h"
-#define EXA_DEBUG_FALLBACKS 0
-#if EXA_DEBUG_FALLBACKS
+#if DEBUG_TRACE_FALL
static void exaCompositeFallbackPictDesc(PicturePtr pict, char *string, int n)
{
char format[20];
@@ -537,7 +536,7 @@ exaComposite(CARD8 op,
exaDrawableUseMemory(pDst->pDrawable);
}
-#if EXA_DEBUG_FALLBACKS
+#if DEBUG_TRACE_FALL
exaPrintCompositeFallback (op, pSrc, pMask, pDst);
#endif