Remove the waitSync from KdDisableScreen and push it off to drivers'

disableAccel hook, which is more correct anyway. This makes kdrive.c
    not have any knowledge of kaa, opening the way for using exa from
    kdrive.
This commit is contained in:
Eric Anholt 2006-02-15 03:20:55 +00:00
parent 0446aafa94
commit 50e2ff9a25
5 changed files with 19 additions and 3 deletions

View File

@ -1,3 +1,12 @@
2006-02-14 Eric Anholt <anholt@FreeBSD.org>
* hw/kdrive/mga/mgadraw.c: (mgaDrawDisable):
* hw/kdrive/src/kdrive.c: (KdDisableScreen):
Remove the waitSync from KdDisableScreen and push it off to drivers'
disableAccel hook, which is more correct anyway. This makes kdrive.c
not have any knowledge of kaa, opening the way for using exa from
kdrive.
2006-02-14 Eric Anholt <anholt@FreeBSD.org>
* GL/mesa/shader/slang/Makefile.am:

View File

@ -1,3 +1,11 @@
2006-02-14 Eric Anholt <anholt@FreeBSD.org>
* ati_draw.c: (ATIDrawDisable):
Remove the waitSync from KdDisableScreen and push it off to drivers'
disableAccel hook, which is more correct anyway. This makes kdrive.c
not have any knowledge of kaa, opening the way for using exa from
kdrive.
2006-02-09 Keith Packard <keithp@keithp.com>
reviewed by: Eric Anholt <anholt@FreeBSD.org>

View File

@ -897,7 +897,7 @@ ATIDrawEnable(ScreenPtr pScreen)
void
ATIDrawDisable(ScreenPtr pScreen)
{
kaaWaitSync(pScreen);
ATIDMATeardown(pScreen);
}

View File

@ -317,6 +317,7 @@ mgaDrawEnable (ScreenPtr pScreen)
void
mgaDrawDisable (ScreenPtr pScreen)
{
kaaWaitSync(pScreen);
}
void

View File

@ -38,7 +38,6 @@
#ifdef XV
#include "kxv.h"
#endif
#include "kaa.h"
#ifdef DPMSExtension
#include "dpmsproc.h"
@ -225,7 +224,6 @@ KdDisableScreen (ScreenPtr pScreen)
if (!pScreenPriv->enabled)
return;
kaaWaitSync (pScreen);
if (!pScreenPriv->closed)
KdSetRootClip (pScreen, FALSE);
KdDisableColormap (pScreen);