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

Chia-I Wu olvaffe at gmail.com
Thu Oct 21 06:45:10 PDT 2010


On Sun, Oct 17, 2010 at 3:24 PM, xiaoxiaomuyu
<xiaoxiaomuyusajiangtian at gmail.com> wrote:
> demo3.c,  ./a.out
> libEGL warning: failed to create DRM screen
> libEGL warning: use software fallback
> EGL version = 1.4
> EGL_VENDOR = Mesa Project
> EGL_MESA_screen_surface is not supported
Unless you compile mesa with --with-egl-platforms=drm given, otherwise
you need to

  $ export EGL_PLATFORM=drm

at runtime.
> ./configure --prefix=/usr --enable-gallium-llvm --enable-gallium-i915
> --with-dri-drivers=i915 --enable-gallium-i965=disable
> --enable-gallium-radeon=disable
>      EGL:             glx  ???? It's right. seems i don't need it. Thanks.
>
>
>
> prefix  :          /usr
>         exec_prefix:     ${prefix}
>         libdir:          ${exec_prefix}/lib
>         includedir:      ${prefix}/include
>
>         Driver:          dri
>         OSMesa:          no
>         DRI drivers:     i915
>         DRI driver dir:  ${libdir}/dri
>         Use XCB:         no
>
>         llvm:            no
>
>         Gallium:         yes
>         Gallium dirs:    auxiliary drivers state_trackers
>         Target dirs:      egl dri-i915 dri-swrast
>         Winsys dirs:     sw sw/xlib sw/dri i915/sw i915/drm
>         Driver dirs:     softpipe failover galahad trace rbug identity svga
> i915
>         Trackers dirs:   dri egl
>         EGL client APIs: $(GL_LIB)
>
>         Shared libs:     yes
>         Static libs:     no
>         EGL:             glx
>         EGL platforms:   x11 drm
>         GLU:             yes
>         GLw:             yes (Motif: no)
>         glut:            no
>
>         CFLAGS:          -g -O2 -Wall -Wmissing-prototypes -std=c99
> -ffast-math -fvisibility=hidden -fno-strict-aliasing -fPIC
>         CXXFLAGS:        -g -O2 -Wall -fvisibility=hidden
> -fno-strict-aliasing -fPIC
>         Macros:          -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN
> -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
> -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DUSE_X86_ASM -DUSE_MMX_ASM
> -DUSE_3DNOW_ASM -DUSE_SSE_ASM
>
>         Run 'make' to build Mesa
>
>
>
>
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
>



-- 
olv at LunarG.com


More information about the mesa-dev mailing list