1.1 --- a/epoc32/include/gles/egl.h Tue Mar 16 16:12:26 2010 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,52 +0,0 @@
1.4 -// Copyright (c) 2007-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/EGL.H
1.18 -//
1.19 -//
1.20 -
1.21 -#ifndef __GLES_EGL_H_
1.22 -#define __GLES_EGL_H_
1.23 -
1.24 -/**
1.25 -@publishedPartner
1.26 -
1.27 -__OPENGLESHEADERS_LEGACY_EGL_1_1
1.28 -
1.29 -The purpose of this define is to allow the staged migration to
1.30 -EGL 1.3 from EGL 1.1 taken from the perspective of OpenGL ES 1.X
1.31 -
1.32 -If __OPENGLESHEADERS_LEGACY_EGL_1_1 is defined, then GLES/egl.h and
1.33 -GLES/egltypes.h will only provide the EGL 1.1 API; in particular no
1.34 -symbols from a later version of EGL will be seen at a source code level.
1.35 -This is considered to be legacy behaviour. If
1.36 -__OPENGLESHEADERS_LEGACY_EGL_1_1 is not defined, the GLES/egl.h
1.37 -and GLES/egltypes.h header files will re-direct to the system-wide
1.38 -EGL/egl.h. and EGL/egltypes.h respectively.
1.39 -
1.40 -The use of GLES/egl.h or GLES/egltypes.h by applications is considered
1.41 -legacy behaviour because applications should instead use EGL/egl.h
1.42 -or EGL/egltypes.h respectively.
1.43 -
1.44 -When this legacy behaviour is desired, the define should be placed in an
1.45 -OEM-specific system-wide .hrh file. Symbian product configurations
1.46 -never set this legacy behaviour.
1.47 -*/
1.48 -#ifdef __OPENGLESHEADERS_LEGACY_EGL_1_1
1.49 -#include <GLES/legacy_egl_1_1/egl.h>
1.50 -#else
1.51 -#include <EGL/egl.h>
1.52 -#include <GLES/gl.h>
1.53 -#endif
1.54 -
1.55 -#endif /* __GLES_EGL_H_ */