author | sl@SLION-WIN7.fritz.box |
Fri, 15 Jun 2012 03:10:57 +0200 | |
changeset 0 | bde4ae8d615e |
permissions | -rw-r--r-- |
sl@0 | 1 |
// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
sl@0 | 2 |
// All rights reserved. |
sl@0 | 3 |
// This component and the accompanying materials are made available |
sl@0 | 4 |
// under the terms of "Eclipse Public License v1.0" |
sl@0 | 5 |
// which accompanies this distribution, and is available |
sl@0 | 6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
sl@0 | 7 |
// |
sl@0 | 8 |
// Initial Contributors: |
sl@0 | 9 |
// Nokia Corporation - initial contribution. |
sl@0 | 10 |
// |
sl@0 | 11 |
// Contributors: |
sl@0 | 12 |
// |
sl@0 | 13 |
// Description: |
sl@0 | 14 |
// EGL/EGLTYPES.H |
sl@0 | 15 |
// |
sl@0 | 16 |
// |
sl@0 | 17 |
|
sl@0 | 18 |
#ifndef __EGL_EGLTYPES_H__ |
sl@0 | 19 |
#define __EGL_EGLTYPES_H__ |
sl@0 | 20 |
|
sl@0 | 21 |
#include <e32def.h> |
sl@0 | 22 |
|
sl@0 | 23 |
|
sl@0 | 24 |
#ifndef EGLAPIENTRY |
sl@0 | 25 |
#define EGLAPIENTRY |
sl@0 | 26 |
#endif |
sl@0 | 27 |
|
sl@0 | 28 |
#ifndef EGLAPIENTRYP |
sl@0 | 29 |
#define EGLAPIENTRYP EGLAPIENTRY* |
sl@0 | 30 |
#endif |
sl@0 | 31 |
|
sl@0 | 32 |
#ifndef EGL_APIENTRY |
sl@0 | 33 |
#define EGL_APIENTRY EGLAPIENTRY |
sl@0 | 34 |
#endif |
sl@0 | 35 |
|
sl@0 | 36 |
#ifndef EGLAPI |
sl@0 | 37 |
#define EGLAPI IMPORT_C |
sl@0 | 38 |
#endif |
sl@0 | 39 |
|
sl@0 | 40 |
|
sl@0 | 41 |
/** |
sl@0 | 42 |
@publishedAll |
sl@0 | 43 |
@released |
sl@0 | 44 |
*/ |
sl@0 | 45 |
|
sl@0 | 46 |
/* |
sl@0 | 47 |
** egltypes.h is platform dependent. It defines: |
sl@0 | 48 |
** |
sl@0 | 49 |
** - EGL types and resources |
sl@0 | 50 |
** - Native types |
sl@0 | 51 |
** - EGL and native handle values |
sl@0 | 52 |
** |
sl@0 | 53 |
** EGL types and resources are to be typedef'ed with appropriate platform |
sl@0 | 54 |
** dependent resource handle types. EGLint must be an integer of at least |
sl@0 | 55 |
** 32-bit. |
sl@0 | 56 |
** |
sl@0 | 57 |
** NativeDisplayType, NativeWindowType and NativePixmapType are to be |
sl@0 | 58 |
** replaced with corresponding types of the native window system in egl.h. |
sl@0 | 59 |
** |
sl@0 | 60 |
** EGL and native handle values must match their types. |
sl@0 | 61 |
** |
sl@0 | 62 |
*/ |
sl@0 | 63 |
|
sl@0 | 64 |
|
sl@0 | 65 |
typedef int EGLBoolean; |
sl@0 | 66 |
typedef int EGLint; |
sl@0 | 67 |
typedef int EGLenum; |
sl@0 | 68 |
|
sl@0 | 69 |
typedef int EGLDisplay; |
sl@0 | 70 |
typedef int EGLConfig; |
sl@0 | 71 |
typedef int EGLSurface; |
sl@0 | 72 |
typedef int EGLContext; |
sl@0 | 73 |
typedef int EGLClientBuffer; |
sl@0 | 74 |
|
sl@0 | 75 |
typedef int NativeDisplayType; |
sl@0 | 76 |
typedef void* NativeWindowType; |
sl@0 | 77 |
typedef void* NativePixmapType; |
sl@0 | 78 |
|
sl@0 | 79 |
/* EGL 1.2 types, renamed for consistency in EGL 1.3 */ |
sl@0 | 80 |
typedef NativeDisplayType EGLNativeDisplayType; |
sl@0 | 81 |
typedef NativePixmapType EGLNativePixmapType; |
sl@0 | 82 |
typedef NativeWindowType EGLNativeWindowType; |
sl@0 | 83 |
|
sl@0 | 84 |
#define EGL_DEFAULT_DISPLAY 0 |
sl@0 | 85 |
#define EGL_NO_CONTEXT 0 |
sl@0 | 86 |
#define EGL_NO_DISPLAY 0 |
sl@0 | 87 |
#define EGL_NO_SURFACE 0 |
sl@0 | 88 |
|
sl@0 | 89 |
#endif // __EGL_EGLTYPES_H__ |