[Mesa-dev] [PATCH 00/14] meson: most of gallium

Marc Dietrich marvin24 at gmx.de
Thu Nov 30 09:12:42 UTC 2017


Hi Dylan,

Am Mittwoch, 29. November 2017, 19:14:37 CET schrieb Dylan Baker:
> Quoting Marc Dietrich (2017-11-29 04:31:07)
> 
> > Hi Dylan,
> > 
> > Am Mittwoch, 29. November 2017, 00:30:21 CET schrieb Dylan Baker:
> > > This series is the gallium media state trackers, the "nine" Direct3D
> > > state
> > > tracker, and an architectural change in the way gallium drivers are
> > > linked
> > > into the final targets.
> > > 
> > > This architectural change results in a good deal of code savings, as
> > > well as ensuring that generated targets are generated before the
> > > targets that depend on them are built. It makes use of meson's
> > > `declare_dependency` construct to pass bundled arguments, and the
> > > result is somewhat similar to the way that autotools uses the
> > > Automake.inc files.
> > > 
> > > The returning state trackers are the same as the v5 of the remaining
> > > drivers + media series, but now making use of the internal dependencies,
> > > and are joined by the D3D "nine" state tracker.
> > 
> >    pkgconfig/d3d.pc is not installed
> >    pkgconfig/dri.pc is not installed (is it needed for gallium only
> >    drivers?)
> 
> d3d.pc not being installed is bad, but I think it's your configuration.
> I'm not sure about dri.pc, that's a good question. It's created in
> src/mesa/drivers/dri, but I could see it being correct to install if the
> gallium drivers are built using dri.


ok, I adjusted the config and it works now. The question remains if dri.pc 
should be installed or not. I think it is only useful if you want to develop 
your own dri driver, so if one disables dri drivers, I guess it can be left 
out. 

On my distro (openSUSE tumbleweed) I see the following contents of Mesa-dri-
devel:

# rpm -ql Mesa-dri-devel-17.2.5-179.1.x86_64
/usr/include/GL/internal
/usr/include/GL/internal/dri_interface.h
/usr/lib64/pkgconfig/dri.pc

I think in any case GL/internal/dri_interface.h is missing and should be added 
to meson.

Marc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171130/fda253dc/attachment.sig>


More information about the mesa-dev mailing list