| 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/amesa.h
Go to the documentation of this file.

    00001 /*
    00002  * Mesa 3-D graphics library
    00003  * Version:  3.3
    00004  *
    00005  * Copyright (C) 1999-2000  Brian Paul   All Rights Reserved.
    00006  *
    00007  * Permission is hereby granted, free of charge, to any person obtaining a
    00008  * copy of this software and associated documentation files (the "Software"),
    00009  * to deal in the Software without restriction, including without limitation
    00010  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
    00011  * and/or sell copies of the Software, and to permit persons to whom the
    00012  * Software is furnished to do so, subject to the following conditions:
    00013  *
    00014  * The above copyright notice and this permission notice shall be included
    00015  * in all copies or substantial portions of the Software.
    00016  *
    00017  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
    00018  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    00019  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
    00020  * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
    00021  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
    00022  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
    00023  */
    00024
    00025
    00026 /* Allegro (DJGPP) driver by Bernhard Tschirren (bernie-t@geocities.com) */
    00027
    00028
    00029 #ifndef AMESA_H
    00030 #define AMESA_H
    00031
    00032
    00033 #define AMESA_MAJOR_VERSION 3
    00034 #define AMESA_MINOR_VERSION 3
    00035
    00036
    00037 typedef struct amesa_visual  *AMesaVisual;
    00038 typedef struct amesa_buffer  *AMesaBuffer;
    00039 typedef struct amesa_context *AMesaContext;
    00040
    00041
    00042 extern AMesaVisual AMesaCreateVisual(GLboolean dbFlag, GLint depth,
    00043                                      GLint depthSize,
    00044                                      GLint stencilSize,
    00045                                      GLint accumSize);
    00046
    00047 extern void AMesaDestroyVisual(AMesaVisual visual);
    00048
    00049 extern AMesaBuffer AMesaCreateBuffer(AMesaVisual visual,
    00050                                      GLint width, GLint height);
    00051
    00052 extern void AMesaDestroyBuffer(AMesaBuffer buffer);
    00053
    00054
    00055 extern AMesaContext AMesaCreateContext(AMesaVisual visual,
    00056                                        AMesaContext sharelist);
    00057
    00058 extern void AMesaDestroyContext(AMesaContext context);
    00059
    00060 extern GLboolean AMesaMakeCurrent(AMesaContext context, AMesaBuffer buffer);
    00061
    00062 extern void AMesaSwapBuffers(AMesaBuffer buffer);
    00063
    00064
    00065 #endif /* AMESA_H */

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines