vghwinterface/vghwserialiser/inc/opengles11rfc.inl
branchbug235_bringup_0
changeset 51 4f400a6ea71f
parent 1 d8d95053303a
equal deleted inserted replaced
49:3b4f7e9d873f 51:4f400a6ea71f
       
     1 // Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 
       
    15 inline void OpenGlES11RFC::GetParamValue( GLbyte& aParam, TInt aIndex )
       
    16 {
       
    17     iData.GetParamValue( OpenGlES11RFC::EGLbyte, (TUint8*)&aParam, aIndex );
       
    18 }
       
    19 inline void OpenGlES11RFC::GetParamValue( GLubyte& aParam, TInt aIndex )
       
    20 {
       
    21     iData.GetParamValue( OpenGlES11RFC::EGLubyte, (TUint8*)&aParam, aIndex );
       
    22 }
       
    23 inline void OpenGlES11RFC::GetParamValue( GLshort& aParam, TInt aIndex )
       
    24 {
       
    25     iData.GetParamValue( OpenGlES11RFC::EGLshort, (TUint8*)&aParam, aIndex );
       
    26 }
       
    27 inline void OpenGlES11RFC::GetParamValue( GLushort& aParam, TInt aIndex )
       
    28 {
       
    29     iData.GetParamValue( OpenGlES11RFC::EGLushort, (TUint8*)&aParam, aIndex );
       
    30 }
       
    31 inline void OpenGlES11RFC::GetParamValue( GLint& aParam, TInt aIndex )
       
    32 {
       
    33     iData.GetParamValue( OpenGlES11RFC::EGLint, (TUint8*)&aParam, aIndex );
       
    34 }
       
    35 inline void OpenGlES11RFC::GetParamValue( GLuint& aParam, TInt aIndex )
       
    36 {
       
    37     iData.GetParamValue( OpenGlES11RFC::EGLuint, (TUint8*)&aParam, aIndex );
       
    38 }
       
    39 inline void OpenGlES11RFC::GetParamValue( GLfloat& aParam, TInt aIndex )
       
    40 {
       
    41     iData.GetParamValue( OpenGlES11RFC::EGLfloat, (TUint8*)&aParam, aIndex );
       
    42 }
       
    43 
       
    44 
       
    45 inline void OpenGlES11RFC::GetVectorData( GLint* &aData, TInt& aSize, TInt aIndex )
       
    46 {
       
    47     iData.GetVectorData( EGLint, (void**)&aData, aSize, aIndex );
       
    48 }
       
    49 inline void OpenGlES11RFC::GetVectorData( GLuint* &aData, TInt& aSize, TInt aIndex )
       
    50 {
       
    51     iData.GetVectorData( EGLuint, (void**)&aData, aSize, aIndex );
       
    52 }
       
    53 inline void OpenGlES11RFC::GetVectorData( GLshort* &aData, TInt& aSize, TInt aIndex )
       
    54 {
       
    55     iData.GetVectorData( EGLshort, (void**)&aData, aSize, aIndex );
       
    56 }
       
    57 inline void OpenGlES11RFC::GetVectorData( GLfloat* &aData, TInt& aSize, TInt aIndex )
       
    58 {
       
    59     iData.GetVectorData( EGLfloat, (void**)&aData, aSize, aIndex );
       
    60 }
       
    61 inline void OpenGlES11RFC::GetVectorData( GLboolean* &aData, TInt& aSize, TInt aIndex )
       
    62 {
       
    63     iData.GetVectorData( EGLboolean, (void**)&aData, aSize, aIndex );
       
    64 }
       
    65 inline void OpenGlES11RFC::GetVectorData( void* &aData, TInt& aSize, TInt aIndex )
       
    66 {
       
    67     iData.GetVectorData( EGLvoid, &aData, aSize, aIndex );
       
    68 }
       
    69 
       
    70 
       
    71 inline void OpenGlES11RFC::SetVectorData( const GLint* aData, TInt aLength, TInt aIndex )
       
    72 {
       
    73     RemoteFunctionCall::SetVectorData( EGLint, reinterpret_cast<const TUint8*>(aData), aLength, aIndex );
       
    74 }
       
    75 inline void OpenGlES11RFC::SetVectorData( const GLuint* aData, TInt aLength, TInt aIndex )
       
    76 {
       
    77     RemoteFunctionCall::SetVectorData( EGLuint, reinterpret_cast<const TUint8*>(aData), aLength, aIndex );
       
    78 }
       
    79 inline void OpenGlES11RFC::SetVectorData( const GLshort* aData, TInt aLength, TInt aIndex )
       
    80 {
       
    81     RemoteFunctionCall::SetVectorData( EGLshort, reinterpret_cast<const TUint8*>(aData), aLength, aIndex );
       
    82 }
       
    83 inline void OpenGlES11RFC::SetVectorData( const GLfloat* aData, TInt aLength, TInt aIndex )
       
    84 {
       
    85     RemoteFunctionCall::SetVectorData( EGLfloat, reinterpret_cast<const TUint8*>(aData), aLength, aIndex );
       
    86 }
       
    87 inline void OpenGlES11RFC::SetVectorData( const GLboolean* aData, TInt aLength, TInt aIndex )
       
    88 {
       
    89     RemoteFunctionCall::SetVectorData( EGLboolean, reinterpret_cast<const TUint8*>(aData), aLength, aIndex );
       
    90 }
       
    91 inline void OpenGlES11RFC::SetVectorData( const void* aData, TInt aLength, TInt aIndex )
       
    92 {
       
    93     RemoteFunctionCall::SetVectorData( EGLvoid, reinterpret_cast<const TUint8*>(aData), aLength, aIndex );
       
    94 }
       
    95 
       
    96 
       
    97 inline void OpenGlES11RFC::AppendParam( const GLbyte& aParam, RemoteFunctionCallData::TParamDirection aDir )
       
    98 {
       
    99     RemoteFunctionCall::AppendParam( EGLbyte, reinterpret_cast<const TUint8*>(&aParam), aDir );
       
   100 }
       
   101 inline void OpenGlES11RFC::AppendParam( const GLubyte& aParam, RemoteFunctionCallData::TParamDirection aDir )
       
   102 {
       
   103     RemoteFunctionCall::AppendParam( EGLubyte, reinterpret_cast<const TUint8*>(&aParam), aDir );
       
   104 }
       
   105 inline void OpenGlES11RFC::AppendParam( const GLshort& aParam, RemoteFunctionCallData::TParamDirection aDir )
       
   106 {
       
   107     RemoteFunctionCall::AppendParam( EGLshort, reinterpret_cast<const TUint8*>(&aParam), aDir );
       
   108 }
       
   109 inline void OpenGlES11RFC::AppendParam( const GLushort& aParam, RemoteFunctionCallData::TParamDirection aDir )
       
   110 {
       
   111     RemoteFunctionCall::AppendParam( EGLushort, reinterpret_cast<const TUint8*>(&aParam), aDir );
       
   112 }
       
   113 inline void OpenGlES11RFC::AppendParam( const GLint& aParam, RemoteFunctionCallData::TParamDirection aDir )
       
   114 {
       
   115     RemoteFunctionCall::AppendParam( EGLint, reinterpret_cast<const TUint8*>(&aParam), aDir );
       
   116 }
       
   117 inline void OpenGlES11RFC::AppendParam( const GLuint& aParam, RemoteFunctionCallData::TParamDirection aDir )
       
   118 {
       
   119     RemoteFunctionCall::AppendParam( EGLuint, reinterpret_cast<const TUint8*>(&aParam), aDir );
       
   120 }
       
   121 inline void OpenGlES11RFC::AppendParam( const GLfloat& aParam, RemoteFunctionCallData::TParamDirection aDir )
       
   122 {
       
   123     RemoteFunctionCall::AppendParam( EGLfloat, reinterpret_cast<const TUint8*>(&aParam), aDir );
       
   124 }
       
   125 
       
   126 
       
   127 inline void OpenGlES11RFC::AppendVector( const GLint* aData, TInt aLength, RemoteFunctionCallData::TParamDirection aDir )
       
   128 {
       
   129     RemoteFunctionCall::AppendVector( EGLint, aLength, reinterpret_cast<const TUint8*>( aData ), aDir );
       
   130 }
       
   131 inline void OpenGlES11RFC::AppendVector( const GLuint* aData, TInt aLength, RemoteFunctionCallData::TParamDirection aDir )
       
   132 {
       
   133     RemoteFunctionCall::AppendVector( EGLuint, aLength, reinterpret_cast<const TUint8*>( aData ), aDir );
       
   134 }
       
   135 inline void OpenGlES11RFC::AppendVector( const GLshort* aData, TInt aLength, RemoteFunctionCallData::TParamDirection aDir )
       
   136 {
       
   137     RemoteFunctionCall::AppendVector( EGLshort, aLength, reinterpret_cast<const TUint8*>( aData ), aDir );
       
   138 }
       
   139 inline void OpenGlES11RFC::AppendVector( const GLfloat* aData, TInt aLength, RemoteFunctionCallData::TParamDirection aDir )
       
   140 {
       
   141     RemoteFunctionCall::AppendVector( EGLfloat, aLength, reinterpret_cast<const TUint8*>( aData ), aDir );
       
   142 }
       
   143 inline void OpenGlES11RFC::AppendVector( const GLboolean* aData, TInt aLength, RemoteFunctionCallData::TParamDirection aDir )
       
   144 {
       
   145     RemoteFunctionCall::AppendVector( EGLboolean, aLength, reinterpret_cast<const TUint8*>( aData ), aDir );
       
   146 }
       
   147 inline void OpenGlES11RFC::AppendVector( const void* aData, TInt aLength, RemoteFunctionCallData::TParamDirection aDir )
       
   148 {
       
   149     RemoteFunctionCall::AppendVector( EGLvoid, aLength, reinterpret_cast<const TUint8*>( aData ), aDir );
       
   150 }