fixup damage ext
This commit is contained in:
parent
3463c0b56e
commit
00bf3ba529
|
@ -48,11 +48,7 @@
|
||||||
#include "micmap.h"
|
#include "micmap.h"
|
||||||
|
|
||||||
#include "rootlessCommon.h"
|
#include "rootlessCommon.h"
|
||||||
|
|
||||||
#ifdef DAMAGE
|
|
||||||
#include "damage.h"
|
#include "damage.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "nonsdk_extinit.h"
|
#include "nonsdk_extinit.h"
|
||||||
#include "extinit_priv.h"
|
#include "extinit_priv.h"
|
||||||
|
|
||||||
|
@ -439,12 +435,10 @@ have_depth:
|
||||||
static Bool
|
static Bool
|
||||||
xprSetupScreen(int index, ScreenPtr pScreen)
|
xprSetupScreen(int index, ScreenPtr pScreen)
|
||||||
{
|
{
|
||||||
#ifdef DAMAGE
|
|
||||||
// The Damage extension needs to wrap underneath the
|
// The Damage extension needs to wrap underneath the
|
||||||
// generic rootless layer, so do it now.
|
// generic rootless layer, so do it now.
|
||||||
if (!DamageSetup(pScreen))
|
if (!DamageSetup(pScreen))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
#endif
|
|
||||||
|
|
||||||
// Initialize generic rootless code
|
// Initialize generic rootless code
|
||||||
if (!xprInit(pScreen))
|
if (!xprInit(pScreen))
|
||||||
|
|
|
@ -54,10 +54,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
#include "extnsionst.h"
|
#include "extnsionst.h"
|
||||||
|
|
||||||
extern _X_EXPORT Bool noCompositeExtension;
|
extern _X_EXPORT Bool noCompositeExtension;
|
||||||
|
|
||||||
#ifdef DAMAGE
|
|
||||||
extern _X_EXPORT Bool noDamageExtension;
|
extern _X_EXPORT Bool noDamageExtension;
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(DBE)
|
#if defined(DBE)
|
||||||
extern _X_EXPORT Bool noDbeExtension;
|
extern _X_EXPORT Bool noDbeExtension;
|
||||||
|
|
|
@ -199,7 +199,6 @@ endif
|
||||||
conf_data.set('UNIXCONN', host_machine.system() != 'windows' ? '1' : false)
|
conf_data.set('UNIXCONN', host_machine.system() != 'windows' ? '1' : false)
|
||||||
conf_data.set('IPv6', build_ipv6 ? '1' : false)
|
conf_data.set('IPv6', build_ipv6 ? '1' : false)
|
||||||
|
|
||||||
conf_data.set('DAMAGE', '1')
|
|
||||||
conf_data.set('DBE', '1')
|
conf_data.set('DBE', '1')
|
||||||
conf_data.set('DGA', build_dga ? '1' : false)
|
conf_data.set('DGA', build_dga ? '1' : false)
|
||||||
conf_data.set('DPMSExtension', build_dpms ? '1' : false)
|
conf_data.set('DPMSExtension', build_dpms ? '1' : false)
|
||||||
|
|
|
@ -126,9 +126,7 @@ static const ExtensionModule staticExtensions[] = {
|
||||||
{RRExtensionInit, "RANDR", &noRRExtension},
|
{RRExtensionInit, "RANDR", &noRRExtension},
|
||||||
#endif
|
#endif
|
||||||
{CompositeExtensionInit, "COMPOSITE", &noCompositeExtension},
|
{CompositeExtensionInit, "COMPOSITE", &noCompositeExtension},
|
||||||
#ifdef DAMAGE
|
|
||||||
{DamageExtensionInit, "DAMAGE", &noDamageExtension},
|
{DamageExtensionInit, "DAMAGE", &noDamageExtension},
|
||||||
#endif
|
|
||||||
#ifdef SCREENSAVER
|
#ifdef SCREENSAVER
|
||||||
{ScreenSaverExtensionInit, "MIT-SCREEN-SAVER", &noScreenSaverExtension},
|
{ScreenSaverExtensionInit, "MIT-SCREEN-SAVER", &noScreenSaverExtension},
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -119,12 +119,9 @@ __stdcall unsigned long GetTickCount(void);
|
||||||
#include "dixstruct_priv.h"
|
#include "dixstruct_priv.h"
|
||||||
|
|
||||||
Bool noTestExtensions;
|
Bool noTestExtensions;
|
||||||
|
|
||||||
Bool noCompositeExtension = FALSE;
|
Bool noCompositeExtension = FALSE;
|
||||||
|
|
||||||
#ifdef DAMAGE
|
|
||||||
Bool noDamageExtension = FALSE;
|
Bool noDamageExtension = FALSE;
|
||||||
#endif
|
|
||||||
#ifdef DBE
|
#ifdef DBE
|
||||||
Bool noDbeExtension = FALSE;
|
Bool noDbeExtension = FALSE;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue