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

    00001 /*
    00002    (c) Copyright 2001  convergence integrated media GmbH.
    00003    All rights reserved.
    00004
    00005    Written by Denis Oliver Kropp <dok@convergence.de> and
    00006               Andreas Hundt <andi@convergence.de>.
    00007
    00008    This library is free software; you can redistribute it and/or
    00009    modify it under the terms of the GNU Lesser General Public
    00010    License as published by the Free Software Foundation; either
    00011    version 2 of the License, or (at your option) any later version.
    00012
    00013    This library is distributed in the hope that it will be useful,
    00014    but WITHOUT ANY WARRANTY; without even the implied warranty of
    00015    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00016    Lesser General Public License for more details.
    00017
    00018    You should have received a copy of the GNU Lesser General Public
    00019    License along with this library; if not, write to the
    00020    Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    00021    Boston, MA 02111-1307, USA.
    00022 */
    00023
    00024 #ifndef __DIRECTFBGL_H__
    00025 #define __DIRECTFBGL_H__
    00026
    00027 #include <directfb.h>
    00028
    00029 #ifdef __cplusplus
    00030 extern "C"
    00031 {
    00032 #endif
    00033
    00034
    00035 typedef struct {
    00036      int        buffer_size;
    00037      int        depth_size;
    00038      int        stencil_size;
    00039      int        aux_buffers;
    00040
    00041      int        red_size;
    00042      int        green_size;
    00043      int        blue_size;
    00044      int        alpha_size;
    00045
    00046      int        accum_red_size;
    00047      int        accum_green_size;
    00048      int        accum_blue_size;
    00049      int        accum_alpha_size;
    00050
    00051      DFBBoolean double_buffer;
    00052      DFBBoolean stereo;
    00053 } DFBGLAttributes;
    00054
    00055
    00056 DEFINE_INTERFACE(   IDirectFBGL,
    00057
    00060      /*
    00061       * Acquire the hardware lock.
    00062       */
    00063      DFBResult (*Lock) (
    00064           IDirectFBGL              *thiz
    00065      );
    00066
    00067      /*
    00068       * Release the lock.
    00069       */
    00070      DFBResult (*Unlock) (
    00071           IDirectFBGL              *thiz
    00072      );
    00073
    00074      /*
    00075       * Query the OpenGL attributes.
    00076       */
    00077      DFBResult (*GetAttributes) (
    00078           IDirectFBGL              *thiz,
    00079           DFBGLAttributes          *attributes
    00080      );
    00081 )
    00082
    00083
    00084 #ifdef __cplusplus
    00085 }
    00086 #endif
    00087
    00088 #endif
    00089

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines