st/xorg: Standardise all function names defined in xorg_tracker.h

This commit is contained in:
Jakob Bornecrantz
2009-11-24 02:21:16 +01:00
parent 2946aea110
commit 26f9eeddf4
6 changed files with 19 additions and 20 deletions
+2 -2
View File
@@ -235,7 +235,7 @@ crtc_hide_cursor(xf86CrtcPtr crtc)
}
void
crtc_cursor_destroy(xf86CrtcPtr crtc)
xorg_crtc_cursor_destroy(xf86CrtcPtr crtc)
{
struct crtc_private *crtcp = crtc->driver_private;
@@ -279,7 +279,7 @@ static const xf86CrtcFuncsRec crtc_funcs = {
};
void
crtc_init(ScrnInfoPtr pScrn)
xorg_crtc_init(ScrnInfoPtr pScrn)
{
modesettingPtr ms = modesettingPTR(pScrn);
xf86CrtcPtr crtc;
+2 -2
View File
@@ -356,7 +356,7 @@ driCopyRegion(DrawablePtr pDraw, RegionPtr pRegion,
}
Bool
driScreenInit(ScreenPtr pScreen)
xorg_dri2_init(ScreenPtr pScreen)
{
ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
modesettingPtr ms = modesettingPTR(pScrn);
@@ -395,7 +395,7 @@ driScreenInit(ScreenPtr pScreen)
}
void
driCloseScreen(ScreenPtr pScreen)
xorg_dri2_close(ScreenPtr pScreen)
{
DRI2CloseScreen(pScreen);
}
@@ -402,8 +402,8 @@ PreInit(ScrnInfoPtr pScrn, int flags)
SaveHWState(pScrn);
crtc_init(pScrn);
output_init(pScrn);
xorg_crtc_init(pScrn);
xorg_output_init(pScrn);
if (!xf86InitialConfiguration(pScrn, TRUE)) {
xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "No valid modes.\n");
@@ -615,7 +615,7 @@ ScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
OPTION_2D_ACCEL, TRUE));
ms->debug_fallback = debug_get_bool_option("XORG_DEBUG_FALLBACK", TRUE);
xorg_init_video(pScreen);
xorg_xv_init(pScreen);
miInitializeBackingStore(pScreen);
xf86SetBackingStore(pScreen);
@@ -647,10 +647,8 @@ ScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
if (serverGeneration == 1)
xf86ShowUnusedOptions(pScrn->scrnIndex, pScrn->options);
#if 1
#ifdef DRI2
driScreenInit(pScreen);
#endif
xorg_dri2_init(pScreen);
#endif
return EnterVT(scrnIndex, 1);
@@ -689,7 +687,7 @@ LeaveVT(int scrnIndex, int flags)
for (o = 0; o < config->num_crtc; o++) {
xf86CrtcPtr crtc = config->crtc[o];
crtc_cursor_destroy(crtc);
xorg_crtc_cursor_destroy(crtc);
if (crtc->rotatedPixmap || crtc->rotatedData) {
crtc->funcs->shadow_destroy(crtc, crtc->rotatedPixmap,
@@ -769,7 +767,7 @@ CloseScreen(int scrnIndex, ScreenPtr pScreen)
LeaveVT(scrnIndex, 0);
}
#ifdef DRI2
driCloseScreen(pScreen);
xorg_dri2_close(pScreen);
#endif
pScreen->BlockHandler = ms->blockHandler;
@@ -179,7 +179,7 @@ static const xf86OutputFuncsRec output_funcs = {
};
void
output_init(ScrnInfoPtr pScrn)
xorg_output_init(ScrnInfoPtr pScrn)
{
modesettingPtr ms = modesettingPTR(pScrn);
xf86OutputPtr output;
@@ -141,33 +141,34 @@ xorg_exa_close(ScrnInfoPtr pScrn);
* xorg_dri2.c
*/
Bool
driScreenInit(ScreenPtr pScreen);
xorg_dri2_init(ScreenPtr pScreen);
void
driCloseScreen(ScreenPtr pScreen);
xorg_dri2_close(ScreenPtr pScreen);
/***********************************************************************
* xorg_crtc.c
*/
void
crtc_init(ScrnInfoPtr pScrn);
xorg_crtc_init(ScrnInfoPtr pScrn);
void
crtc_cursor_destroy(xf86CrtcPtr crtc);
xorg_crtc_cursor_destroy(xf86CrtcPtr crtc);
/***********************************************************************
* xorg_output.c
*/
void
output_init(ScrnInfoPtr pScrn);
xorg_output_init(ScrnInfoPtr pScrn);
/***********************************************************************
* xorg_xv.c
*/
void
xorg_init_video(ScreenPtr pScreen);
xorg_xv_init(ScreenPtr pScreen);
#endif /* _XORG_TRACKER_H_ */
+1 -1
View File
@@ -686,7 +686,7 @@ xorg_setup_textured_adapter(ScreenPtr pScreen)
}
void
xorg_init_video(ScreenPtr pScreen)
xorg_xv_init(ScreenPtr pScreen)
{
ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
/*modesettingPtr ms = modesettingPTR(pScrn);*/