diff -r e5af45d51884 -r 31fccae4f8a7 uiacceltk/hitchcock/coretoolkit/rendervg10/inc/HuiVg10RenderPlugin.h --- a/uiacceltk/hitchcock/coretoolkit/rendervg10/inc/HuiVg10RenderPlugin.h Tue Aug 31 16:07:35 2010 +0300 +++ b/uiacceltk/hitchcock/coretoolkit/rendervg10/inc/HuiVg10RenderPlugin.h Wed Sep 01 12:16:53 2010 +0100 @@ -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. */