mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-25 23:10:23 +01:00
update some comments
This commit is contained in:
parent
a3d2c69e61
commit
39591da355
1 changed files with 5 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue