From d548bf41d3a0fe443494f94f745d1fe49e5e432c Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 27 Nov 2005 23:57:19 +0000 Subject: Redo _eglInitSurface() so it can be used with all surface types. Redo _eglInitContext() to do error checking, attribute list parsing, etc. --- src/egl/main/eglsurface.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/egl/main/eglsurface.h') diff --git a/src/egl/main/eglsurface.h b/src/egl/main/eglsurface.h index 4853edfcd1..bbe399211f 100644 --- a/src/egl/main/eglsurface.h +++ b/src/egl/main/eglsurface.h @@ -28,8 +28,10 @@ struct _egl_surface }; -extern void -_eglInitSurface(_EGLSurface *surf); +extern EGLBoolean +_eglInitSurface(_EGLDriver *drv, EGLDisplay dpy, + _EGLSurface *surf, EGLint type, EGLConfig config, + const EGLint *attrib_list); extern void @@ -92,9 +94,4 @@ extern EGLBoolean _eglSwapInterval(_EGLDriver *drv, EGLDisplay dpy, EGLint interval); - -extern EGLSurface -_eglInitPbufferSurface(_EGLSurface *surface, _EGLDriver *drv, EGLDisplay dpy, - EGLConfig config, const EGLint *attrib_list); - #endif /* EGLSURFACE_INCLUDED */ -- cgit v1.2.3