xserver/hw/xorg/shadowfb Makefile.am, NONE, 1.1 sfbmodule.c, NONE,
1.1 shadow.c, NONE, 1.1 shadowfb.h, NONE, 1.1
Daniel Stone
xserver-commit at pdx.freedesktop.org
Sun Apr 25 23:52:25 EST 2004
- Previous message: xserver/hw/xorg/scanpci Imakefile, NONE, 1.1 pci.ids, NONE,
1.1 pciid2c.pl, NONE, 1.1 xf86PciData.h, NONE,
1.1 xf86PciIds.h, NONE, 1.1 xf86PciStdIds.h, NONE,
1.1 xf86PciStr.h, NONE, 1.1 xf86ScanPci.c, NONE,
1.1 xf86ScanPci.h, NONE, 1.1
- Next message: xserver/hw/xorg/vbe Makefile.am, NONE, 1.1 vbe.c, NONE, 1.1 vbe.h,
NONE, 1.1 vbeModes.c, NONE, 1.1 vbeModes.h, NONE,
1.1 vbe_module.c, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: daniel
Update of /cvs/xserver/xserver/hw/xorg/shadowfb
In directory pdx:/tmp/cvs-serv17025/hw/xorg/shadowfb
Added Files:
Makefile.am sfbmodule.c shadow.c shadowfb.h
Log Message:
Xizzle is dead, long live Xorg.
Re-import the DDX from X11R6.7, complete with automakey goodness, and do the
requisite configure.ac, et al, updates; also import the XKB extension from the
6.7 DIX.
Currently it'll link and then hang solid in RADEONInitAccel(), or the next
function if you enable NoAccel.
--- NEW FILE: Makefile.am ---
INCLUDES = $(XORG_INCS)
AM_CFLAGS = $(XORG_CFLAGS)
lib_LIBRARIES = libxorgshadowfb.a
libxorgshadowfb_a_SOURCES = sfbmodule.c shadow.c
sdk_INCLUDEDIR = $(includedir)/xorg
sdk_INCLUDES = shadowfb.h
--- NEW FILE: sfbmodule.c ---
/* $XFree86: xc/programs/Xserver/hw/xfree86/shadowfb/sfbmodule.c,v 1.1 1999/01/31 12:38:06 dawes Exp $ */
#ifdef XFree86LOADER
#include "xf86Module.h"
static XF86ModuleVersionInfo VersRec =
{
"shadowfb",
MODULEVENDORSTRING,
MODINFOSTRING1,
MODINFOSTRING2,
XORG_VERSION_CURRENT,
1, 0, 0,
ABI_CLASS_ANSIC, /* Only need the ansic layer */
ABI_ANSIC_VERSION,
MOD_CLASS_NONE,
{0,0,0,0} /* signature, to be patched into the file by a tool */
};
XF86ModuleData shadowfbModuleData = { &VersRec, NULL, NULL };
#endif
--- NEW FILE: shadow.c ---
/*
Copyright (C) 1999. The XFree86 Project Inc.
Written by Mark Vojkovich (mvojkovi at ucsd.edu)
Pre-fb-write callbacks and RENDER support - Nolan Leake (nolan at vmware.com)
*/
/* $XFree86: xc/programs/Xserver/hw/xfree86/shadowfb/shadow.c,v 1.20tsi Exp $ */
#include <X11/X.h>
#include <X11/Xproto.h>
#include "misc.h"
#include "pixmapstr.h"
#include "input.h"
#include "font.h"
#include "mi.h"
#include "scrnintstr.h"
#include "windowstr.h"
[...1795 lines suppressed...]
}
GCOps ShadowGCOps = {
ShadowFillSpans, ShadowSetSpans,
ShadowPutImage, ShadowCopyArea,
ShadowCopyPlane, ShadowPolyPoint,
ShadowPolylines, ShadowPolySegment,
ShadowPolyRectangle, ShadowPolyArc,
ShadowFillPolygon, ShadowPolyFillRect,
ShadowPolyFillArc, ShadowPolyText8,
ShadowPolyText16, ShadowImageText8,
ShadowImageText16, ShadowImageGlyphBlt,
ShadowPolyGlyphBlt, ShadowPushPixels,
#ifdef NEED_LINEHELPER
NULL,
#endif
{NULL} /* devPrivate */
};
--- NEW FILE: shadowfb.h ---
/* $XFree86: xc/programs/Xserver/hw/xfree86/shadowfb/shadowfb.h,v 1.3 2002/10/16 22:12:54 alanh Exp $ */
#ifndef _SHADOWFB_H
#define _SHADOWFB_H
#include "xf86str.h"
/*
* User defined callback function. Passed a pointer to the ScrnInfo struct,
* the number of dirty rectangles, and a pointer to the first dirty rectangle
* in the array.
*/
typedef void (*RefreshAreaFuncPtr)(ScrnInfoPtr, int, BoxPtr);
/*
* ShadowFBInit initializes the shadowfb subsystem. refreshArea is a pointer
* to a user supplied callback function. This function will be called after
* any operation that modifies the framebuffer. The newly dirtied rectangles
* are passed to the callback.
*
* Returns FALSE in the event of an error.
*/
Bool
ShadowFBInit (
ScreenPtr pScreen,
RefreshAreaFuncPtr refreshArea
);
/*
* ShadowFBInit2 is a more featureful refinement of the original shadowfb.
* ShadowFBInit2 allows you to specify two callbacks, one to be called
* immediately before an operation that modifies the framebuffer, and another
* to be called immediately after.
*
* Returns FALSE in the event of an error
*/
Bool
ShadowFBInit2 (
ScreenPtr pScreen,
RefreshAreaFuncPtr preRefreshArea,
RefreshAreaFuncPtr postRefreshArea
);
#endif /* _SHADOWFB_H */
- Previous message: xserver/hw/xorg/scanpci Imakefile, NONE, 1.1 pci.ids, NONE,
1.1 pciid2c.pl, NONE, 1.1 xf86PciData.h, NONE,
1.1 xf86PciIds.h, NONE, 1.1 xf86PciStdIds.h, NONE,
1.1 xf86PciStr.h, NONE, 1.1 xf86ScanPci.c, NONE,
1.1 xf86ScanPci.h, NONE, 1.1
- Next message: xserver/hw/xorg/vbe Makefile.am, NONE, 1.1 vbe.c, NONE, 1.1 vbe.h,
NONE, 1.1 vbeModes.c, NONE, 1.1 vbeModes.h, NONE,
1.1 vbe_module.c, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the xserver-commit
mailing list