[Mesa-dev] [Bug 75751] egl_gallium always requires libdrm

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 4 07:03:40 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=75751

--- Comment #2 from Chia-I Wu <olvaffe at gmail.com> ---
(In reply to comment #1)
> When I temporarily disabled the libdrm check, Mesa built fine with this
> configuration and the 'es2gears' demo ran without problems.
Right, libdrm should not be needed in your configuration.

> But there's another case related to this which doesn't seem right:
> 
> With the same configuration, if libdrm is available, it gets linked to
> libGLESv2.so and egl_gallium.so, even though it should not be needed.
It looks like the dependency is brought in by libloader (src/loader/).  It is
unnecessary for the configuration, but is no harm.  It is potentially useful
when egl_gallium can do accelerated rendering on fbdev.
> In my understanding, if '--disable-dri' is given, libdrm should neither be a
> requirement of the configure script nor should it get linked/used if it is
> available.
--disable-dri disables DRI drivers.

I will leave the bug open as I might not be able to fix it anytime soon. 
Patches are welcomed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140304/771105d8/attachment.html>


More information about the mesa-dev mailing list