[Mesa-dev] [PATCH 00/14] meson: most of gallium
Dylan Baker
dylan at pnwbakers.com
Wed Nov 29 18:14:37 UTC 2017
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.
>
> after disabling osmesa (see comment on patch 6), I was able to build it.
> Installation seems to be confused:
> lib64/d3d contains the dri drivers (lib64/dri)
> lib64/dri contains only the video driver (r600_drv_video.so)
This should be fixed now
>
> 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.
>
>
> A bit offtopic, I found the following headers are not installed (not sure if
> they are required):
> GL/glxext.h
> GLES31/gl31.h
Ohh, yes, those are missing, I'll send patches for those
>
> my config:
>
> -Dgallium-drivers=r600,swrast \
> -Dvulkan-drivers= \
> -Dtexture-float=true \
> -Dgles1=true -Dgles2=true \
> -Dgallium-media=omx,va,vdpau,xvmc,nine \
I dropped the gallium-media option, so that we could configure these as
tri-states (auto, true, false), which we need to support macOS and Windows.
Instead:
-Dgallium-omx=true
-Dgallium-va=true
-Dgallium-vdpau=true
-Dgallium-xvmc=true
(These will be turned on automatically if you're on Linux/BSD and you have
enabled a driver that supports them)
This defaults to false, so you need:
-Dgallium-nine=true
There is a patch pending for meson to warn (and eventually error) when passing
unknown command line options.
Dylan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171129/bb8dd34d/attachment.sig>
More information about the mesa-dev
mailing list