Add an install target
[mesa.git] / include / GL / osmesa.h
index 0e4a10b2f8b3c55065706eaabb97754390a4a660..ef645905c4deefa8ae298ca4d14a00fff123026b 100644 (file)
@@ -1,10 +1,8 @@
-/* $Id: osmesa.h,v 1.7 2001/06/27 13:56:17 brianp Exp $ */
-
 /*
  * Mesa 3-D graphics library
- * Version:  3.5
+ * Version:  6.3
  * 
- * Copyright (C) 1999-2000  Brian Paul   All Rights Reserved.
+ * Copyright (C) 1999-2003  Brian Paul   All Rights Reserved.
  * 
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -62,8 +60,9 @@ extern "C" {
 #include <GL/gl.h>
 
 
-#define OSMESA_MAJOR_VERSION 3
-#define OSMESA_MINOR_VERSION 5
+#define OSMESA_MAJOR_VERSION 6
+#define OSMESA_MINOR_VERSION 3
+#define OSMESA_PATCH_VERSION 0
 
 
 
@@ -95,6 +94,8 @@ extern "C" {
 #define OSMESA_HEIGHT          0x21
 #define OSMESA_FORMAT          0x22
 #define OSMESA_TYPE            0x23
+#define OSMESA_MAX_WIDTH       0x24  /* new in 4.0 */
+#define OSMESA_MAX_HEIGHT      0x25  /* new in 4.0 */
 
 
 typedef struct osmesa_context *OSMesaContext;
@@ -251,6 +252,21 @@ OSMesaGetColorBuffer( OSMesaContext c, GLint *width, GLint *height,
 
 
 
+/**
+ * This typedef is new in Mesa 6.3.
+ */
+typedef void (*OSMESAproc)();
+
+
+/*
+ * Return pointer to the named function.
+ * New in Mesa 4.1
+ * Return OSMESAproc in 6.3.
+ */
+GLAPI OSMESAproc GLAPIENTRY
+OSMesaGetProcAddress( const char *funcName );
+
+
 #if defined(__BEOS__) || defined(__QUICKDRAW__)
 #pragma export off
 #endif