EGL_MESA_screen_surface version 2

Michel Danzer mdanzer at ati.com
Thu Mar 17 12:53:44 PST 2005


On Wed, 2005-03-16 at 19:20 -0700, Brian Paul wrote:
> 
>     EGLBoolean eglChooseModeMESA(EGLDisplay dpy, const EGLint *attrib_list,
>                                  EGLModeMESA *modes, EGLint modes_size,
>                                  EGLint *num_modes)
> 
>     Like eglChooseConfig, returns a list of EGLModes which match the given
>     attribute list.  This does not set the screen's current display mode.
>     The attribute list is a list of token/value pairs terminated with
>     EGL_NONE.  Supported attributes include:
> 
>         Name               Description
>         -----------------  ---------------------------------------------
>         EGL_WIDTH          Mode width (resolution)
>         EGL_HEIGHT         Mode height (resolution)
>         EGL_REFRESH_RATE   The mode's refresh rate, multiplied by 1000
>         EGL_INTERLACED     1 indicates an interlaced mode, 0 otherwise

On second thought, EGL_INTERLACED does seem out of place here, it might
better be left for another extension that facilitates playback of
interlaced video material. What does everybody else think?


-- 
Michel Danzer, Linux Software Engineering       \   Tel: +1 905-882-2600
ATI Technologies Inc., Markham, Ontario, Canada  \       Extension: 3550



More information about the dri-egl mailing list