First public contribution.
1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
22 /** Attributes for an EColor4K window. */
23 const GLint KColor4KAttribList[] =
31 EGL_SURFACE_TYPE, EGL_WINDOW_BIT,
32 EGL_RENDERABLE_TYPE,EGL_OPENGL_ES_BIT,
36 /** Attributes for an EColor64K window. */
37 const GLint KColor64KAttribList[] =
45 EGL_SURFACE_TYPE, EGL_WINDOW_BIT,
46 EGL_RENDERABLE_TYPE,EGL_OPENGL_ES_BIT,
50 /** Attributes for an EColor16M window. */
51 const GLint KColor16MAttribList[] =
59 EGL_SURFACE_TYPE, EGL_WINDOW_BIT,
60 EGL_RENDERABLE_TYPE,EGL_OPENGL_ES_BIT,
64 /** Attributes for an EColor16MA window. */
65 const GLint KColor16MAAttribList[] =
73 EGL_SURFACE_TYPE, EGL_WINDOW_BIT,
74 EGL_RENDERABLE_TYPE,EGL_OPENGL_ES_BIT,
79 * Values for the perspective matrix used by glFrustumf.
80 * Width is calculated based on the surface aspect ratio.
82 const GLfloat KFrustumHeight = 1.0f;
83 const GLfloat KFrustumNear = 1.0f;
84 const GLfloat KFrustumFar = 1000000.0f;
86 /** Values to translate the model view. */
87 const GLfloat KModelViewX = 0.0f;
88 const GLfloat KModelViewY = 0.0f;
89 const GLfloat KModelViewZ = -40.0f;
91 #endif /* EGLDEFS_H_ */