EGL_MESA_screen_surface version 7

Brian Paul brian.paul at tungstengraphics.com
Fri Apr 29 11:34:50 PDT 2005


Jon Smirl wrote:
> eglGetScreensMESA() removes the need for this:
> 
>     EGLBoolean eglQueryDisplayMESA(EGLDisplay dpy, EGLScreenMESA screen,
>                                   EGLint attrib, EGLint *value)
> 
>    Used to query display parameters.  <attrib> may be one of the following:
> 
>        Name                   Return value description
>        ---------------------  ---------------------------------------------
>        EGL_SCREEN_COUNT_MESA  Current number of screens available.
> 

Right.

eglGetScreensMESA() can return only the number of screens and not the 
screen handles themselves if the <screens> parameter is NULL.  Just 
like eglGetConfigs().

-Brian


More information about the dri-egl mailing list