summaryrefslogtreecommitdiff
path: root/src/egl/main/eglmode.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-12-10 17:52:11 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-12-10 17:52:11 +0000
commitad6f8eba00359fcb7abff8105dcb7a9dd2f32fec (patch)
treeb5321cc7da10ed4dc5a2f878537feaa3d75cbadc /src/egl/main/eglmode.h
parent6002d2ff4ed9f465d1c5bf05caea83f1522ecf3d (diff)
lots of updates, mode sorting, etc
Diffstat (limited to 'src/egl/main/eglmode.h')
-rw-r--r--src/egl/main/eglmode.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/egl/main/eglmode.h b/src/egl/main/eglmode.h
index ed2f022d05..e70da85759 100644
--- a/src/egl/main/eglmode.h
+++ b/src/egl/main/eglmode.h
@@ -12,7 +12,8 @@ struct _egl_mode
EGLModeMESA Handle; /* the public/opaque handle which names this mode */
EGLint Width, Height; /* size in pixels */
EGLint RefreshRate; /* rate * 1000.0 */
- EGLBoolean Stereo;
+ EGLint Optimal;
+ EGLint Interlaced;
const char *Name;
/* Other possible attributes */
@@ -26,8 +27,8 @@ _eglLookupMode(EGLDisplay dpy, EGLModeMESA mode);
extern _EGLMode *
-_eglAddMode(_EGLScreen *screen, EGLint width, EGLint height,
- EGLint refreshRate, const char *name);
+_eglAddNewMode(_EGLScreen *screen, EGLint width, EGLint height,
+ EGLint refreshRate, const char *name);
extern EGLBoolean