openvg/openvgrefimplementation/sfopenvg/sfopenvg/include/eglapi.h
author Martin Jakl <jakl.martin@cell-telecom.com>
Thu, 18 Nov 2010 23:28:27 +0000
branchEGL_MERGE
changeset 216 b87045f2f5d7
permissions -rw-r--r--
First drop of port from guestEGL ? enables ebt test drawing a line using composition
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
216
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
     1
// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
     2
// All rights reserved.
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
     3
// This component and the accompanying materials are made available
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
     4
// under the terms of "Eclipse Public License v1.0"
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
     5
// which accompanies this distribution, and is available
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
     7
//
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
     8
// Initial Contributors:
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
     9
// Nokia Corporation - initial contribution.
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    10
//
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    11
// Contributors:
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    12
//
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    13
// Description:
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    14
// Header file for guest egl implementation
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    15
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    16
#ifndef EGLAPI_H_
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    17
#define EGLAPI_H_
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    18
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    19
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    20
// INCLUDES
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    21
#include <e32std.h>
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    22
#include <e32base.h>
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    23
#include <e32hashtab.h>
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    24
#include <w32std.h>
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    25
#include <graphics/surface.h>
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    26
#include <graphics/surfaceupdateclient.h>
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    27
#include <pixelformats.h>
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    28
#include <e32cmn.h>
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    29
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    30
#ifdef FAISALMEMON_S4_SGIMAGE
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    31
#include <sgresource/sgimage.h>
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    32
#endif
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    33
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    34
#define EGL_EGLEXT_PROTOTYPES
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    35
#include <EGL/egl.h>
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    36
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    37
class CEglSyncExtension;
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    38
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    39
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    40
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    41
/*
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    42
 Change value to control how much tracing is generated in UDEB builds
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    43
 0 = API traces only
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    44
 1 = API traces and parameter validation diagnostics
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    45
 2 = API traces, param validation, extra diagnostics
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    46
 */
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    47
#define EGL_TRACE_LEVEL 0
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    48
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    49
/*
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    50
EGL version info
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    51
*/
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    52
#define EGL_VERSION_MAJOR 1
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    53
#define EGL_VERSION_MINOR 4
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    54
#define MAKE_VERSION_STRING(major, minor) #major "." #minor
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    55
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    56
// tracing
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    57
#include <e32debug.h>
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    58
#ifdef _DEBUG
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    59
	#define EGL_TRACE(fmt, args...)                   RDebug::Printf(fmt, ##args)
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    60
	#define EGL_TRACE_DETAIL(level, fmt, args...)     if (level <= EGL_TRACE_LEVEL) RDebug::Printf(fmt, ##args)
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    61
	#define EGLPANIC_ASSERT(condition, panic)         if (!(condition)) { EglPanic(panic, #panic, #condition, __FILE__, __LINE__); }
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    62
	//#define EGLPANIC_ASSERT_DEBUG(condition, panic)   if (!(condition)) { EglPanic(panic, #panic, #condition, __FILE__, __LINE__); }
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    63
	//ToDo
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    64
	#define EGLPANIC_ASSERT_DEBUG(condition, panic)
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    65
	#define EGLPANIC_ALWAYS(panic)                    { EglPanic(panic, #panic, NULL, __FILE__, __LINE__); }
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    66
	#define EGLPANIC_DEBUG(panic)                     { EglPanic(panic, #panic, NULL, __FILE__, __LINE__); }
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    67
	#define EGL_TRACE_ATTRIB_LIST(aAttribList)        TAttribUtils::TraceAttribList(aAttribList)
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    68
	#define EGL_TRACE_GET_ATTRIB(N, T, D, O, A, V, R) TAttribUtils::TraceGetAttrib(N, T, D, O, A, V, R)
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    69
	#define EGL_TRACE_SET_ATTRIB(N, T, D, O, A, V)    TAttribUtils::TraceSetAttrib(N, T, D, O, A, V)
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    70
#else
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    71
	#define EGL_TRACE(fmt, args...)
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    72
	#define EGL_TRACE_DETAIL(level, fmt, args...)
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    73
	#define EGLPANIC_ASSERT(condition, panic)         if (!(condition)) { EglPanic(panic, NULL, NULL, NULL, __LINE__); }
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    74
	#define EGLPANIC_ASSERT_DEBUG(condition, panic)
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    75
	#define EGLPANIC_ALWAYS(panic)                    { EglPanic(panic, NULL, NULL, NULL, __LINE__); }
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    76
	#define EGLPANIC_DEBUG(panic)
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    77
	#define EGL_TRACE_ATTRIB_LIST(aAttribList)
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    78
	#define EGL_TRACE_GET_ATTRIB(N, T, D, O, A, V, R)
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    79
	#define EGL_TRACE_SET_ATTRIB(N, T, D, O, A, V)
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    80
#endif
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    81
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    82
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    83
// Guest EGL panic codes
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    84
typedef enum
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    85
	{
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    86
	EEglPanicCGuestEGLAllocFailed=1,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    87
	EEglPanicDisplayMapLockCreateLocalFailed,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    88
	EEglPanicGuestGraphicsAllocFailed,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    89
	EEglPanicSgImageHandleInvalid,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    90
	EEglPanicExtensionListAllocFailed,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    91
	EEglPanicExtensionListCreationError,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    92
	EEglPanicHostAndClientBoundApiOutOfSync,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    93
	EEglPanicUnexpectedBoundApi,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    94
	EEglPanicSymbianPixmapNotSetInSurface,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    95
	EEglPanicSymbianWindowNotSetInSurface,           // 10
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    96
	EEglPanicHostAndClientEglInitOutOfSync,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    97
	EEglPanicHostAndClientEglTerminateOutOfSync,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    98
	EEglPanicErrorNotSet,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
    99
	EEglPanicThreadStateNotValidInInternalFunction,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   100
	EEglPanicNotReplyOpcode,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   101
	EEglPanicDisplayMapInsertFailed,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   102
	EEglPanicEglSyncDisplayCreateFailed,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   103
	EEglPanicReleaseInvalidDisplay,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   104
	EEglPanicNullDisplayPointerInMap,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   105
	EEglPanicLockedDisplayNotFound,                  // 20
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   106
	EEglPanicStrayDisplayUnlock,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   107
	EEglPanicDisplayNotLockedForWriting,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   108
	EEglPanicDisplayAlreadyLocked,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   109
	EEglPanicReadLockExpected,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   110
	EEglPanicReadFromUnlockedDisplay,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   111
	EEglPanicDisplayAlreadyInMap,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   112
	EEglPanicDisplayNotFound,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   113
	EEglPanicSgDriverCreateLocalFailed,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   114
	EEglPanicInvalidNativePixmap,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   115
	EEglPanicEglImageLockCreateLocalFailed,          // 30
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   116
	EEglPanicBadSgDriverVersion,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   117
	EEglPanicEglImageRefCountNonZero,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   118
	EEglPanicEglImageIsDestroyed,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   119
	EEglPanicAtribListLengthTooLong,
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   120
	EEglPanicTemp,							// temporary panic in development code
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   121
	} TEglPanic;
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   122
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   123
void EglPanic(TEglPanic aPanicCode, char* aPanicName, char* aCondition, char* aFile, TInt aLine);
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   124
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   125
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   126
b87045f2f5d7 First drop of port from guestEGL ? enables ebt test drawing a line using composition
Martin Jakl <jakl.martin@cell-telecom.com>
parents:
diff changeset
   127
#endif /* EGLAPI_H_ */