6 |
#include <libmosaic/Mosaic.hxx> |
#include <libmosaic/Mosaic.hxx> |
7 |
#include <libtext/Text.hxx> |
#include <libtext/Text.hxx> |
8 |
|
|
9 |
|
#include <vector> |
10 |
|
#include <string> |
11 |
|
|
12 |
/** A namespace which contains non-portable classes surrounding OpenGL. |
/** A namespace which contains non-portable classes surrounding OpenGL. |
13 |
*/ |
*/ |
14 |
namespace Os { |
namespace Os { |
15 |
|
|
16 |
|
using std::vector; |
17 |
|
using std::string; |
18 |
|
|
19 |
|
|
20 |
class Image { |
class Image { |
21 |
public: |
public: |
22 |
const int w, h; |
const int w, h; |
108 |
|
|
109 |
|
|
110 |
class Problem { }; |
class Problem { }; |
111 |
|
|
112 |
|
|
113 |
|
|
114 |
|
/* GLX_ARB_get_proc_address moved to libos from libcallgl |
115 |
|
* because it is X-dependent. |
116 |
|
* |
117 |
|
* return value: |
118 |
|
* true in succes, false otherwise |
119 |
|
*/ |
120 |
|
bool saveExtendedProcAddress(string s); |
121 |
|
|
122 |
|
|
123 |
|
/* After the saveExtendedCall it can be executed. |
124 |
|
* Function address is in map. |
125 |
|
* |
126 |
|
* return value: |
127 |
|
* true in succes, false otherwise |
128 |
|
*/ |
129 |
|
// TYPES: |
130 |
|
const int FLOAT4 = 1; |
131 |
|
|
132 |
|
// prototype: |
133 |
|
bool runExtendedCallGL(vector<string> v, int arg_count, int type); |
134 |
|
|
135 |
} |
} |
136 |
|
|
137 |
|
|