diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-05-19 09:33:41 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-05-19 09:35:41 -0700 |
commit | c09e52d10e3bdc6af8c72757ce17527fef6143a3 (patch) | |
tree | c602325801b8d4bdc3e447cbafed6b7bbf976bf5 /src/apm.h | |
parent | 0d1874d2eb9a5daf85b323f093e079d825436195 (diff) |
Remove XAA support
Mostly done via unifdef -UHAVE_XAA_H, followed by minor manual editing
Since recent commits require xserver-1.18.0 or later to build against,
there's no reason leaving behind big chunks of code that can only build
against the XAA support removed in xserver-1.13.0 (released in 2012).
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-apm/-/merge_requests/7>
Diffstat (limited to 'src/apm.h')
-rw-r--r-- | src/apm.h | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -22,11 +22,6 @@ #include "fb.h" -/* Drivers using the XAA interface ... */ -#ifdef HAVE_XAA_H -#include "xaa.h" -#include "xaalocal.h" -#endif #include "xf86Cursor.h" #include "xf86fbman.h" @@ -121,9 +116,6 @@ typedef struct { int MaxClock; /* Max ramdac clock */ ApmFBLayout CurrentLayout, SavedLayout; EntityInfoPtr pEnt; -#ifdef HAVE_XAA_H - XAAInfoRecPtr AccelInfoRec, DGAXAAInfo; -#endif xf86CursorInfoPtr CursorInfoRec; int DGAactive, numDGAModes; DGAModePtr DGAModes; @@ -133,13 +125,6 @@ typedef struct { Bool apmTransparency, apmClip, ShadowFB, I2C; int rop, Bg8x8, Fg8x8; I2CBusPtr I2CPtr; -#ifdef HAVE_XAA_H - struct ApmStippleCacheRec { - XAACacheInfoRec apmStippleCache; - FBAreaPtr area; - unsigned int apmStippleCached:1; - } apmCache[APM_CACHE_NUMBER]; -#endif int apmCachePtr; unsigned char regcurr[0x54]; ScreenPtr pScreen; @@ -221,9 +206,6 @@ extern Bool ApmI2CInit(ScrnInfoPtr pScrn); extern void XFree86RushExtensionInit(ScreenPtr pScreen); extern void ApmInitVideo(ScreenPtr pScreen); extern void ApmInitVideo_IOP(ScreenPtr pScreen); -#ifdef HAVE_XAA_H -extern void ApmSetupXAAInfo(ApmPtr pApm, XAAInfoRecPtr pXAAinfo); -#endif extern Bool ApmSwitchMode(SWITCH_MODE_ARGS_DECL); extern void ApmAdjustFrame(ADJUST_FRAME_ARGS_DECL); extern void ApmHWCursorReserveSpace(ApmPtr pApm); |