uiaccelerator_plat/alf_visual_api/inc/alf/alfcompositionclient.h
changeset 14 83d2d132aa58
parent 0 15bf7259bb7c
child 19 f5bac0badc7e
equal deleted inserted replaced
13:8f67d927ea57 14:83d2d132aa58
    32     virtual TInt SetOrder(TInt aTarget, TInt aTop, TBool aAbove, TBool aCombineTargets) =0;
    32     virtual TInt SetOrder(TInt aTarget, TInt aTop, TBool aAbove, TBool aCombineTargets) =0;
    33     virtual void DeleteTarget(TInt aTarget)=0;
    33     virtual void DeleteTarget(TInt aTarget)=0;
    34     virtual void LowOnGraphicsMemory()=0;
    34     virtual void LowOnGraphicsMemory()=0;
    35     virtual void GraphicsMemoryGood(){}
    35     virtual void GraphicsMemoryGood(){}
    36     
    36     
    37     virtual void AlfBridgeCallback(TInt, TAny*){};
    37     virtual void AlfBridgeCallback(TInt, TAny*){}
       
    38     virtual void HideTarget(TInt,TBool){};
    38     }; 
    39     }; 
    39 
    40 
    40 /** Wrapper class IPC <-> MAlfCompositionController **/
    41 /** Wrapper class IPC <-> MAlfCompositionController **/
    41 NONSHARABLE_CLASS(CAlfCompositionCntrlClient): public CAlfCompositionClientBase
    42 NONSHARABLE_CLASS(CAlfCompositionCntrlClient): public CAlfCompositionClientBase
    42     {
    43     {
   291     /** 
   292     /** 
   292      * Constructor 
   293      * Constructor 
   293      **/
   294      **/
   294     IMPORT_C static CAlfCompositionPixelSource* NewL(MAlfBufferProvider& aProvider, RWindow* aWindow = NULL);
   295     IMPORT_C static CAlfCompositionPixelSource* NewL(MAlfBufferProvider& aProvider, RWindow* aWindow = NULL);
   295     
   296     
       
   297 
       
   298     /**
       
   299      * Constructor for application to decide AO priority
       
   300      */
       
   301     IMPORT_C static CAlfCompositionPixelSource* NewL(MAlfBufferProvider& aProvider, TInt aPriority = CActive::EPriorityIdle, RWindow* aWindow = NULL );
       
   302 
       
   303     
   296     /**
   304     /**
   297      *  Activate drawing for the first time or continue drawing if it is being paused or suspended
   305      *  Activate drawing for the first time or continue drawing if it is being paused or suspended
   298      **/
   306      **/
   299     IMPORT_C void ActivateL();
   307     IMPORT_C void ActivateL();
   300     
   308     
   326      **/
   334      **/
   327     void HandleEventL(TInt aEventType, TAny* aEventData);                                          
   335     void HandleEventL(TInt aEventType, TAny* aEventData);                                          
   328 
   336 
   329 private: // Internal / utils
   337 private: // Internal / utils
   330     
   338     
   331     void ConstructL(MAlfBufferProvider& aProvider, RWindow* aWindow);
   339     void ConstructL(MAlfBufferProvider& aProvider, TInt aPriority, RWindow* aWindow);
   332     void ConstructSurfaceL(MAlfBufferProvider::TBufferCreationAttributes& aCreationAttributes);
   340     void ConstructSurfaceL(MAlfBufferProvider::TBufferCreationAttributes& aCreationAttributes);
   333     void FreeSurface();
   341     void FreeSurface();
   334     TUint8* Buffer(TInt aBufferNumber);
   342     TUint8* Buffer(TInt aBufferNumber);
   335 
   343 
   336     
   344