uiacceltk/hitchcock/ServerCore/Inc/alfappsrvsession.h
branchRCL_3
changeset 63 e1987ab3768a
parent 57 eaa079afe64c
equal deleted inserted replaced
57:eaa079afe64c 63:e1987ab3768a
    30 class CHuiControl;
    30 class CHuiControl;
    31 class CHuiLayout;
    31 class CHuiLayout;
    32 class CAlfSrvEffectEnv;
    32 class CAlfSrvEffectEnv;
    33 class THuiTexturePreferredProperties;
    33 class THuiTexturePreferredProperties;
    34 class CAlfSrvTextureManager;
    34 class CAlfSrvTextureManager;
       
    35 class MHuiBitmapProvider;
    35 
    36 
    36 /**
    37 /**
    37  *  Session/service class in the server side.
    38  *  Session/service class in the server side.
    38  *
    39  *
    39  *  @since S60 v3.2
    40  *  @since S60 v3.2
   208     void TextureSetAutoSizeParamsL(const RMessage2& aMessage);    
   209     void TextureSetAutoSizeParamsL(const RMessage2& aMessage);    
   209     void LayoutMetricsTextStyleDataL(const RMessage2& aMessage);
   210     void LayoutMetricsTextStyleDataL(const RMessage2& aMessage);
   210 
   211 
   211     void DoFocusLostEffect(TInt aEffect, CHuiVisual& aRootVisual );
   212     void DoFocusLostEffect(TInt aEffect, CHuiVisual& aRootVisual );
   212     void DoFocusGainedEffect(TInt aEffect, CHuiVisual& aRootVisual );
   213     void DoFocusGainedEffect(TInt aEffect, CHuiVisual& aRootVisual );
   213     void TextureCleanAnimation(const RMessage2& aMessage);
   214 
   214     /**
   215     /**
   215      * Checks that texture owner id has been updated.
   216      * Checks that texture owner id has been updated.
   216      * @param aMessage message.
   217      * @param aMessage message.
   217      * @return ETrue if it's ok to continue, EFalse otherwise.
   218      * @return ETrue if it's ok to continue, EFalse otherwise.
   218      */
   219      */
   367     
   368     
   368     void EnvEnableLowMemoryState(const RMessage2& aMessage);
   369     void EnvEnableLowMemoryState(const RMessage2& aMessage);
   369     void EnvForceSwRendering(const RMessage2& aMessage);
   370     void EnvForceSwRendering(const RMessage2& aMessage);
   370     void EnvGetSizeAndRotation(const RMessage2& aMessage);
   371     void EnvGetSizeAndRotation(const RMessage2& aMessage);
   371     void EnvReadPixels(const RMessage2& aMessage);
   372     void EnvReadPixels(const RMessage2& aMessage);
   372         
   373 
       
   374     /**
       
   375      * Check if GPU memory should be released before upload.
       
   376      */
       
   377     TBool ShouldReleaseGpuMemoryL(MHuiBitmapProvider& aProvider, TInt aId);
       
   378 
       
   379     /**
       
   380      * Release optional GPU memory (mainly caches).
       
   381      */
       
   382     void ReleaseOptionalGpuMemory();
       
   383 
   373 private:
   384 private:
   374 
   385 
   375     // Owned items which need to be deleted with the session is terminated.
   386     // Owned items which need to be deleted with the session is terminated.
   376     RPointerArray<CBase> iOwnershipItems; 
   387     RPointerArray<CBase> iOwnershipItems; 
   377     RPointerArray<CHuiTexture> iTextures;
   388     RPointerArray<CHuiTexture> iTextures;