summaryrefslogtreecommitdiff
path: root/exa/exa_priv.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2006-02-16 00:14:11 +0000
committerEric Anholt <anholt@freebsd.org>2006-02-16 00:14:11 +0000
commitdc0354104cb4057dfcc7b2ccb8e2ae8474d70b15 (patch)
treee1badf347bf977fa1631f90a7997a0398c842639 /exa/exa_priv.h
parentc170aa830d0ce3dbff6b30081e04c3f91bf921be (diff)
Move EXA implementation up to the top level and remove its XFree86
dependencies. It was nearly abstract enough already to be used by multiple DDXes. This will be useful for EXA development through providing a fake acceleration implementation within Xephyr, so that testing can be done on new EXA code without worrying about buggy drivers.
Diffstat (limited to 'exa/exa_priv.h')
-rw-r--r--exa/exa_priv.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/exa/exa_priv.h b/exa/exa_priv.h
index 460c4da81..25bbbde5e 100644
--- a/exa/exa_priv.h
+++ b/exa/exa_priv.h
@@ -26,8 +26,8 @@
#ifndef EXAPRIV_H
#define EXAPRIV_H
-#ifdef HAVE_XORG_CONFIG_H
-#include <xorg-config.h>
+#ifdef HAVE_DIX_CONFIG_H
+#include <dix-config.h>
#endif
#include "exa.h"
@@ -93,8 +93,6 @@ typedef struct {
CompositeProcPtr SavedComposite;
GlyphsProcPtr SavedGlyphs;
#endif
- EnableDisableFBAccessProcPtr SavedEnableDisableFBAccess;
- Bool wrappedEnableDisableFB;
Bool swappedOut;
} ExaScreenPrivRec, *ExaScreenPrivPtr;
@@ -143,6 +141,11 @@ typedef struct {
unsigned int size;
} ExaPixmapPrivRec, *ExaPixmapPrivPtr;
+/**
+ * exaDDXDriverInit must be implemented by the DDX using EXA, and is the place
+ * to set EXA options or hook in screen functions to handle using EXA as the AA.
+ */
+void exaDDXDriverInit (ScreenPtr pScreen);
/* exaasync.c */
void
@@ -281,9 +284,6 @@ ExaOffscreenSwapIn (ScreenPtr pScreen);
void
ExaOffscreenFini (ScreenPtr pScreen);
-void
-exaEnableDisableFBAccess (int index, Bool enable);
-
/* exa.c */
void
exaDrawableUseScreen(DrawablePtr pDrawable);