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