uiacceltk/hitchcock/coretoolkit/rendervg10/inc/HuiVg10RenderPlugin.h
branchRCL_3
changeset 18 1801340c26a2
parent 9 3ac8bf5c5014
child 19 e5af45d51884
--- a/uiacceltk/hitchcock/coretoolkit/rendervg10/inc/HuiVg10RenderPlugin.h	Thu Jul 15 19:40:07 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/rendervg10/inc/HuiVg10RenderPlugin.h	Thu Aug 19 10:48:02 2010 +0300
@@ -298,6 +298,15 @@
 	    return iEGLStateForTextureUpload;
 	    }
 	
+    /**
+     * Helper function for creating new PBuffer surfaces.
+	 * If out of memory happens this method tries to internally free all
+	 * the possible memory that can be freed and tries again. If still there is
+	 * not enough available memory EGL_NO_SURFACE is returned
+     */
+    EGLSurface CreatePBufferSurface(EGLDisplay aDisplay,
+                EGLenum aBuffertype, EGLClientBuffer aBuffer, EGLConfig aConfig);
+    
 protected:
 
     /* Constructors. */