[Intel-gfx] [PATCH] uxa: Fix composite fallback debug printing of main memory versus bo info.

Eric Anholt eric at anholt.net
Wed Feb 25 07:42:45 CET 2009


It was just printing whether it was a pixmap (it is), instead of whether the
pixmap was offscreen.
---
 uxa/uxa-render.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/uxa/uxa-render.c b/uxa/uxa-render.c
index 60022cc..b377bf5 100644
--- a/uxa/uxa-render.c
+++ b/uxa/uxa-render.c
@@ -69,7 +69,7 @@ static void uxa_composite_fallback_pict_desc(PicturePtr pict, char *string, int
 	break;
     }
 
-    loc = uxa_get_drawable_pixmap(pict->pDrawable) ? 's' : 'm';
+    loc = uxa_drawable_is_offscreen(pict->pDrawable) ? 's' : 'm';
 
     snprintf(size, 20, "%dx%d%s", pict->pDrawable->width,
 	     pict->pDrawable->height, pict->repeat ?
-- 
1.5.6.5




More information about the Intel-gfx mailing list