diff -r 7df094ed4a3f -r da03feddbab7 egl/sfegltest/inc/eglrendering.h --- a/egl/sfegltest/inc/eglrendering.h Fri Oct 22 11:59:21 2010 +0100 +++ b/egl/sfegltest/inc/eglrendering.h Fri Oct 22 22:19:05 2010 +0100 @@ -15,46 +15,46 @@ #ifndef __EGLRENDERING_H__ #define __EGLRENDERING_H__ - #include #include #include #include -#include class CEGLRendering : public CBase { public: - static CEGLRendering* NewL(RWindow& aWindow, TBool); - static CEGLRendering* NewLC(RWindow& aWindow,TBool); - + static CEGLRendering* NewL(RWindow& aWindow); ~CEGLRendering(); void Start(); void Stop(); - - static void EGLCheckError(); - static void EGLCheckReturnError(EGLBoolean aBool); - static void VGCheckError(); + void UpdateDisplay(); static TInt TimerCallBack(TAny* aDemo); - + private: CEGLRendering(RWindow& aWindow); - void ConstructL(TBool); + void ConstructL(); + + static void EGLCheckError(); + static void EGLCheckReturnError(EGLBoolean aBool); + static void VGCheckError(); + + void EglSetupL(); + void VgSetup(); + void VgPaint(); private: RWindow& iWindow; - CPeriodic* iTimer; - - CFbsBitmap* iBitmap; + CFbsBitmap* iBitmap; TInt iCount; - EGLDisplay iDisplay; EGLSurface iSurface; - EGLContext iContextVG; + EGLContext iContext; + VGPaint iVGPaint; + VGPath iVGPath; }; +#endif -#endif