diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-11-23 01:42:40 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-11-23 01:42:40 +0000 |
commit | 39591da355dcbc759c391465ec6b6b56ca3fa12b (patch) | |
tree | 73c554e7d4175bc3fbf4b70382edba5f94f43854 /src/egl/main | |
parent | a3d2c69e6173432c1dc608a253c89deb6d2e116d (diff) | |
download | external_mesa3d-39591da355dcbc759c391465ec6b6b56ca3fa12b.zip external_mesa3d-39591da355dcbc759c391465ec6b6b56ca3fa12b.tar.gz external_mesa3d-39591da355dcbc759c391465ec6b6b56ca3fa12b.tar.bz2 |
update some comments
Diffstat (limited to 'src/egl/main')
-rw-r--r-- | src/egl/main/eglsurface.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/egl/main/eglsurface.c b/src/egl/main/eglsurface.c index 94b86fa..fdc2de6 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; } |