From a716484926afa4bfa685ac75b4b10e227406bfa2 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 18 Apr 2024 20:48:30 +0200 Subject: [PATCH] mi: drop obsolete mibitblt.c This file is practically empty now, so we can remove it. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- doc/Xserver-spec.xml | 1 - mi/meson.build | 1 - mi/mibitblt.c | 67 -------------------------------------------- 3 files changed, 69 deletions(-) delete mode 100644 mi/mibitblt.c diff --git a/doc/Xserver-spec.xml b/doc/Xserver-spec.xml index 8c3c0fce4..df8c9e5ea 100644 --- a/doc/Xserver-spec.xml +++ b/doc/Xserver-spec.xml @@ -4257,7 +4257,6 @@ bit in that plane equal to 0. If format is XYPixmap, planemask is guaranteed to have a single bit set; the bits should be written in Bitmap format, which is the format for a single plane of an XYPixmap. -An example implementation is miGetImage() in Xserver/mi/mibitblt.c.
void pGC->ops->ImageText8(pDraw, pGC, x, y, count, chars) diff --git a/mi/meson.build b/mi/meson.build index b51acc380..cccdb06eb 100644 --- a/mi/meson.build +++ b/mi/meson.build @@ -1,6 +1,5 @@ srcs_mi = [ 'miarc.c', - 'mibitblt.c', 'micmap.c', 'micopy.c', 'midash.c', diff --git a/mi/mibitblt.c b/mi/mibitblt.c deleted file mode 100644 index b2fa3f486..000000000 --- a/mi/mibitblt.c +++ /dev/null @@ -1,67 +0,0 @@ -/*********************************************************** - -Copyright 1987, 1998 The Open Group - -Permission to use, copy, modify, distribute, and sell this software and its -documentation for any purpose is hereby granted without fee, provided that -the above copyright notice appear in all copies and that both that -copyright notice and this permission notice appear in supporting -documentation. - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -Except as contained in this notice, the name of The Open Group shall not be -used in advertising or otherwise to promote the sale, use or other dealings -in this Software without prior written authorization from The Open Group. - -Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts. - - All Rights Reserved - -Permission to use, copy, modify, and distribute this software and its -documentation for any purpose and without fee is hereby granted, -provided that the above copyright notice appear in all copies and that -both that copyright notice and this permission notice appear in -supporting documentation, and that the name of Digital not be -used in advertising or publicity pertaining to distribution of the -software without specific, written prior permission. - -DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING -ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL -DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR -ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, -WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, -ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS -SOFTWARE. - -******************************************************************/ -/* Author: Todd Newman (aided and abetted by Mr. Drewry) */ - -#ifdef HAVE_DIX_CONFIG_H -#include -#endif - -#include -#include - -#include "misc.h" -#include "gcstruct.h" -#include "pixmapstr.h" -#include "windowstr.h" -#include "scrnintstr.h" -#include "mi.h" -#include "regionstr.h" -#include -#include "servermd.h" - -#ifdef __MINGW32__ -#define ffs __builtin_ffs -#endif