aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/dbe/dbestruct.h
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/dbe/dbestruct.h')
-rw-r--r--xorg-server/dbe/dbestruct.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/xorg-server/dbe/dbestruct.h b/xorg-server/dbe/dbestruct.h
index 641f209da..002ffbeb2 100644
--- a/xorg-server/dbe/dbestruct.h
+++ b/xorg-server/dbe/dbestruct.h
@@ -37,10 +37,24 @@
/* INCLUDES */
#define NEED_DBE_PROTOCOL
-#include <X11/extensions/Xdbeproto.h>
+#include <X11/extensions/dbeproto.h>
#include "windowstr.h"
#include "privates.h"
+typedef struct
+{
+ VisualID visual; /* one visual ID that supports double-buffering */
+ int depth; /* depth of visual in bits */
+ int perflevel; /* performance level of visual */
+}
+XdbeVisualInfo;
+
+typedef struct
+{
+ int count; /* number of items in visual_depth */
+ XdbeVisualInfo *visinfo; /* list of visuals & depths for scrn */
+}
+XdbeScreenVisualInfo;
/* DEFINES */
@@ -74,7 +88,7 @@
/* Marker for free elements in the buffer ID array. */
#define DBE_FREE_ID_ELEMENT 0
-extern void DbeExtensionInit (void);
+extern _X_EXPORT void DbeExtensionInit (void);
/* TYPEDEFS */