[Mesa-dev] How to compile MESA7.9 to support EGL_MESA_screen_surface.

Chia-I Wu olvaffe at gmail.com
Sun Oct 24 08:13:26 PDT 2010


On Sun, Oct 24, 2010 at 7:59 PM, xiaoxiaomuyu
<xiaoxiaomuyusajiangtian at gmail.com> wrote:
> Thanks again.
>
> EGL:             glx   ----> what's it for?
It is an EGL driver that does EGL-over-GLX.  A call to eglMakeCurrent
is translated to glXMakeCurrent, for example.  It is almost always
enabled (as libGL is almost always built).
> EGL platforms:   x11 drm ----> for nothing? Have to explicitly indicate
> --with-egl-platforms=drm??
It means both x11 and drm platforms are supported and the native
platform, the first one listed, is x11: EGLNativeDisplayType is
assumed to be Display *.  You may change the native platform at
runtime by setting EGL_PLATFORM or at compile time by specifying
--with-egl-platforms.
> By the way, what's the difference among egl surfaces of pbuffer, screen,
> window, bitmap?
Screen surface is a surface from which a GPU can be programmed to scan
out.  It is defined by a Mesa extension.  The others are the same as those
in GLX.
>
> Cheers.
>



-- 
olv at LunarG.com


More information about the mesa-dev mailing list