diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-11-27 23:57:19 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-11-27 23:57:19 +0000 |
commit | d548bf41d3a0fe443494f94f745d1fe49e5e432c (patch) | |
tree | cab77e3db7da666f4403b0811ec5d86556e3efbd /src/egl/main/eglsurface.h | |
parent | 49b2d2e90f524d8d404de4b618dcd6250a14667a (diff) |
Redo _eglInitSurface() so it can be used with all surface types.
Redo _eglInitContext() to do error checking, attribute list parsing, etc.
Diffstat (limited to 'src/egl/main/eglsurface.h')
-rw-r--r-- | src/egl/main/eglsurface.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/egl/main/eglsurface.h b/src/egl/main/eglsurface.h index 4853edfcd1e..bbe399211fd 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 */ |