egl/sfegltest/src/main.cpp
branchbug235_bringup_0
changeset 211 3804ba25b23f
parent 210 da03feddbab7
child 213 deb2534f581f
equal deleted inserted replaced
210:da03feddbab7 211:3804ba25b23f
    14 
    14 
    15 #include <e32std.h>
    15 #include <e32std.h>
    16 #include <w32std.h>
    16 #include <w32std.h>
    17 #include <e32math.h>
    17 #include <e32math.h>
    18 #include <e32keys.h>
    18 #include <e32keys.h>
    19 #include "eglrendering.h"
    19 #include "vgline.h"
    20 
    20 
    21 #define KDefaultScreenNo 0
    21 #define KDefaultScreenNo 0
    22 
    22 
    23 // Amount of time for which to run the app
    23 // Amount of time for which to run the app
    24 static const TInt KAppRunDuration = 5000000;
    24 static const TInt KAppRunDuration = 5000000;
   177 		}
   177 		}
   178 
   178 
   179 	RDebug::Printf("[EBT] CWsApp::ConstructL 1");
   179 	RDebug::Printf("[EBT] CWsApp::ConstructL 1");
   180 	iAppView = CWsCanvas::NewL(iScrId, iPos);
   180 	iAppView = CWsCanvas::NewL(iScrId, iPos);
   181 	RDebug::Printf("[EBT] CWsApp::ConstructL 2");
   181 	RDebug::Printf("[EBT] CWsApp::ConstructL 2");
   182 	iDemo = CEGLRendering::NewL(iAppView->Window());
   182 	iDemo = CVGLine::NewL(iAppView->Window());
   183 	RDebug::Printf("[EBT] CWsApp::ConstructL 3");
   183 	RDebug::Printf("[EBT] CWsApp::ConstructL 3");
   184 	iDemo->Start();
   184 	iSz = iAppView->ScreenSize();
   185 	RDebug::Printf("[EBT] CWsApp::ConstructL 4");
   185 	RDebug::Printf("[EBT] CWsApp::ConstructL 4");
   186 	iSz = iAppView->ScreenSize();
       
   187 	RDebug::Printf("[EBT] CWsApp::ConstructL 5");
       
   188 	}
   186 	}
   189 
   187 
   190 TInt CWsApp::TimerCallBack(TAny* aApp)
   188 TInt CWsApp::TimerCallBack(TAny* aApp)
   191     {
   189     {
   192     RDebug::Printf("[EBT] CWsApp::TimerCallBack");
   190     RDebug::Printf("[EBT] CWsApp::TimerCallBack");