demo3.c,  ./a.out <br>libEGL warning: failed to create DRM screen<br>libEGL warning: use software fallback<br>EGL version = 1.4<br>EGL_VENDOR = Mesa Project<br>EGL_MESA_screen_surface is not supported<br><br>./configure --prefix=/usr --enable-gallium-llvm --enable-gallium-i915 --with-dri-drivers=i915 --enable-gallium-i965=disable --enable-gallium-radeon=disable<br>
     EGL:             glx  ???? It&#39;s right. seems i don&#39;t need it. Thanks.<br><br><br><br>prefix  :          /usr<br>        exec_prefix:     ${prefix}<br>        libdir:          ${exec_prefix}/lib<br>        includedir:      ${prefix}/include<br>
<br>        Driver:          dri<br>        OSMesa:          no<br>        DRI drivers:     i915<br>        DRI driver dir:  ${libdir}/dri<br>        Use XCB:         no<br><br>        llvm:            no<br><br>        Gallium:         yes<br>
        Gallium dirs:    auxiliary drivers state_trackers<br>        Target dirs:      egl dri-i915 dri-swrast<br>        Winsys dirs:     sw sw/xlib sw/dri i915/sw i915/drm<br>        Driver dirs:     softpipe failover galahad trace rbug identity svga i915<br>
        Trackers dirs:   dri egl<br>        EGL client APIs: $(GL_LIB)<br><br>        Shared libs:     yes<br>        Static libs:     no<br>        EGL:             glx <br>        EGL platforms:   x11 drm<br>        GLU:             yes<br>
        GLw:             yes (Motif: no)<br>        glut:            no<br><br>        CFLAGS:          -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing -fPIC<br>        CXXFLAGS:        -g -O2 -Wall -fvisibility=hidden -fno-strict-aliasing -fPIC<br>
        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<br>
<br>        Run &#39;make&#39; to build Mesa<br><br><br><br><br>