blob: 5fb53c4bb706d54767649e274eb5388ea7973c2b [file] [log] [blame]
David 'Digit' Turner1b0544d2014-03-27 13:51:24 +01001/* $Xorg: XEVI.h,v 1.3 2000/08/18 04:05:44 coskrey Exp $ */
2/************************************************************
3Copyright (c) 1997 by Silicon Graphics Computer Systems, Inc.
4Permission to use, copy, modify, and distribute this
5software and its documentation for any purpose and without
6fee is hereby granted, provided that the above copyright
7notice appear in all copies and that both that copyright
8notice and this permission notice appear in supporting
9documentation, and that the name of Silicon Graphics not be
10used in advertising or publicity pertaining to distribution
11of the software without specific prior written permission.
12Silicon Graphics makes no representation about the suitability
13of this software for any purpose. It is provided "as is"
14without any express or implied warranty.
15SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
16SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
17AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
18GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
19DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
20DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
21OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
22THE USE OR PERFORMANCE OF THIS SOFTWARE.
23********************************************************/
24/* $XFree86$ */
25
26#ifndef _XEVI_H_
27#define _XEVI_H_
28#include <X11/Xfuncproto.h>
29#include <X11/extensions/EVI.h>
30
31typedef struct {
32 VisualID core_visual_id;
33 int screen;
34 int level;
35 unsigned int transparency_type;
36 unsigned int transparency_value;
37 unsigned int min_hw_colormaps;
38 unsigned int max_hw_colormaps;
39 unsigned int num_colormap_conflicts;
40 VisualID* colormap_conflicts;
41} ExtendedVisualInfo;
42
43_XFUNCPROTOBEGIN
44
45Bool XeviQueryExtension(
46 Display* /* dpy */
47);
48Status XeviQueryVersion(
49 Display* /* dpy */,
50 int* /* majorVersion */,
51 int* /* minorVersion */
52);
53Status XeviGetVisualInfo(
54 Display* /* dpy */,
55 VisualID* /* visual_query */,
56 int /* nVisual_query */,
57 ExtendedVisualInfo** /* extendedVisualInfo_return */,
58 int* /* nInfo_return */
59);
60
61_XFUNCPROTOEND
62
63#endif