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:
parent
0446aafa94
commit
50e2ff9a25
|
@ -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>
|
2006-02-14 Eric Anholt <anholt@FreeBSD.org>
|
||||||
|
|
||||||
* GL/mesa/shader/slang/Makefile.am:
|
* GL/mesa/shader/slang/Makefile.am:
|
||||||
|
|
|
@ -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>
|
2006-02-09 Keith Packard <keithp@keithp.com>
|
||||||
|
|
||||||
reviewed by: Eric Anholt <anholt@FreeBSD.org>
|
reviewed by: Eric Anholt <anholt@FreeBSD.org>
|
||||||
|
|
|
@ -897,7 +897,7 @@ ATIDrawEnable(ScreenPtr pScreen)
|
||||||
void
|
void
|
||||||
ATIDrawDisable(ScreenPtr pScreen)
|
ATIDrawDisable(ScreenPtr pScreen)
|
||||||
{
|
{
|
||||||
|
kaaWaitSync(pScreen);
|
||||||
ATIDMATeardown(pScreen);
|
ATIDMATeardown(pScreen);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -317,6 +317,7 @@ mgaDrawEnable (ScreenPtr pScreen)
|
||||||
void
|
void
|
||||||
mgaDrawDisable (ScreenPtr pScreen)
|
mgaDrawDisable (ScreenPtr pScreen)
|
||||||
{
|
{
|
||||||
|
kaaWaitSync(pScreen);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -38,7 +38,6 @@
|
||||||
#ifdef XV
|
#ifdef XV
|
||||||
#include "kxv.h"
|
#include "kxv.h"
|
||||||
#endif
|
#endif
|
||||||
#include "kaa.h"
|
|
||||||
|
|
||||||
#ifdef DPMSExtension
|
#ifdef DPMSExtension
|
||||||
#include "dpmsproc.h"
|
#include "dpmsproc.h"
|
||||||
|
@ -225,7 +224,6 @@ KdDisableScreen (ScreenPtr pScreen)
|
||||||
|
|
||||||
if (!pScreenPriv->enabled)
|
if (!pScreenPriv->enabled)
|
||||||
return;
|
return;
|
||||||
kaaWaitSync (pScreen);
|
|
||||||
if (!pScreenPriv->closed)
|
if (!pScreenPriv->closed)
|
||||||
KdSetRootClip (pScreen, FALSE);
|
KdSetRootClip (pScreen, FALSE);
|
||||||
KdDisableColormap (pScreen);
|
KdDisableColormap (pScreen);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user