os/graphics/egl/eglinterface/include/1.2/egltypes.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // EGL/EGLTYPES.H
    15 // 
    16 //
    17 
    18 #ifndef __EGL_EGLTYPES_H__
    19 #define __EGL_EGLTYPES_H__
    20 
    21 #include <e32def.h>
    22 
    23 #if !defined(EGLAPI)
    24 #   define EGLAPI IMPORT_C
    25 #endif
    26 
    27 #if !defined(EGL_APIENTRY)
    28 #   define EGL_APIENTRY
    29 #endif
    30 
    31 /**
    32 @publishedAll
    33 @released
    34 */
    35 
    36 typedef int EGLBoolean;
    37 typedef int EGLint;
    38 typedef int EGLenum;
    39 
    40 typedef int EGLDisplay;
    41 typedef int EGLConfig;
    42 typedef int EGLSurface;
    43 typedef int EGLContext;
    44 typedef int EGLClientBuffer;
    45 
    46 typedef int    NativeDisplayType;
    47 typedef void*  NativeWindowType;
    48 typedef void*  NativePixmapType;
    49 
    50 #define EGL_DEFAULT_DISPLAY 0
    51 #define EGL_NO_CONTEXT 0
    52 #define EGL_NO_DISPLAY 0
    53 #define EGL_NO_SURFACE 0
    54 
    55 #endif // __EGL_EGLTYPES_H__
    56