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) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "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:
// bitgdi.dll Bitmapped graphics library
//
//
/**
@file
*/
#ifdef WINS
#ifdef SYMBIAN_BUILD_GCE
//when GCE switchable builds are enabled, this non-GCE unit is explicitly named in the emulator
target bitgdi_nongce.dll
#else
target bitgdi.dll
#endif
#else
target bitgdi.dll
#endif
CAPABILITY All -Tcb
targettype DLL
NOEXPORTLIBRARY
uid 0x1000008D 0x10003B18
VENDORID 0x70000001
sourcepath ../sbit
userinclude ../inc
OS_LAYER_SYSTEMINCLUDE_SYMBIAN
source BITBLT.CPP
source BITMAPDV.CPP
source BitmapSpec.cpp
source DRAWBMP.CPP
source ELLIPSE.CPP
source FBSERVDV.CPP
source FONTBMP.CPP
source GRAPHICS.CPP
source LINE.CPP
source MAIN.CPP
source PIEARC.CPP
source POLYGON.CPP
source RECT.CPP
source ROUNDREC.CPP
source SCREENDV.CPP
source TEXT.CPP
source VERTEXT.CPP
source accelsoftbc.cpp
library euser.lib
library gdi.lib
library fntstr.lib
library fbscli.lib
library scdv.lib
library estor.lib
deffile BITGDI2.DEF
START WINS
baseaddress 0x40200000
END
//optimal compiler flags identified in PN0082
always_build_as_arm
option_replace armcc --cpu 6
option armcc -Ospace -O2
UNPAGED
SMPSAFE