egl/sfegltest/inc/eglrendering.h
branchbug235_bringup_0
changeset 210 da03feddbab7
parent 193 bbf967b65d9e
child 211 3804ba25b23f
--- 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 <e32base.h>
 #include <w32std.h>
 #include <EGL/egl.h>
 #include <VG/openvg.h>
-#include <VG/vgu.h>
 
 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