aboutsummaryrefslogtreecommitdiff
path: root/X11/extensions/Xdbe.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-05-27 08:08:37 +0000
committermarha <marha@users.sourceforge.net>2010-05-27 08:08:37 +0000
commit958dcdff6d845fcff20a414bd28be8ee2ced8c6c (patch)
tree3bc998a5af389cd1357dd672d96828573025cd0a /X11/extensions/Xdbe.h
parent9b02c06e9c08d3d537d0a6fed3304b2146d49511 (diff)
parentbc4f49f9a9eccb73bc2c5610295febaf4b14559e (diff)
downloadvcxsrv-958dcdff6d845fcff20a414bd28be8ee2ced8c6c.tar.gz
vcxsrv-958dcdff6d845fcff20a414bd28be8ee2ced8c6c.tar.bz2
vcxsrv-958dcdff6d845fcff20a414bd28be8ee2ced8c6c.zip
svn merge ^/branches/released .
Diffstat (limited to 'X11/extensions/Xdbe.h')
-rw-r--r--X11/extensions/Xdbe.h24
1 files changed, 14 insertions, 10 deletions
diff --git a/X11/extensions/Xdbe.h b/X11/extensions/Xdbe.h
index f9205a228..390738d78 100644
--- a/X11/extensions/Xdbe.h
+++ b/X11/extensions/Xdbe.h
@@ -35,20 +35,24 @@
#ifndef XDBE_H
#define XDBE_H
-
-/* INCLUDES */
-
#include <X11/Xfuncproto.h>
-#include <X11/extensions/Xdbeproto.h>
-
+#include <X11/extensions/dbe.h>
-/* DEFINES */
-
-/* Errors */
-#define XdbeBadBuffer 0
+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;
-/* TYPEDEFS */
typedef Drawable XdbeBackBuffer;