diff options
author | George Sapountzis <gsap7@yahoo.gr> | 2006-10-31 16:44:10 +0200 |
---|---|---|
committer | George Sapountzis <gsap7@yahoo.gr> | 2007-02-05 19:32:08 +0200 |
commit | 67b240ddd4a6549a23885afc723b6efa7c52db4c (patch) | |
tree | 2da8d5150eceb03ed74d55ee38d350ecc03852c7 /src/atixv.c | |
parent | 4dac7896549392f7378cad9620618cec28f41a16 (diff) |
Consolidate atixv.c w/ atimach64xv.c, part 1.
Merge ATIXVInitializeAdaptor() in ATIMach64XVInitialiseAdaptor().
Diffstat (limited to 'src/atixv.c')
-rw-r--r-- | src/atixv.c | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/src/atixv.c b/src/atixv.c index ef86ec3d..476948d4 100644 --- a/src/atixv.c +++ b/src/atixv.c @@ -50,52 +50,6 @@ ATIXVFreeAdaptorInfo } /* - * ATIXVInitializeAdaptor -- - * - * This is called by the server's XVideo support layer to initialise an XVideo - * adapter. - */ -static int -ATIXVInitializeAdaptor -( - ScrnInfoPtr pScreenInfo, - XF86VideoAdaptorPtr **pppAdaptor -) -{ - ScreenPtr pScreen = screenInfo.screens[pScreenInfo->scrnIndex]; - ATIPtr pATI = ATIPTR(pScreenInfo); - XF86VideoAdaptorPtr *ppAdaptor = NULL; - int nAdaptor; - - { - nAdaptor = ATIMach64XVInitialiseAdaptor(pScreen, pScreenInfo, pATI, - &ppAdaptor); - } - - if (pppAdaptor) - *pppAdaptor = ppAdaptor; - else - ATIXVFreeAdaptorInfo(ppAdaptor, nAdaptor); - - return nAdaptor; -} - -/* - * ATIXVPreInit -- - * - * This function is called by ATIPreInit() to set up the environment required - * to support the XVideo extension. - */ -void -ATIXVPreInit -( - ATIPtr pATI -) -{ - (void)xf86XVRegisterGenericAdaptorDriver(ATIXVInitializeAdaptor); -} - -/* * ATIInitializeXVideo -- * * This function is called to initialise XVideo extension support on a screen. |