uiacceltk/hitchcock/coretoolkit/rendervg10/inc/HuiVg10RenderPlugin.h
branchRCL_3
changeset 17 3ac8bf5c5014
parent 0 15bf7259bb7c
child 50 1801340c26a2
equal deleted inserted replaced
11:46927d61fef3 17:3ac8bf5c5014
   257 	TBool IsHardwareAccelerated();
   257 	TBool IsHardwareAccelerated();
   258 	
   258 	
   259     /**
   259     /**
   260      * Creates a new instance of a canvas graphics context.
   260      * Creates a new instance of a canvas graphics context.
   261      */
   261      */
   262    virtual CHuiCanvasGc* CreateCanvasGcL();
   262     virtual CHuiCanvasGc* CreateCanvasGcL();
   263 
   263 
   264    /**
   264     /**
   265     * Used to set flags that describe how the openvg state has changed.
   265      * Used to set flags that describe how the openvg state has changed.
   266     */
   266      */
   267    virtual void AddRestoreStateFlags(TInt aFlags);
   267     virtual void AddRestoreStateFlags(TInt aFlags);
   268    
   268    
   269    /**
   269     /**
   270     * Return the flags, e.g. for vg10gc to reset its state
   270      * Return the flags, e.g. for vg10gc to reset its state
   271     */
   271      */
   272    virtual TInt GetRestoreStateFlags();
   272     virtual TInt GetRestoreStateFlags();
   273    
   273    
   274    /**
   274     /**
   275     * Clear the stateflags
   275      * Clear the stateflags
   276     */
   276      */
   277    virtual void ClearRestoreStateFlags();
   277     virtual void ClearRestoreStateFlags();
   278    
   278    
   279 #ifdef __NVG
   279 #ifdef __NVG
   280    /**
   280     /**
   281     * Getter for NVGEngine, to be used with NVG drawing inside OpenVG plugin
   281      * Getter for NVGEngine, to be used with NVG drawing inside OpenVG plugin
   282     * 
   282      * 
   283     * @return   CNvgEngine object
   283      * @return   CNvgEngine object
   284     */
   284      */
   285    CNvgEngine& NvgEngine() const;
   285     CNvgEngine& NvgEngine() const;
   286 #endif
   286 #endif
   287 
   287 
       
   288     /**
       
   289      * Getter for hardware configuration flags (rendering quality Accurate / Fast)
       
   290      */
       
   291     TInt GetHwConfigurationFlags() const;
       
   292     
   288 	/**
   293 	/**
   289 	*  Getter for texture upload context. This is called by CHuiVg10Texture.
   294 	*  Getter for texture upload context. This is called by CHuiVg10Texture.
   290 	*/
   295 	*/
   291     TEGLState& GetUploadState()
   296     TEGLState& GetUploadState()
   292 	    {
   297 	    {
   364     CNvgEngine* iNvgEngine;
   369     CNvgEngine* iNvgEngine;
   365     /** Image binder for NVG-TLV "Group opacity" special case */
   370     /** Image binder for NVG-TLV "Group opacity" special case */
   366     MVGImageBinder* iMVGImageBinder;
   371     MVGImageBinder* iMVGImageBinder;
   367 #endif
   372 #endif
   368     
   373     
       
   374     // Hardware configuration, fetched from CenRep
       
   375     TInt iHwConf;
       
   376     
   369     TBool iAllowsSwapBufferPreserved;
   377     TBool iAllowsSwapBufferPreserved;
   370     TBool iAllowsVisualPBufferSurfaces;
   378     TBool iAllowsVisualPBufferSurfaces;
   371     
   379     
   372 	// This is initialized by CHuiVg10Texture during first texture upload
   380 	// This is initialized by CHuiVg10Texture during first texture upload
   373     TEGLState iEGLStateForTextureUpload;
   381     TEGLState iEGLStateForTextureUpload;