6 |
#include <libmosaic/Mosaic.hxx> |
#include <libmosaic/Mosaic.hxx> |
7 |
#include <libtext/Text.hxx> |
#include <libtext/Text.hxx> |
8 |
|
|
|
#include <vector> |
|
9 |
#include <string> |
#include <string> |
10 |
|
|
11 |
/** A namespace which contains non-portable classes surrounding OpenGL. |
/** A namespace which contains non-portable classes surrounding OpenGL. |
12 |
*/ |
*/ |
13 |
namespace Os { |
namespace Os { |
14 |
|
|
|
using std::vector; |
|
15 |
using std::string; |
using std::string; |
16 |
|
|
17 |
|
|
109 |
|
|
110 |
|
|
111 |
|
|
112 |
/* GLX_ARB_get_proc_address moved to libos from libcallgl |
/* (WGL\APL\GLX)_ARB_get_proc_address moved to libos from libcallgl |
113 |
* because it is X-dependent. |
* because of it's os dependent. |
|
* |
|
|
* return value: |
|
|
* true in succes, false otherwise |
|
|
*/ |
|
|
bool saveExtendedProcAddress(string s); |
|
|
|
|
|
|
|
|
/* After the saveExtendedCall it can be executed. |
|
|
* Function address is in map. |
|
114 |
* |
* |
115 |
* return value: |
* What it does? There are some extended gl calls which need to be |
116 |
* true in succes, false otherwise |
* asked from the driver. |
117 |
*/ |
*/ |
118 |
// TYPES: |
void (* getExtendedProcAddress(string s))(void); |
|
const int FLOAT4 = 1; |
|
|
|
|
|
// prototype: |
|
|
bool runExtendedCallGL(vector<string> v, int arg_count, int type); |
|
119 |
|
|
120 |
} |
} |
121 |
|
|