diff options
author | Jon Smirl <[email protected]> | 2005-05-13 18:31:35 +0000 |
---|---|---|
committer | Jon Smirl <[email protected]> | 2005-05-13 18:31:35 +0000 |
commit | 7012d01d888d482f2c6ad1180231a482026d213a (patch) | |
tree | 426deb1a0de72921bf19851243443ab570d896f6 /src/egl/main/eglmode.h | |
parent | a6ed129dfc4ccfd898d347543f745f0b7745e31d (diff) |
First attempt at getting egl support up on dumb framebuffer.
Seems to be mostly working. Not all of egl API is implemented.
Diffstat (limited to 'src/egl/main/eglmode.h')
-rw-r--r-- | src/egl/main/eglmode.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/egl/main/eglmode.h b/src/egl/main/eglmode.h index fa6d8e48fc1..71adef42ed4 100644 --- a/src/egl/main/eglmode.h +++ b/src/egl/main/eglmode.h @@ -11,9 +11,9 @@ struct _egl_mode { EGLModeMESA Handle; /* the public/opaque handle which names this mode */ EGLint Width, Height; /* size in pixels */ - EGLint Depth; /* bits per pixel */ EGLint RefreshRate; /* rate * 1000.0 */ EGLBoolean Stereo; + char *Name; /* Other possible attributes */ /* interlaced */ @@ -27,7 +27,7 @@ _eglLookupMode(EGLDisplay dpy, EGLModeMESA mode); extern _EGLMode * _eglAddMode(_EGLScreen *screen, EGLint width, EGLint height, - EGLint depth, EGLint refreshRate); + EGLint refreshRate, char *name); extern EGLBoolean @@ -46,5 +46,8 @@ _eglGetModeAttribMESA(_EGLDriver *drv, EGLDisplay dpy, EGLModeMESA mode, EGLint attribute, EGLint *value); +extern const char * +_eglQueryModeStringMESA(_EGLDriver *drv, EGLDisplay dpy, EGLModeMESA mode); + #endif /* EGLMODE_INCLUDED */ |