Module Name:    xsrc
Committed By:   macallan
Date:           Wed May 11 21:13:13 UTC 2022

Modified Files:
        xsrc/external/mit/xf86-video-suncg14/dist/src: cg14_accel.c

Log Message:
treat PictOpOver with a solid source and an empty mask as simple fill
somewhat less glitchiness in gtk3 but we're not quite there yet


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 \
    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.31 xsrc/external/mit/xf86-video-suncg14/dist/src/cg14_accel.c:1.32
--- xsrc/external/mit/xf86-video-suncg14/dist/src/cg14_accel.c:1.31	Wed May 11 21:10:37 2022
+++ xsrc/external/mit/xf86-video-suncg14/dist/src/cg14_accel.c	Wed May 11 21:13:13 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: cg14_accel.c,v 1.31 2022/05/11 21:10:37 macallan Exp $ */
+/* $NetBSD: cg14_accel.c,v 1.32 2022/05/11 21:13:13 macallan Exp $ */
 /*
  * Copyright (c) 2013 Michael Lorenz
  * All rights reserved.
@@ -1360,6 +1360,11 @@ CG14Composite(PixmapPtr pDst, int srcX, 
 						    dst, dstpitch,
 						    width, height);
 						break;
+					case 0:
+						DPRINTF(X_ERROR, "%s: Over with solid %08x and no mask\n", __func__, p->fillcolour);
+						CG14PrepareSolid(pDst, GXcopy, 0xffffffff, p->fillcolour);
+						CG14Solid(pDst, dstX, dstY, width, height);
+						break;
 					default:
 						xf86Msg(X_ERROR,
 						  "unsupported mask format %08x\n", p->mskformat);

Reply via email to