From 39591da355dcbc759c391465ec6b6b56ca3fa12b Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 23 Nov 2005 01:42:40 +0000 Subject: update some comments --- src/egl/main/eglsurface.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/egl/main/eglsurface.c') diff --git a/src/egl/main/eglsurface.c b/src/egl/main/eglsurface.c index 94b86fa982..fdc2de6236 100644 --- a/src/egl/main/eglsurface.c +++ b/src/egl/main/eglsurface.c @@ -68,7 +68,9 @@ _eglGetCurrentSurface(EGLint readdraw) EGLBoolean _eglSwapBuffers(_EGLDriver *drv, EGLDisplay dpy, EGLSurface draw) { - /* Basically just do error checking */ + /* Basically just do error checking here. Drivers have to do the + * actual buffer swap. + */ _EGLContext *context = _eglGetCurrentContext(); _EGLSurface *surface = _eglLookupSurface(draw); if (context && context->DrawSurface != surface) { @@ -86,7 +88,8 @@ _eglSwapBuffers(_EGLDriver *drv, EGLDisplay dpy, EGLSurface draw) EGLBoolean _eglCopyBuffers(_EGLDriver *drv, EGLDisplay dpy, EGLSurface surface, NativePixmapType target) { - /* XXX unfinished */ + /* copy surface to native pixmap */ + /* All implementation burdon for this is in the device driver */ return EGL_FALSE; } -- cgit v1.2.3