On Mon, Jul 30, 2012 at 8:26 PM, chris <wwzbw...@163.com> wrote: > In file of "src/gallium/state_trackers/egl/x11/native_dri2.c" > How can I enable the GLX_DIRECT_RENDERING definition in configure time. > GLX_DIRECT_RENDERING is defaultly no defined. so x11_create_dri2_display() > is empty. > > My OS is ubuntu 10.04 lucid. > Can someone help me?
The only supported i965 driver is of the 'classic' variety, not Gallium. So, the source file you've referenced isn't useful for i965. To build Mesa with i965, you'd configure it with ./configure --with-dri-drivers=i965 (and maybe --with-gallium-drivers= since you don't want Gallium) _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev