1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/EGL/egltypes.h Wed Mar 31 12:27:01 2010 +0100
1.3 @@ -0,0 +1,52 @@
1.4 +// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// GLES/EGLTYPES.H
1.18 +//
1.19 +//
1.20 +
1.21 +#ifndef __GLES_EGLTYPES_H_
1.22 +#define __GLES_EGLTYPES_H_
1.23 +
1.24 +
1.25 +/**
1.26 +@publishedPartner
1.27 +
1.28 +__OPENGLESHEADERS_LEGACY_EGL_1_1
1.29 +
1.30 +The purpose of this define is to allow the staged migration to
1.31 +EGL 1.3 from EGL 1.1 taken from the perspective of OpenGL ES 1.X
1.32 +
1.33 +If __OPENGLESHEADERS_LEGACY_EGL_1_1 is defined, then GLES/egl.h and
1.34 +GLES/egltypes.h will only provide the EGL 1.1 API; in particular no
1.35 +symbols from a later version of EGL will be seen at a source code level.
1.36 +This is considered to be legacy behaviour. If
1.37 +__OPENGLESHEADERS_LEGACY_EGL_1_1 is not defined, the GLES/egl.h
1.38 +and GLES/egltypes.h header files will re-direct to the system-wide
1.39 +EGL/egl.h. and EGL/egltypes.h respectively.
1.40 +
1.41 +The use of GLES/egl.h or GLES/egltypes.h by applications is considered
1.42 +legacy behaviour because applications should instead use EGL/egl.h
1.43 +or EGL/egltypes.h respectively.
1.44 +
1.45 +When this legacy behaviour is desired, the define should be placed in an
1.46 +OEM-specific system-wide .hrh file. Symbian product configurations
1.47 +never set this legacy behaviour.
1.48 +*/
1.49 +#ifdef __OPENGLESHEADERS_LEGACY_EGL_1_1
1.50 +#include <GLES/legacy_egl_1_1/egltypes.h>
1.51 +#else
1.52 +#include <EGL/egltypes.h>
1.53 +#endif
1.54 +
1.55 +#endif /* __GLES_EGLTYPES_H_ */