guestrendering/vghwserialiser/src/opengles11rfc.cpp
branchbug235_bringup_0
changeset 51 4f400a6ea71f
parent 49 3b4f7e9d873f
child 52 39e5f73667ba
--- a/guestrendering/vghwserialiser/src/opengles11rfc.cpp	Wed Sep 29 09:49:13 2010 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-// Copyright (c) 2010 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:
-//
-// Description:
-
-
-#include "opengles11rfc.h"
-#include "serialisedapiuids.h"
-
-OpenGlES11RFC::OpenGlES11RFC( RemoteFunctionCallData& aData ):
-    RemoteFunctionCall( aData )
-    {    
-    }
-
-TUint32 OpenGlES11RFC::GetAPIUid() const
-{
-	return SERIALISED_OPENGLES_1_1_API_UID;
-}
-
-TInt OpenGlES11RFC::GetTypeAlignment( TInt32 aType ) const
-{
-    TInt ret(0);
-    if ( EGLvoid == aType )
-        {
-        ret = 4;
-        }
-    else
-        {
-        ret = GetTypeSize( aType );
-        }
-    return ret;
-}
-
-TInt OpenGlES11RFC::GetTypeSize( TInt32 aType ) const
-{
-    TInt size(0);
-    switch ( aType )
-    {
-    case EGLvoid:
-    case EGLubyte:
-    case EGLboolean:
-        size = 1;
-        break;
-    case EGLshort:
-        size = 2;
-        break;
-    case EGLbitfield:
-    case EGLclampf:
-    case EGLclampx:
-    case EGLenum:
-    case EGLfixed:
-    case EGLfloat:
-    case EGLint:
-    case EGLintptr:
-    case EGLsizei:
-    case EGLsizeiptr:
-    case EGLuint:
-        size = 4;
-        break;
-    default:
-        break;
-    }
-    return size;
-}