Initial commit of XGL build infrastructure and XGL code changes for

building within the xorg server tree. Requires additional, uncommitted
    dix changes to successfully build, and successful running is still yet
    to happen.
This commit is contained in:
Eric Anholt 2005-12-28 10:31:46 +00:00
commit b1b40ed6a8
18 changed files with 187 additions and 88 deletions

View file

@ -25,7 +25,7 @@
#include "xglx.h"
static xglScreenInfoRec xglxScreenInfo = {
xglScreenInfoRec xglScreenInfo = {
NULL, 0, 0, 0, 0,
DEFAULT_GEOMETRY_DATA_TYPE,
DEFAULT_GEOMETRY_USAGE,
@ -53,7 +53,7 @@ InitOutput (ScreenInfo *pScreenInfo,
}
#endif
xglxInitOutput (&xglxScreenInfo, pScreenInfo, argc, argv);
xglxInitOutput (pScreenInfo, argc, argv);
}
Bool
@ -73,7 +73,7 @@ void
InitInput (int argc,
char **argv)
{
xglxInitInput (&xglxScreenInfo, argc, argv);
xglxInitInput (argc, argv);
}
void
@ -105,11 +105,11 @@ ddxProcessArgument (int argc,
}
#endif
skip = xglProcessArgument (&xglxScreenInfo, argc, argv, i);
skip = xglProcessArgument (argc, argv, i);
if (skip)
return skip;
return xglxProcessArgument (&xglxScreenInfo, argc, argv, i);
return xglxProcessArgument (argc, argv, i);
}
void
@ -129,3 +129,7 @@ OsVendorInit (void)
{
xglxOsVendorInit ();
}
void ddxInitGlobals(void)
{
}