Module Name: xsrc
Committed By: macallan
Date: Wed May 11 21:10:37 UTC 2022
Modified Files:
xsrc/external/mit/xf86-video-suncg14/dist/src: cg14_accel.c
Log Message:
disable accidentally committed debug goop
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 \
xsrc/external/mit/xf86-video-suncg14/dist/src/cg14_accel.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/xf86-video-suncg14/dist/src/cg14_accel.c
diff -u xsrc/external/mit/xf86-video-suncg14/dist/src/cg14_accel.c:1.30 xsrc/external/mit/xf86-video-suncg14/dist/src/cg14_accel.c:1.31
--- xsrc/external/mit/xf86-video-suncg14/dist/src/cg14_accel.c:1.30 Wed May 11 19:35:06 2022
+++ xsrc/external/mit/xf86-video-suncg14/dist/src/cg14_accel.c Wed May 11 21:10:37 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: cg14_accel.c,v 1.30 2022/05/11 19:35:06 macallan Exp $ */
+/* $NetBSD: cg14_accel.c,v 1.31 2022/05/11 21:10:37 macallan Exp $ */
/*
* Copyright (c) 2013 Michael Lorenz
* All rights reserved.
@@ -42,8 +42,8 @@
#include "cg14.h"
-//#define SX_DEBUG
-#define SX_TRACE
+/*#define SX_DEBUG*/
+/*#define SX_TRACE*/
#ifdef SX_TRACE
#define ENTER xf86Msg(X_ERROR, "%s>\n", __func__);
@@ -103,7 +103,7 @@ CG14PrepareCopy(PixmapPtr pSrcPixmap, Pi
Cg14Ptr p = GET_CG14_FROM_SCRN(pScrn);
ENTER;
- xf86Msg(X_ERROR, "%s bpp %d rop %x\n", __func__,
+ DPRINTF(X_ERROR, "%s bpp %d rop %x\n", __func__,
pSrcPixmap->drawable.bitsPerPixel, alu);
if (planemask != p->last_mask) {
@@ -125,7 +125,7 @@ CG14PrepareCopy(PixmapPtr pSrcPixmap, Pi
p->pExa->Copy = CG14Copy32;
break;
default:
- xf86Msg(X_ERROR, "%s depth %d\n", __func__,
+ DPRINTF(X_ERROR, "%s depth %d\n", __func__,
pSrcPixmap->drawable.bitsPerPixel);
}
p->srcpitch = exaGetPixmapPitch(pSrcPixmap);