1 | <html> |
---|
2 | <head> |
---|
3 | <title>OgreGLXGLSupport.h Source File - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
4 | <link type="text/css" rel="stylesheet" href="style.css"> |
---|
5 | </head> |
---|
6 | |
---|
7 | <body> |
---|
8 | <!-- Generated by Doxygen 1.3.6 --> |
---|
9 | <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
---|
10 | <h1>OgreGLXGLSupport.h</h1><a href="OgreGLXGLSupport_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef OGRE_GLXGLSupport_H</span> |
---|
11 | 00002 <span class="preprocessor"></span><span class="preprocessor">#define OGRE_GLXGLSupport_H</span> |
---|
12 | 00003 <span class="preprocessor"></span> |
---|
13 | 00004 <span class="preprocessor">#include "<a class="code" href="OgreGLSupport_8h.html">OgreGLSupport.h</a>"</span> |
---|
14 | 00005 |
---|
15 | 00006 <span class="preprocessor">#include <X11/Xlib.h></span> |
---|
16 | 00007 <span class="preprocessor">#include <X11/keysym.h></span> |
---|
17 | 00008 <span class="preprocessor">#include <X11/extensions/xf86vmode.h></span> |
---|
18 | 00009 <span class="preprocessor">#include <GL/gl.h></span> |
---|
19 | 00010 <span class="preprocessor">#include <GL/glu.h></span> |
---|
20 | 00011 <span class="preprocessor">#include <GL/glx.h></span> |
---|
21 | 00012 |
---|
22 | 00013 <span class="keyword">namespace </span>Ogre { |
---|
23 | 00014 |
---|
24 | <a name="l00015"></a><a class="code" href="classOgre_1_1GLXGLSupport.html">00015</a> <span class="keyword">class </span><a class="code" href="classOgre_1_1GLXGLSupport.html">GLXGLSupport</a> : <span class="keyword">public</span> <a class="code" href="classOgre_1_1GLSupport.html">GLSupport</a> { |
---|
25 | 00016 <span class="keyword">public</span>: |
---|
26 | 00017 <a class="code" href="classOgre_1_1GLXGLSupport.html#Ogre_1_1GLXGLSupporta0">GLXGLSupport</a>(); |
---|
27 | 00018 <a class="code" href="classOgre_1_1GLXGLSupport.html#Ogre_1_1GLXGLSupporta1">~GLXGLSupport</a>(); |
---|
28 | 00019 |
---|
29 | 00025 <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1GLXGLSupport.html#Ogre_1_1GLXGLSupporta2">addConfig</a>(<span class="keywordtype">void</span>); |
---|
30 | 00029 <a class="code" href="namespaceOgre.html#a471">String</a> <a class="code" href="classOgre_1_1GLXGLSupport.html#Ogre_1_1GLXGLSupporta3">validateConfig</a>(<span class="keywordtype">void</span>); |
---|
31 | 00030 |
---|
32 | 00032 <a class="code" href="classOgre_1_1RenderWindow.html">RenderWindow</a>* <a class="code" href="classOgre_1_1GLXGLSupport.html#Ogre_1_1GLXGLSupporta4">createWindow</a>(<span class="keywordtype">bool</span> autoCreateWindow, <a class="code" href="classOgre_1_1GLRenderSystem.html">GLRenderSystem</a>* renderSystem, <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>& windowTitle); |
---|
33 | 00033 |
---|
34 | 00035 <span class="keyword">virtual</span> <a class="code" href="classOgre_1_1RenderWindow.html">RenderWindow</a>* <a class="code" href="classOgre_1_1GLXGLSupport.html#Ogre_1_1GLXGLSupporta5">newWindow</a>(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a> &name, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> width, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> height, |
---|
35 | 00036 <span class="keywordtype">bool</span> fullScreen, <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a76">NameValuePairList</a> *miscParams = 0); |
---|
36 | 00037 |
---|
37 | 00038 |
---|
38 | 00042 <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1GLXGLSupport.html#Ogre_1_1GLXGLSupporta6">start</a>(); |
---|
39 | 00046 <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1GLXGLSupport.html#Ogre_1_1GLXGLSupporta7">stop</a>(); |
---|
40 | 00047 |
---|
41 | 00051 <span class="keywordtype">void</span>* <a class="code" href="classOgre_1_1GLXGLSupport.html#Ogre_1_1GLXGLSupporta8">getProcAddress</a>(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>& procname); |
---|
42 | 00052 |
---|
43 | 00053 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classOgre_1_1GLXGLSupport.html#Ogre_1_1GLXGLSupporta9">supportsPBuffers</a>(); |
---|
44 | 00054 <span class="keyword">virtual</span> <a class="code" href="classOgre_1_1GLPBuffer.html">GLPBuffer</a> *<a class="code" href="classOgre_1_1GLXGLSupport.html#Ogre_1_1GLXGLSupporta10">createPBuffer</a>(<a class="code" href="namespaceOgre.html#a673">PixelComponentType</a> format, size_t width, size_t height); |
---|
45 | 00055 <span class="keyword">private</span>: |
---|
46 | 00056 <span class="comment">// X display</span> |
---|
47 | <a name="l00057"></a><a class="code" href="classOgre_1_1GLXGLSupport.html#Ogre_1_1GLXGLSupportr0">00057</a> Display *mDisplay; |
---|
48 | 00058 } |
---|
49 | 00059 ; <span class="comment">// class GLXGLSupport</span> |
---|
50 | 00060 |
---|
51 | 00061 } |
---|
52 | 00062 ; <span class="comment">// namespace Ogre</span> |
---|
53 | 00063 |
---|
54 | 00064 <span class="preprocessor">#endif // OGRE_GLXGLSupport_H</span> |
---|
55 | </pre></div><hr> |
---|
56 | <p> |
---|
57 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
58 | <!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/> |
---|
59 | This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/> |
---|
60 | <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
---|
61 | <Work rdf:about=""> |
---|
62 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
63 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
64 | </Work> |
---|
65 | <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> --> |
---|
66 | |
---|
67 | Last modified Sun Mar 12 14:37:41 2006 |
---|
68 | </p> |
---|
69 | </body> |
---|
70 | </html> |
---|