First import
[xorg_rtime.git] / xorg-server-1.4 / hw / dmx / doc / html / dmx__glxvisuals_8h-source.html
blob1885e30d7fe374dd20a8c008edcdf120d2cf34d8
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
5 <title>File Index</title>
6 <link href="doxygen.css" rel="stylesheet" type="text/css">
7 </head>
8 <body>
9 <!-- Generated by Doxygen 1.3.4 -->
10 <div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
11 <h1>dmx_glxvisuals.h</h1><div class="fragment"><pre>00001 <span class="comment">/*</span>
12 00002 <span class="comment">** License Applicability. Except to the extent portions of this file are</span>
13 00003 <span class="comment">** made subject to an alternative license as permitted in the SGI Free</span>
14 00004 <span class="comment">** Software License B, Version 1.1 (the "License"), the contents of this</span>
15 00005 <span class="comment">** file are subject only to the provisions of the License. You may not use</span>
16 00006 <span class="comment">** this file except in compliance with the License. You may obtain a copy</span>
17 00007 <span class="comment">** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600</span>
18 00008 <span class="comment">** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:</span>
19 00009 <span class="comment">**</span>
20 00010 <span class="comment">** http://oss.sgi.com/projects/FreeB</span>
21 00011 <span class="comment">**</span>
22 00012 <span class="comment">** Note that, as provided in the License, the Software is distributed on an</span>
23 00013 <span class="comment">** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS</span>
24 00014 <span class="comment">** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND</span>
25 00015 <span class="comment">** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A</span>
26 00016 <span class="comment">** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.</span>
27 00017 <span class="comment">**</span>
28 00018 <span class="comment">** Original Code. The Original Code is: OpenGL Sample Implementation,</span>
29 00019 <span class="comment">** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,</span>
30 00020 <span class="comment">** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.</span>
31 00021 <span class="comment">** Copyright in any portions created by third parties is as indicated</span>
32 00022 <span class="comment">** elsewhere herein. All Rights Reserved.</span>
33 00023 <span class="comment">**</span>
34 00024 <span class="comment">** Additional Notice Provisions: The application programming interfaces</span>
35 00025 <span class="comment">** established by SGI in conjunction with the Original Code are The</span>
36 00026 <span class="comment">** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released</span>
37 00027 <span class="comment">** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version</span>
38 00028 <span class="comment">** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X</span>
39 00029 <span class="comment">** Window System(R) (Version 1.3), released October 19, 1998. This software</span>
40 00030 <span class="comment">** was created using the OpenGL(R) version 1.2.1 Sample Implementation</span>
41 00031 <span class="comment">** published by SGI, but has not been independently verified as being</span>
42 00032 <span class="comment">** compliant with the OpenGL(R) version 1.2.1 Specification.</span>
43 00033 <span class="comment">**</span>
44 00034 <span class="comment">*/</span>
45 00035
46 00036 <span class="preprocessor">#ifndef _GLXVISUALS_H</span>
47 00037 <span class="preprocessor"></span><span class="preprocessor">#define _GLXVISUALS_H</span>
48 00038 <span class="preprocessor"></span>
49 00039 <span class="preprocessor">#include &lt;GL/glxint.h&gt;</span>
50 00040
51 <a name="l00042"></a><a class="code" href="structdmxGlxVisualPrivate.html">00042</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{
52 00043 <span class="keywordtype">int</span> x_visual_depth;
53 00044 <span class="keywordtype">int</span> x_visual_class;
54 00045 } <a class="code" href="structdmxGlxVisualPrivate.html">dmxGlxVisualPrivate</a>;
55 00046
56 00047 __GLXvisualConfig *GetGLXVisualConfigs(Display *dpy,
57 00048 <span class="keywordtype">int</span> screen,
58 00049 <span class="keywordtype">int</span> *nconfigs);
59 00050
60 00051 __GLXFBConfig *GetGLXFBConfigs(Display *dpy,
61 00052 <span class="keywordtype">int</span> glxMajorOpcode,
62 00053 <span class="keywordtype">int</span> *nconfigs);
63 00054
64 00055 __GLXvisualConfig *GetGLXVisualConfigsFromFBConfigs(__GLXFBConfig *fbconfigs,
65 00056 <span class="keywordtype">int</span> nfbconfigs,
66 00057 XVisualInfo *visuals,
67 00058 <span class="keywordtype">int</span> nvisuals,
68 00059 __GLXvisualConfig
69 00060 *glxConfigs,
70 00061 <span class="keywordtype">int</span> nGlxConfigs,
71 00062 <span class="keywordtype">int</span> *nconfigs);
72 00063
73 00064 <span class="preprocessor">#endif</span>
74 </pre></div> <hr>
75 <address>
76 <small>
77 Generated June 29, 2004 for <a
78 href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
79 <a href="http://www.doxygen.org/index.html">doxygen</a>
80 1.3.4.
81 </small>
82 </addres>
83 </hr>
84 </body>
85 </html>