[Mesa-dev] [PATCH 0/6] Meson round 3, classic drivers

Dylan Baker dylan at pnwbakers.com
Wed Oct 4 00:26:43 UTC 2017


This series adds support for building the two classic drivers that I could
readily test, i965 and swrast. The main point is not to turn on drivers atm, but
to demonstrate that the underlying stack is being compiled correctly and that
the meson is correct and understandable; and to allow others wanting to work on
related code (like Eric on egl) to do so.

I have gallium patches that build radeonSi, but there's still some bugs there,
so I'm starting with this.

There are a number of TODO comments in this code for meson itself, several of
these bugs are addressed in meson 0.43.0 which is due out on the 8th.

Dylan Baker (6):
  meson: Build i965 and dri stack
  meson: build glx
  meson: Add support for configuring dri drivers directory.
  meson: build gbm
  meson_options: Remove extra whitespace between parameters
  meson: build classic swrast

 bin/install_megadrivers.py                         |  68 +++
 include/meson.build                                |  38 ++
 meson.build                                        | 294 +++++++++--
 meson_options.txt                                  |  31 +-
 src/compiler/{ => glsl/glcpp}/meson.build          |  57 +-
 src/compiler/glsl/meson.build                      | 229 +++++++-
 src/compiler/glsl/tests/meson.build                |  76 +++
 src/compiler/meson.build                           |  12 +-
 src/compiler/nir/meson.build                       |   1 +
 src/{compiler => gbm}/meson.build                  |  72 +--
 src/git_sha1.h.in                                  |   1 +
 src/glx/meson.build                                | 182 +++++++
 src/{compiler/glsl => loader}/meson.build          |  29 +-
 src/{compiler/glsl => mapi/es1api}/meson.build     |  39 +-
 src/{compiler/glsl => mapi/es2api}/meson.build     |  38 +-
 src/mapi/glapi/gen/meson.build                     | 271 ++++++++++
 src/mapi/glapi/meson.build                         |  83 +++
 {include => src/mapi}/meson.build                  |  19 +-
 src/mapi/shared-glapi/meson.build                  |  61 +++
 src/mapi/shared-glapi/tests/check_table.cpp        |   6 +-
 .../glsl => mesa/drivers/dri/common}/meson.build   |  24 +-
 src/mesa/drivers/dri/i965/meson.build              | 177 +++++++
 src/mesa/drivers/dri/meson.build                   |  62 +++
 .../mesa/drivers/dri/swrast}/meson.build           |  10 +-
 src/{compiler/glsl => mesa/main}/meson.build       |  29 +-
 src/mesa/meson.build                               | 583 +++++++++++++++++++++
 src/{compiler/glsl => mesa/program}/meson.build    |  18 +-
 src/meson.build                                    |  35 +-
 src/util/meson.build                               |   3 +-
 src/{compiler/glsl => util/xmlpool}/meson.build    |  13 +-
 30 files changed, 2376 insertions(+), 185 deletions(-)
 create mode 100755 bin/install_megadrivers.py
 copy src/compiler/{ => glsl/glcpp}/meson.build (58%)
 create mode 100644 src/compiler/glsl/tests/meson.build
 copy src/{compiler => gbm}/meson.build (50%)
 create mode 100644 src/git_sha1.h.in
 create mode 100644 src/glx/meson.build
 copy src/{compiler/glsl => loader}/meson.build (61%)
 copy src/{compiler/glsl => mapi/es1api}/meson.build (53%)
 copy src/{compiler/glsl => mapi/es2api}/meson.build (54%)
 create mode 100644 src/mapi/glapi/meson.build
 copy {include => src/mapi}/meson.build (81%)
 create mode 100644 src/mapi/shared-glapi/meson.build
 copy src/{compiler/glsl => mesa/drivers/dri/common}/meson.build (69%)
 create mode 100644 src/mesa/drivers/dri/i965/meson.build
 create mode 100644 src/mesa/drivers/dri/meson.build
 copy {include => src/mesa/drivers/dri/swrast}/meson.build (82%)
 copy src/{compiler/glsl => mesa/main}/meson.build (55%)
 create mode 100644 src/mesa/meson.build
 copy src/{compiler/glsl => mesa/program}/meson.build (74%)
 copy src/{compiler/glsl => util/xmlpool}/meson.build (80%)

-- 
2.14.1



More information about the mesa-dev mailing list