projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
regenerate from gl.h
[mesa.git]
/
include
/
GL
/
svgamesa.h
diff --git
a/include/GL/svgamesa.h
b/include/GL/svgamesa.h
index 9625a5b59ab26a8ec90ed1f8d8125856cff1c1ff..67c0e4c5c65fe5c7667ccce5418cdcaa4bfae5e5 100644
(file)
--- a/
include/GL/svgamesa.h
+++ b/
include/GL/svgamesa.h
@@
-1,9
+1,7
@@
-/* $Id: svgamesa.h,v 1.1 1999/08/19 00:55:40 jtg Exp $ */
-
/*
* Mesa 3-D graphics library
/*
* Mesa 3-D graphics library
- * Version:
3
.0
- * Copyright (C) 1995-
1998
Brian Paul
+ * Version:
4
.0
+ * Copyright (C) 1995-
2001
Brian Paul
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@
-21,18
+19,6
@@
*/
*/
-/*
- * $Log: svgamesa.h,v $
- * Revision 1.1 1999/08/19 00:55:40 jtg
- * Initial revision
- *
- * Revision 3.0 1998/02/20 05:07:24 brianp
- * initial rev
- *
- */
-
-
-
/*
* SVGA/Mesa interface for Linux.
*/
/*
* SVGA/Mesa interface for Linux.
*/
@@
-64,7
+50,7
@@
#define SVGAMESA_H
#define SVGAMESA_H
-#define SVGAMESA_MAJOR_VERSION
3
+#define SVGAMESA_MAJOR_VERSION
4
#define SVGAMESA_MINOR_VERSION 0
#define SVGAMESA_MINOR_VERSION 0
@@
-87,16
+73,21
@@
typedef struct svgamesa_context *SVGAMesaContext;
/*
* doubleBuffer flag new in version 2.4
*/
/*
* doubleBuffer flag new in version 2.4
*/
+extern int SVGAMesaInit( int GraphMode );
+
+extern int SVGAMesaClose( void );
+
extern SVGAMesaContext SVGAMesaCreateContext( GLboolean doubleBuffer );
extern void SVGAMesaDestroyContext( SVGAMesaContext ctx );
extern void SVGAMesaMakeCurrent( SVGAMesaContext ctx );
extern SVGAMesaContext SVGAMesaCreateContext( GLboolean doubleBuffer );
extern void SVGAMesaDestroyContext( SVGAMesaContext ctx );
extern void SVGAMesaMakeCurrent( SVGAMesaContext ctx );
-extern SVGAMesaContext SVGAMesaGetCurrentContext( void );
-
extern void SVGAMesaSwapBuffers( void );
extern void SVGAMesaSwapBuffers( void );
+extern void SVGAMesaSetCI(int ndx, GLubyte red, GLubyte green, GLubyte blue);
+
+extern SVGAMesaContext SVGAMesaGetCurrentContext( void );
#ifdef __cplusplus
}
#ifdef __cplusplus
}