diff options
Diffstat (limited to 'X11/extensions/Xdbe.h')
-rw-r--r-- | X11/extensions/Xdbe.h | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/X11/extensions/Xdbe.h b/X11/extensions/Xdbe.h index f9205a228..14ce53d35 100644 --- a/X11/extensions/Xdbe.h +++ b/X11/extensions/Xdbe.h @@ -1,4 +1,3 @@ -/* $Xorg: Xdbe.h,v 1.3 2000/08/18 04:05:45 coskrey Exp $ */ /****************************************************************************** * * Copyright (c) 1994, 1995 Hewlett-Packard Company @@ -30,25 +29,28 @@ * Header file for Xlib-related DBE * *****************************************************************************/ -/* $XFree86: xc/include/extensions/Xdbe.h,v 3.2 2001/08/01 00:44:35 tsi Exp $ */ #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; |