diff -r c9d868f1e20c -r 1801340c26a2 uiacceltk/hitchcock/coretoolkit/rendervg10/inc/HuiVg10RenderPlugin.h --- 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. */