On Sun, Oct 24, 2010 at 7:59 PM, xiaoxiaomuyu
<xiaoxiaomuyusajiangt...@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.
>



-- 
o...@lunarg.com
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to