uiacceltk/hitchcock/coretoolkit/rendervg10/inc/HuiVg10RenderPlugin.h
branchRCL_3
changeset 9 3ac8bf5c5014
parent 0 15bf7259bb7c
child 18 1801340c26a2
--- a/uiacceltk/hitchcock/coretoolkit/rendervg10/inc/HuiVg10RenderPlugin.h	Wed Apr 14 16:53:50 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/rendervg10/inc/HuiVg10RenderPlugin.h	Tue Apr 27 17:34:42 2010 +0300
@@ -259,32 +259,37 @@
     /**
      * Creates a new instance of a canvas graphics context.
      */
-   virtual CHuiCanvasGc* CreateCanvasGcL();
+    virtual CHuiCanvasGc* CreateCanvasGcL();
 
-   /**
-    * Used to set flags that describe how the openvg state has changed.
-    */
-   virtual void AddRestoreStateFlags(TInt aFlags);
+    /**
+     * Used to set flags that describe how the openvg state has changed.
+     */
+    virtual void AddRestoreStateFlags(TInt aFlags);
    
-   /**
-    * Return the flags, e.g. for vg10gc to reset its state
-    */
-   virtual TInt GetRestoreStateFlags();
+    /**
+     * Return the flags, e.g. for vg10gc to reset its state
+     */
+    virtual TInt GetRestoreStateFlags();
    
-   /**
-    * Clear the stateflags
-    */
-   virtual void ClearRestoreStateFlags();
+    /**
+     * Clear the stateflags
+     */
+    virtual void ClearRestoreStateFlags();
    
 #ifdef __NVG
-   /**
-    * Getter for NVGEngine, to be used with NVG drawing inside OpenVG plugin
-    * 
-    * @return   CNvgEngine object
-    */
-   CNvgEngine& NvgEngine() const;
+    /**
+     * Getter for NVGEngine, to be used with NVG drawing inside OpenVG plugin
+     * 
+     * @return   CNvgEngine object
+     */
+    CNvgEngine& NvgEngine() const;
 #endif
 
+    /**
+     * Getter for hardware configuration flags (rendering quality Accurate / Fast)
+     */
+    TInt GetHwConfigurationFlags() const;
+    
 	/**
 	*  Getter for texture upload context. This is called by CHuiVg10Texture.
 	*/
@@ -366,6 +371,9 @@
     MVGImageBinder* iMVGImageBinder;
 #endif
     
+    // Hardware configuration, fetched from CenRep
+    TInt iHwConf;
+    
     TBool iAllowsSwapBufferPreserved;
     TBool iAllowsVisualPBufferSurfaces;