Added GLES 1.x spinning cube-rendering code to eglbringuptest
The coordinate, color and index data are uploaded to server-side
buffers by the CGLES1Cube::KhrSetup function. CGLES1Cube::KhrPaint
just sets the view matrix and issues a draw command.
Which demo to display can be selected by passing its name on the
command line, e.g.
eglbringuptest vgline
eglbringuptest gles1cube
If no name is provided, the application defaults to vgline.
/** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).* All rights reserved.* This component and the accompanying materials are made available* under the terms of the License "Eclipse Public License v1.0"* which accompanies this distribution, and is available* at the URL "http://www.eclipse.org/legal/epl-v10.html".** Initial Contributors:* Nokia Corporation - initial contribution.** Contributors:** Description: Symbian project definition file**/#include <platform_paths.hrh>TARGET m3gcore.dllTARGETTYPE dllUID 0x1000008D 0x101F87E1MACRO M3G_TARGET_SYMBIANMACRO M3G_BUILD_DLLCAPABILITY CAP_GENERAL_DLL// Modify default options to optimize for speed over size in this module.OPTION ARMCC -O3 -OtimeALWAYS_BUILD_AS_ARM// Uncomment the following flags to enable ARMv6 and/or VFP optimizations.#define __ARMV6_SUPPORT#define __VFPV2_SUPPORT#ifdef ARMCC#ifdef __ARMV6_SUPPORTMACRO M3G_HW_ARMV6OPTION_REPLACE ARMCC --cpu 6#endif#ifdef __VFPV2_SUPPORTMACRO M3G_HW_FLOATMACRO M3G_HW_FLOAT_VFPV2OPTION_REPLACE ARMCC --fpu softvfp+vfpv2 --fpmode fast#endif#endif#if defined(UDEB)MACRO M3G_DEBUG#endifSOURCEPATH ../srcSOURCE m3g_core.cSOURCE m3g_symbian.cppSOURCE m3g_symbian_gl.cppUSERINCLUDE ../inc// This is a SYSTEMINCLUDE macro containing the OS// layer specific include directoriesOS_LAYER_SYSTEMINCLUDESYSTEMINCLUDE /epoc32/include/libcSYSTEMINCLUDE ../../../incSYSTEMINCLUDE ../../incLIBRARY euser.lib estlib.lib fbscli.libLIBRARY efsrv.lib ws32.libLIBRARY libGLESv1_CM.lib ezlib.lib libEGL.libSMPSAFE