1 /* $Xorg: XEVI.h,v 1.3 2000/08/18 04:05:44 coskrey Exp $ */ 2 /************************************************************ 3 Copyright (c) 1997 by Silicon Graphics Computer Systems, Inc. 4 Permission to use, copy, modify, and distribute this 5 software and its documentation for any purpose and without 6 fee is hereby granted, provided that the above copyright 7 notice appear in all copies and that both that copyright 8 notice and this permission notice appear in supporting 9 documentation, and that the name of Silicon Graphics not be 10 used in advertising or publicity pertaining to distribution 11 of the software without specific prior written permission. 12 Silicon Graphics makes no representation about the suitability 13 of this software for any purpose. It is provided "as is" 14 without any express or implied warranty. 15 SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS 16 SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 17 AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON 18 GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL 19 DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 20 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 21 OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH 22 THE 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 31 typedef 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 45 Bool XeviQueryExtension( 46 Display* /* dpy */ 47 ); 48 Status XeviQueryVersion( 49 Display* /* dpy */, 50 int* /* majorVersion */, 51 int* /* minorVersion */ 52 ); 53 Status 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 64