Bug 6980

Summary: Need to be able to build both dri and osmesa capable library at the same time
Product: Mesa Reporter: Orion Poplawski <orion>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: 6.5   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Orion Poplawski 2006-05-20 07:01:11 UTC
Currently it appears that you cannot build both a dri capable libGL and an
osmesa capable libGL at the same time.  This causes trouble for distributions
that are trying to provide generic, full featured libraries that can operate on
a wide range of hardware.
Comment 1 Samuel Audet 2006-05-25 00:28:34 UTC
Not only that.. I would like part of an application to use off-screen rendering,
but the other part would use DRI. It used to work with previous versions of
Mesa, 6.2.1 in particular.

I would be very happy to hear of a patch or workaround for this.. thanks
Comment 2 Dan Nicholson 2009-05-31 10:48:40 UTC
I'm pretty sure you can do this now with autoconf by using ./configure --enable-driver=dri --enable-gl-osmesa. That links libOSMesa to libGL like configs/default.
Comment 3 Matt Turner 2012-10-10 21:42:54 UTC
This is possible. Closing.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.