| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/GL/fxmesa.h
Go to the documentation of this file.

    00001 /*
    00002  * Mesa 3-D graphics library
    00003  * Version:  4.0
    00004  * Copyright (C) 1995-2001  Brian Paul
    00005  *
    00006  * This library is free software; you can redistribute it and/or
    00007  * modify it under the terms of the GNU Library General Public
    00008  * License as published by the Free Software Foundation; either
    00009  * version 2 of the License, or (at your option) any later version.
    00010  *
    00011  * This library is distributed in the hope that it will be useful,
    00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00014  * Library General Public License for more details.
    00015  *
    00016  * You should have received a copy of the GNU Library General Public
    00017  * License along with this library; if not, write to the Free
    00018  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    00019  */
    00020
    00021
    00022 /*
    00023  * FXMesa - 3Dfx Glide driver for Mesa.  Contributed by David Bucciarelli
    00024  *
    00025  * NOTE: This version requires Glide3 (http://sourceforge.net/projects/glide)
    00026  */
    00027
    00028
    00029 #ifndef FXMESA_H
    00030 #define FXMESA_H
    00031
    00032
    00033 #include <glide.h>
    00034
    00035
    00036 #ifdef __cplusplus
    00037 extern "C" {
    00038 #endif
    00039
    00040
    00041 #define FXMESA_MAJOR_VERSION 6
    00042 #define FXMESA_MINOR_VERSION 3
    00043
    00044
    00045 /*
    00046  * Values for attribList parameter to fxMesaCreateContext():
    00047  */
    00048 #define FXMESA_NONE              0          /* to terminate attribList */
    00049 #define FXMESA_DOUBLEBUFFER      10
    00050 #define FXMESA_ALPHA_SIZE        11      /* followed by an integer */
    00051 #define FXMESA_DEPTH_SIZE        12      /* followed by an integer */
    00052 #define FXMESA_STENCIL_SIZE      13      /* followed by an integer */
    00053 #define FXMESA_ACCUM_SIZE        14      /* followed by an integer */
    00054 #define FXMESA_COLORDEPTH        20      /* followed by an integer */
    00055 #define FXMESA_SHARE_CONTEXT 990099         /* keep in sync with xmesa1.c! */
    00056
    00057
    00058
    00059 typedef struct tfxMesaContext *fxMesaContext;
    00060
    00061
    00062 #if defined (__BEOS__)
    00063 #pragma export on
    00064 #endif
    00065
    00066
    00067 GLAPI fxMesaContext GLAPIENTRY fxMesaCreateContext(GLuint win, GrScreenResolution_t,
    00068                                                                     GrScreenRefresh_t,
    00069                                                                     const GLint attribList[]);
    00070
    00071 GLAPI fxMesaContext GLAPIENTRY fxMesaCreateBestContext(GLuint win,
    00072                                                                         GLint width, GLint height,
    00073                                                                         const GLint attribList[]);
    00074 GLAPI void GLAPIENTRY fxMesaDestroyContext(fxMesaContext ctx);
    00075
    00076 GLAPI GLint GLAPIENTRY fxMesaSelectCurrentBoard(int n);
    00077
    00078 GLAPI void GLAPIENTRY fxMesaMakeCurrent(fxMesaContext ctx);
    00079
    00080 GLAPI fxMesaContext GLAPIENTRY fxMesaGetCurrentContext(void);
    00081
    00082 GLAPI void GLAPIENTRY fxMesaSwapBuffers(void);
    00083
    00084 GLAPI void GLAPIENTRY fxMesaSetNearFar(GLfloat nearVal, GLfloat farVal);
    00085
    00086 GLAPI void GLAPIENTRY fxMesaUpdateScreenSize(fxMesaContext ctx);
    00087
    00088 GLAPI void GLAPIENTRY fxCloseHardware(void);
    00089
    00090 GLAPI void GLAPIENTRY fxGetScreenGeometry (GLint *w, GLint *h);
    00091
    00092
    00093 #if defined (__BEOS__)
    00094 #pragma export off
    00095 #endif
    00096
    00097
    00098 #ifdef __cplusplus
    00099 }
    00100 #endif
    00101
    00102
    00103 #endif

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines