[Mesa-dev] How can I build a libGL.so library with i965 support.

Matt Turner mattst88 at gmail.com
Mon Jul 30 20:45:49 PDT 2012


On Mon, Jul 30, 2012 at 8:26 PM, chris <wwzbwwzb at 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)


More information about the mesa-dev mailing list