diff options
author | Randy Frank <[email protected]> | 2000-01-15 06:12:18 +0000 |
---|---|---|
committer | Randy Frank <[email protected]> | 2000-01-15 06:12:18 +0000 |
commit | 0deb3737c4f41c914f3536bb12bba9e6a668919c (patch) | |
tree | 00236540571c9a1d5b8be144c511d79dedd0633b /include | |
parent | ed236aa0d06d8646bb2cfebf03cba1d2aa1cf85d (diff) |
Added entry point and define for the occlusion test.
Diffstat (limited to 'include')
-rw-r--r-- | include/GL/osmesa.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/include/GL/osmesa.h b/include/GL/osmesa.h index 26b2181bc03..15415a63f25 100644 --- a/include/GL/osmesa.h +++ b/include/GL/osmesa.h @@ -1,4 +1,4 @@ -/* $Id: osmesa.h,v 1.2 1999/11/24 18:43:19 brianp Exp $ */ +/* $Id: osmesa.h,v 1.3 2000/01/15 06:12:18 rjfrank Exp $ */ /* * Mesa 3-D graphics library @@ -98,6 +98,13 @@ extern "C" { #define OSMESA_FORMAT 0x22 #define OSMESA_TYPE 0x23 +/* + * Accepted by OSMesaGetBooleanv: + * New in version 3.3 + */ +/* This is based on the HP proposed extension */ +#define OSMESA_OCCLUSION_TEST_RESULT_HP 0x30 + typedef struct osmesa_context *OSMesaContext; @@ -204,7 +211,13 @@ GLAPI void GLAPIENTRY OSMesaPixelStore( GLint pname, GLint value ); */ GLAPI void GLAPIENTRY OSMesaGetIntegerv( GLint pname, GLint *value ); - +/* + * Return context info. This is like glGetBooleanv. + * Input: pname - + * OSMESA_OCCLUSION_TEST_RESULT_HP return current test result + * value - pointer to boolean in which to return result. + */ +GLAPI void GLAPIENTRY OSMesaGetBooleanv( GLint pname, GLboolean *value ); /* * Return the depth buffer associated with an OSMesa context. |