86 lines
		
	
	
		
			5.9 KiB
		
	
	
	
		
			HTML
		
	
	
	
			
		
		
	
	
			86 lines
		
	
	
		
			5.9 KiB
		
	
	
	
		
			HTML
		
	
	
	
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 | |
| <html>
 | |
|   <head>
 | |
|     <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
 | |
|     <title>File Index</title>
 | |
|     <link href="doxygen.css" rel="stylesheet" type="text/css">
 | |
|   </head>
 | |
|   <body>
 | |
| <!-- Generated by Doxygen 1.3.4 -->
 | |
| <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
 | |
| <h1>dmx_glxvisuals.h</h1><div class="fragment"><pre>00001 <span class="comment">/*</span>
 | |
| 00002 <span class="comment">** License Applicability. Except to the extent portions of this file are</span>
 | |
| 00003 <span class="comment">** made subject to an alternative license as permitted in the SGI Free</span>
 | |
| 00004 <span class="comment">** Software License B, Version 1.1 (the "License"), the contents of this</span>
 | |
| 00005 <span class="comment">** file are subject only to the provisions of the License. You may not use</span>
 | |
| 00006 <span class="comment">** this file except in compliance with the License. You may obtain a copy</span>
 | |
| 00007 <span class="comment">** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600</span>
 | |
| 00008 <span class="comment">** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:</span>
 | |
| 00009 <span class="comment">**</span>
 | |
| 00010 <span class="comment">** http://oss.sgi.com/projects/FreeB</span>
 | |
| 00011 <span class="comment">**</span>
 | |
| 00012 <span class="comment">** Note that, as provided in the License, the Software is distributed on an</span>
 | |
| 00013 <span class="comment">** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS</span>
 | |
| 00014 <span class="comment">** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND</span>
 | |
| 00015 <span class="comment">** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A</span>
 | |
| 00016 <span class="comment">** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.</span>
 | |
| 00017 <span class="comment">**</span>
 | |
| 00018 <span class="comment">** Original Code. The Original Code is: OpenGL Sample Implementation,</span>
 | |
| 00019 <span class="comment">** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,</span>
 | |
| 00020 <span class="comment">** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.</span>
 | |
| 00021 <span class="comment">** Copyright in any portions created by third parties is as indicated</span>
 | |
| 00022 <span class="comment">** elsewhere herein. All Rights Reserved.</span>
 | |
| 00023 <span class="comment">**</span>
 | |
| 00024 <span class="comment">** Additional Notice Provisions: The application programming interfaces</span>
 | |
| 00025 <span class="comment">** established by SGI in conjunction with the Original Code are The</span>
 | |
| 00026 <span class="comment">** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released</span>
 | |
| 00027 <span class="comment">** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version</span>
 | |
| 00028 <span class="comment">** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X</span>
 | |
| 00029 <span class="comment">** Window System(R) (Version 1.3), released October 19, 1998. This software</span>
 | |
| 00030 <span class="comment">** was created using the OpenGL(R) version 1.2.1 Sample Implementation</span>
 | |
| 00031 <span class="comment">** published by SGI, but has not been independently verified as being</span>
 | |
| 00032 <span class="comment">** compliant with the OpenGL(R) version 1.2.1 Specification.</span>
 | |
| 00033 <span class="comment">**</span>
 | |
| 00034 <span class="comment">*/</span>
 | |
| 00035 
 | |
| 00036 <span class="preprocessor">#ifndef _GLXVISUALS_H</span>
 | |
| 00037 <span class="preprocessor"></span><span class="preprocessor">#define _GLXVISUALS_H</span>
 | |
| 00038 <span class="preprocessor"></span>
 | |
| 00039 <span class="preprocessor">#include <GL/glxint.h></span>
 | |
| 00040 
 | |
| <a name="l00042"></a><a class="code" href="structdmxGlxVisualPrivate.html">00042</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{
 | |
| 00043     <span class="keywordtype">int</span> x_visual_depth;
 | |
| 00044     <span class="keywordtype">int</span> x_visual_class;
 | |
| 00045 } <a class="code" href="structdmxGlxVisualPrivate.html">dmxGlxVisualPrivate</a>;
 | |
| 00046 
 | |
| 00047 __GLXvisualConfig *GetGLXVisualConfigs(Display *dpy,
 | |
| 00048                                        <span class="keywordtype">int</span> screen,
 | |
| 00049                                        <span class="keywordtype">int</span> *nconfigs);
 | |
| 00050 
 | |
| 00051 __GLXFBConfig *GetGLXFBConfigs(Display *dpy,
 | |
| 00052                                <span class="keywordtype">int</span> glxMajorOpcode,
 | |
| 00053                                <span class="keywordtype">int</span> *nconfigs);
 | |
| 00054 
 | |
| 00055 __GLXvisualConfig *GetGLXVisualConfigsFromFBConfigs(__GLXFBConfig *fbconfigs, 
 | |
| 00056                                                     <span class="keywordtype">int</span> nfbconfigs, 
 | |
| 00057                                                     XVisualInfo *visuals,
 | |
| 00058                                                     <span class="keywordtype">int</span> nvisuals,
 | |
| 00059                                                     __GLXvisualConfig
 | |
| 00060                                                     *glxConfigs,
 | |
| 00061                                                     <span class="keywordtype">int</span> nGlxConfigs,
 | |
| 00062                                                     <span class="keywordtype">int</span> *nconfigs);
 | |
| 00063 
 | |
| 00064 <span class="preprocessor">#endif</span>
 | |
| </pre></div>    <hr>
 | |
|     <address>
 | |
|       <small>
 | |
|         Generated June 29, 2004 for <a
 | |
|         href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
 | |
|         <a href="http://www.doxygen.org/index.html">doxygen</a>
 | |
|         1.3.4.
 | |
|       </small>
 | |
|     </addres>
 | |
|     </hr>
 | |
|   </body>
 | |
| </html>
 |