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 "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:
* iwanj@users.sourceforge.net - modified to make it work for Symbian^3.
*
* Description:
* This OBY File is used to build miniGUI ROM Images.
*/
#ifndef __MINIGUI_OBY__
#define __MINIGUI_OBY__
define OBEYFILE minigui
define ROMDATE ##TODAY##
#define _ARMV5
#define SYMBIAN_BASE_USE_GCE
#define SYMBIAN_EXCLUDE_SCDV
#undef SYMBIAN_GRAPHICS_ADAPTATION
#define SYMBIAN_GRAPHICS_ADAPTATION SGA_SW
#define SYMBIAN_GRAPHICS_USE_OPENWF
#define SYMBIAN_GRAPHICS_USE_EGL_REF
#define OPENWFCLIB_DRV <openwfc_ref.iby>
#define __SYBORG__
// Kernel
//
#include <header.iby>
#include <base.iby>
// NGA stack
//
#define SYMBIAN_GRAPHICS_USE_GCE
#define SYMBIAN_GRAPHICS_USE_OPENWF
#include <gdi.iby>
#include <bitgdi.iby>
#include <fntstore.iby>
#include <fbserv.iby>
#include <iculayoutengine.iby>
#include <freetype.iby>
#include <directgdi.iby>
#include <wserv.iby>
#include <econs_wserv.iby>
#include <surfaceupdate.iby>
#include <surfacemanager.iby>
file=\epoc32\release\ARMV5\urel\_generic_scdv.dll sys\bin\scdv.dll
data=DATAZ_\wsini_minigui.ini \system\data\wsini.ini
// miniGUI shell
//
#include <eshell.iby>
// And the hell breaks loose :)
// Let's just add bare minimum items enough to get graphics stack up and running
// wserv wants ecom
// libwfc wants openenv
// freetype wants stdlib
// openenv backend wants esock etc etc
//
#include <bafl.iby>
#include <ecom.iby>
#include <store.iby>
#include <stdlib.iby>
#include <openenv.iby>
#include <c32.iby>
#include <ecuart.iby>
#include <irda.iby>
#include <bluetooth.iby>
#include <inetprotutil.iby>
#include <network.iby>
#include <dial.iby>
#include <crypto.iby>
#include <certman.iby>
#include <logeng.iby>
#include <filetokens.iby>
#include <asnpkcs.iby>
#include <emime.iby>
#include <scs.iby>
#include <cflog.iby>
file=\epoc32\release\ARMV5\urel\abclient.dll sys\bin\abclient.dll
file=\epoc32\release\ARMV5\urel\Http.dll sys\bin\http.dll
file=\epoc32\release\ARMV5\urel\Httputils.dll sys\bin\httputils.dll
file=\epoc32\release\ARMV5\urel\securitymanager.dll sys\bin\securitymanager.dll
file=\epoc32\release\ARMV5\urel\ocspsupportclient.dll sys\bin\ocspsupportclient.dll
file=\epoc32\release\ARMV5\urel\siscontroller.dll sys\bin\siscontroller.dll
file=\epoc32\release\ARMV5\urel\devinfosupportclient.dll sys\bin\devinfosupportclient.dll
file=\epoc32\release\ARMV5\urel\uissclient.dll sys\bin\uissclient.dll
file=\epoc32\release\ARMV5\urel\devinfosupportcommon.dll sys\bin\devinfosupportcommon.dll
file=\epoc32\release\ARMV5\urel\ipcstream.dll sys\bin\ipcstream.dll
file=\epoc32\release\ARMV5\urel\usbcsc_bil.dll sys\bin\usbcsc_bil.dll
file=\epoc32\release\ARMV5\urel\usbdescriptors.dll sys\bin\usbdescriptors.dll
file=\epoc32\release\ARMV5\urel\usbhostmsclient.dll sys\bin\usbhostmsclient.dll
file=\epoc32\release\ARMV5\urel\usbdi_utils.dll sys\bin\usbdi_utils.dll
file=\epoc32\release\ARMV5\urel\iscapi.dll sys\bin\iscapi.dll
file=\epoc32\release\ARMV5\urel\isimessage.dll sys\bin\isimessage.dll
// cenrep file for timezone server database support
data=\epoc32\data\z\private\10202be9\1020383e.txt private\10202be9\1020383e.txt
#endif /* __MINIGUI_OBY__ */