[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/gfx/libos Os.hxx
From: |
Matti Katila |
Subject: |
[Gzz-commits] gzz/gfx/libos Os.hxx |
Date: |
Thu, 12 Sep 2002 10:09:27 -0400 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Matti Katila <address@hidden> 02/09/12 10:09:26
Modified files:
gfx/libos : Os.hxx
Log message:
fix framework for extended gl calls
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/libos/Os.hxx.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
Patches:
Index: gzz/gfx/libos/Os.hxx
diff -c gzz/gfx/libos/Os.hxx:1.4 gzz/gfx/libos/Os.hxx:1.5
*** gzz/gfx/libos/Os.hxx:1.4 Thu Sep 12 01:28:26 2002
--- gzz/gfx/libos/Os.hxx Thu Sep 12 10:09:26 2002
***************
*** 6,19 ****
#include <libmosaic/Mosaic.hxx>
#include <libtext/Text.hxx>
- #include <vector>
#include <string>
/** A namespace which contains non-portable classes surrounding OpenGL.
*/
namespace Os {
- using std::vector;
using std::string;
--- 6,17 ----
***************
*** 111,136 ****
! /* GLX_ARB_get_proc_address moved to libos from libcallgl
! * because it is X-dependent.
! *
! * return value:
! * true in succes, false otherwise
! */
! bool saveExtendedProcAddress(string s);
!
!
! /* After the saveExtendedCall it can be executed.
! * Function address is in map.
*
! * return value:
! * true in succes, false otherwise
! */
! // TYPES:
! const int FLOAT4 = 1;
!
! // prototype:
! bool runExtendedCallGL(vector<string> v, int arg_count, int type);
}
--- 109,121 ----
! /* (WGL\APL\GLX)_ARB_get_proc_address moved to libos from libcallgl
! * because of it's os dependent.
*
! * What it does? There are some extended gl calls which need to be
! * asked from the driver.
! */
! void (* getExtendedProcAddress(string s))(void);
}