summaryrefslogtreecommitdiff
path: root/test/ximage.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2004-12-08 15:06:07 +0100
committerTor Andersson <tor@ghostscript.com>2004-12-08 15:06:07 +0100
commit5537c50d225b8521a043859f9de4057d271cac97 (patch)
treea3bf8962f522f3e398dcd99eb3452e913127bbce /test/ximage.c
parent576f0af8fbeb49f6e813d06379ed8b0db07ea271 (diff)
downloadmupdf-5537c50d225b8521a043859f9de4057d271cac97.tar.xz
seek/tell for openbuffer. path clip cloned too early.
Diffstat (limited to 'test/ximage.c')
-rw-r--r--test/ximage.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/ximage.c b/test/ximage.c
index 1e56fa2e..9f7ec064 100644
--- a/test/ximage.c
+++ b/test/ximage.c
@@ -125,9 +125,6 @@ createximage(Display *dpy, Visual *vis, XShmSegmentInfo *xsi, int depth, int w,
shmctl(xsi->shmid, IPC_RMID, 0);
- printf("make xshm w=%d h=%d id=%d data=%p\n",
- w, h, xsi->shmid, xsi->shmaddr);
-
return img;
fallback:
@@ -211,7 +208,7 @@ select_mode(void)
gs = ffs(gm) - 1;
bs = ffs(bm) - 1;
- printf("mode %d/%d %08lx %08lx %08lx (%ld,%ld,%ld) %s%s\n",
+ printf("ximage: mode %d/%d %08lx %08lx %08lx (%ld,%ld,%ld) %s%s\n",
info.visual.depth,
info.bitsperpixel,
rm, gm, bm, rs, gs, bs,
@@ -246,7 +243,7 @@ select_mode(void)
info.mode = byteorder == MSBFirst ? RGBA8888 : ABGR8888;
}
- printf("convert ARGB8888 to %s\n", modename[info.mode]);
+ printf("ximage: ARGB8888 to %s\n", modename[info.mode]);
/* select conversion function */
info.convert_func = ximage_convert_funcs[info.mode];
@@ -340,7 +337,7 @@ ximage_init(Display *display, int screen, Visual *visual)
if (!ok)
return 0;
- printf("Using %sPutImage\n", info.useshm ? "XShm" : "X");
+ printf("ximage: %sPutImage\n", info.useshm ? "XShm" : "X");
return 1;
}