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