Minor fix ups for serialiser code, when built for host side bug235_bringup_0
authorMatt Plumtree <matt.plumtree@nokia.com>
Thu, 16 Sep 2010 12:38:21 +0100
branchbug235_bringup_0
changeset 22 b801ed730c0a
parent 21 f912a08d3c3a
child 23 e70851cd9e5e
Minor fix ups for serialiser code, when built for host side
guestrendering/vghwserialiser/inc/driverrfc.h
guestrendering/vghwserialiser/inc/eglrfc.h
guestrendering/vghwserialiser/inc/eglrfc.inl
guestrendering/vghwserialiser/inc/openvgrfc.inl
--- a/guestrendering/vghwserialiser/inc/driverrfc.h	Thu Sep 16 10:58:58 2010 +0100
+++ b/guestrendering/vghwserialiser/inc/driverrfc.h	Thu Sep 16 12:38:21 2010 +0100
@@ -27,6 +27,7 @@
     #include <EGL/egl.h>
 #else
     #include "EGL/egl.h"
+    #include "EGL/eglext.h"
 #endif
 
 #ifdef __SYMBIAN32__
--- a/guestrendering/vghwserialiser/inc/eglrfc.h	Thu Sep 16 10:58:58 2010 +0100
+++ b/guestrendering/vghwserialiser/inc/eglrfc.h	Thu Sep 16 12:38:21 2010 +0100
@@ -23,6 +23,7 @@
 	#include <EGL/egl.h>
 #else
 	#include "EGL/egl.h"
+    #include "EGL/eglext.h"
 #endif
 
 
--- a/guestrendering/vghwserialiser/inc/eglrfc.inl	Thu Sep 16 10:58:58 2010 +0100
+++ b/guestrendering/vghwserialiser/inc/eglrfc.inl	Thu Sep 16 12:38:21 2010 +0100
@@ -18,7 +18,7 @@
     TUint32 lower, upper;
     iData.GetParamValue( EglRFC::EEGLint, (TUint8*)&lower, aIndex );
     iData.GetParamValue( EglRFC::EEGLint, (TUint8*)&upper, aIndex+1 );
-    aParam = (upper << 32) + lower;
+    aParam = ((TUint64)upper << 32) + lower;
     }
 inline void EglRFC::GetEGLBoolean( EGLBoolean& aParam, TInt aIndex )
 	{
--- a/guestrendering/vghwserialiser/inc/openvgrfc.inl	Thu Sep 16 10:58:58 2010 +0100
+++ b/guestrendering/vghwserialiser/inc/openvgrfc.inl	Thu Sep 16 12:38:21 2010 +0100
@@ -18,7 +18,7 @@
     TUint32 lower, upper;
     iData.GetParamValue( OpenVgRFC::EVGuint, (TUint8*)&lower, aIndex );
     iData.GetParamValue( OpenVgRFC::EVGuint, (TUint8*)&upper, aIndex+1 );
-    aParam = (upper << 32) + lower;
+    aParam = ((TUint64)upper << 32) + lower;
     }
 inline void OpenVgRFC::GetParamValue( VGfloat& aParam, TInt aIndex )
 	{