uiacceltk/hitchcock/coretoolkit/inc/HuiFxVisualLayer.h
branchRCL_3
changeset 20 31fccae4f8a7
parent 19 e5af45d51884
--- a/uiacceltk/hitchcock/coretoolkit/inc/HuiFxVisualLayer.h	Tue Aug 31 16:07:35 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/inc/HuiFxVisualLayer.h	Wed Sep 01 12:16:53 2010 +0100
@@ -32,6 +32,7 @@
     IMPORT_C static CHuiFxVisualLayer* NewL(MHuiEffectable* aVisual); // param mandatory
     IMPORT_C ~CHuiFxVisualLayer();
     IMPORT_C TBool PrepareDrawL(CHuiFxEngine& aEngine);
+    IMPORT_C void ReleaseAllCachedRenderTargets(CHuiFxEngine& aEngine);
     IMPORT_C void Draw(CHuiFxEngine& aEngine, CHuiGc& aGc, CHuiFxRenderbuffer& aTarget, CHuiFxRenderbuffer& aSource, TBool aHasSurface);
     IMPORT_C TBool VisualArea( TRect& aRect );
     IMPORT_C void AdvanceTime(TReal32 aElapsedTime);
@@ -44,6 +45,8 @@
     void SetExtBitmapFileL( TDesC& aFilename );
     TBool IsSemitransparent() const;
     
+    void SetVisualContentState(TBool aChanged, TBool aOpaque);
+    
 public: // effect cache
     IMPORT_C CHuiFxVisualLayer *CloneL() const;
     IMPORT_C void SetExtRect( TRect *aExtRect );
@@ -97,6 +100,11 @@
     HBufC* iExtBitmapFile;
     TReal32 iOpacity;
     TBool iOpaqueHint;
+    
+    CHuiFxEngine*  iEngine;     // not own 
+    CHuiFxRenderbuffer* iRenderBuffer; // owned
+    TBool iVisualContentChanged;
+    TBool iVisualContentOpaque;
     };
 
 #endif /*HUIFXVISUALLAYER_*/