Dylan Baker
cdde031ac2
classic/i965: Remove driver
...
Reviewed-by: Emma Anholt <emma@anholt.net >
Acked-by: Jason Ekstrand <jason@jlekstrand.net >
Acked-by: Kenneth Graunke <kenneth@whitecape.org >
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10153 >
2021-12-03 23:53:06 +00:00
Dylan Baker
0cad451f00
classic/i915: Remove driver
...
This is only going to be supported in the Amber branch
Reviewed-by: Emma Anholt <emma@anholt.net >
Acked-by: Jason Ekstrand <jason@jlekstrand.net >
Acked-by: Kenneth Graunke <kenneth@whitecape.org >
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10153 >
2021-12-03 23:53:06 +00:00
Dylan Baker
f464871932
classic/nouveau: Remove driver
...
This will now only be available in the Amber branch
Reviewed-by: Emma Anholt <emma@anholt.net >
Acked-by: Jason Ekstrand <jason@jlekstrand.net >
Acked-by: Kenneth Graunke <kenneth@whitecape.org >
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10153 >
2021-12-03 23:53:06 +00:00
Dylan Baker
184a690fca
classic/r200: Delete driver
...
This will now only be available on the Amber branch
Reviewed-by: Emma Anholt <emma@anholt.net >
Acked-by: Jason Ekstrand <jason@jlekstrand.net >
Acked-by: Kenneth Graunke <kenneth@whitecape.org >
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10153 >
2021-12-03 23:53:06 +00:00
Dylan Baker
4d45b280bf
classic/r100: Delete driver
...
This is now only going to be available in the Amber branch
Reviewed-by: Emma Anholt <emma@anholt.net >
Acked-by: Jason Ekstrand <jason@jlekstrand.net >
Acked-by: Kenneth Graunke <kenneth@whitecape.org >
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10153 >
2021-12-03 23:53:06 +00:00
Adam Jackson
76791db088
mesa/x11: Remove the swrast-classic-based fake libGL
...
If you want this you will almost certainly be happier with the gallium
version, giving you llvmpipe instead of swrast-classic.
Reviewed-by: Emma Anholt <emma@anholt.net >
Reviewed-by: Dylan Baker <dylan@pnwbakers.com >
Acked-by: Jason Ekstrand <jason@jlekstrand.net >
Acked-by: Kenneth Graunke <kenneth@whitecape.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10153 >
2021-12-03 23:53:06 +00:00
Alex Xu (Hello71)
3161bc5c1a
meson: check for lld split TLSDESC bug ( fixes #5665 )
...
Reviewed-by: Emma Anholt <emma@anholt.net >
Tested-by: Michel Dänzer <mdaenzer@redhat.com >
Signed-off-by: Alex Xu (Hello71) <alex_y_xu@yahoo.ca >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13934 >
2021-12-02 09:18:50 -08:00
Jesse Natalie
c47fd3dc00
windows: Use TLS context/dispatch with shared-glapi
...
However they have to be called via _glapi_get_dispatch/context. This
would be safe to do on any platform, but the extra indirection is only
necessary on Windows since TLS vars can't be exported from a DLL.
Reviewed-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13634 >
2021-12-02 03:03:14 +00:00
Leandro Ribeiro
83916ae0b9
egl/wayland: add initial dma-buf feedback support
...
This bumps the supported dma-buf version up to 4 and adds the initial
dma-buf feedback implementation. It follows the changes in the dma-buf
protocol extension [1] to include the dma-buf feedback interface, which
should be incorporated by most Wayland compositors in the future.
From version 4 onwards, the dma-buf modifier events are not sent by the
compositor anymore, so we use the default feedback to pick the set of
formats/modifiers supported by the compositor. Also, we try to avoid the
wl_drm device event and instead use the dma-buf feedback main device. We
only fallback to wl_drm when the compositor advertises a device that
does not have a render node associated.
In this initial dma-buf feedback implementation we still don't do
anything with the per-surface dma-buf feedback, but in the next commits
we add proper support.
It's important to mention that this also bumps the minimal supported
version of wayland-protocols to 1.24, in order to include [1].
[1] https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/8
This patch is based on previous work of Scott Anderson (@ascent).
Signed-off-by: Scott Anderson <scott.anderson@collabora.com >
Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com >
Reviewed-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11248 >
2021-11-26 16:06:09 +00:00
Leandro Ribeiro
a25d4dd276
loader: add function to get render node from dev_t
...
Add function loader_get_render_node() to help us to get a render node
from dev_t. If the device does not expose a render node, this new
function returns NULL.
As this function uses drmGetDeviceFromDevId(), we bump libdrm minimal
version to 2.4.109.
Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com >
Reviewed-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11248 >
2021-11-26 16:06:09 +00:00
Alejandro Piñeiro
f8009d3db2
meson: bump meson requirement to 0.53.0
...
Needed to avoid the following error:
meson.build:936:0: ERROR: Tried to access unknown option "cpp_rtti"
Fixes: ad86267412
("meson: Don't override built-in cpp_rtti option, error if it's invalid")
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Reviewed-by: Dylan Baker <dylan@pnwbakers.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13905 >
2021-11-24 21:45:37 +00:00
Georg Lehmann
a6f783948d
meson: Remove some unnecessary loops.
...
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com >
Reviewed-by: Dylan Baker <dylan@pnwbakers.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11609 >
2021-11-24 07:03:54 +00:00
Georg Lehmann
6c89f09b7b
meson: Use get_supported_arguments more often.
...
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com >
Reviewed-by: Dylan Baker <dylan@pnwbakers.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11609 >
2021-11-24 07:03:54 +00:00
Alex Xu (Hello71)
60d95c5d0f
Auto-enable TLSDESC support
...
TLSDESC speeds up access to dynamic TLS. This is especially important
for non-glibc targets, but is also helpful for non-initial-exec TLS
variables.
The entry asm does not support TLSDESC, but it only accesses
initial-exec symbols, so it is not necessary to handle that separately.
Acked-by: Tapani Pälli <tapani.palli@intel.com >
Acked-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12722 >
2021-11-20 11:57:40 -05:00
Alex Xu (Hello71)
8570a2a280
Use initial-exec TLS for glibc only, enable TLS elsewhere
...
It is not portable to use initial-exec TLS in dlopened libraries. glibc
and FreeBSD allocate extra memory for extra initial-exec variables
specifically for libGL, but other libcs including musl do not.
Keep initial-exec disabled on FreeBSD since it is apparently broken for
some reason:
https://gitlab.freedesktop.org/mesa/mesa/-/issues/966#note_394512
81dbdb15d5
Enable TLS on OpenBSD and Haiku based on the u_thread.h comment that
emutls is better than pthread_getspecific, which seems plausible given
that emutls has strictly more information to work with.
Fixes #966 .
Acked-by: Tapani Pälli <tapani.palli@intel.com >
Acked-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12722 >
2021-11-20 11:56:34 -05:00
Jesse Natalie
33e5a4378e
android,d3d12: Support using DirectX-Headers dependency from AOSP
...
Note that the Android build system apparently lowercases stuff,
so add a lowercase "directx-headers" dependency which is searched first,
before falling back to the proper-cased "DirectX-Headers" dependency.
Reviewed-by: Roman Stratiienko <r.stratiienko@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13532 >
2021-11-19 21:21:35 +00:00
Jesse Natalie
f9a46ad22a
meson: Allow mismatching RTTI for MSVC
...
This might be safe to relax to all Windows compilers, but I didn't
test Clang or MinGW, so scoping to MSVC for now. For MSVC, this is
safe to mismatch, because the vftables are emitted into all objects
with "pick largest," and the definition with RTTI is larger than the
one without. This is different than the Itanium ABI, which only emits
one copy of the typeinfo in the object which defines the key method.
Acked-by: Eric Engestrom <eric@engestrom.ch >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13064 >
2021-11-19 15:36:59 +00:00
Jesse Natalie
ad86267412
meson: Don't override built-in cpp_rtti option, error if it's invalid
...
Reviewed-by: Eric Engestrom <eric@engestrom.ch >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13064 >
2021-11-19 15:36:59 +00:00
Bas Nieuwenhuizen
22673a980f
meson: Check arguments before adding.
...
-static-libstdc++ doesn't exist on the Android NDK, casuing all
later has_argument calls to return false even though the compiler
supports that argument.
Fixes: 3aee462781
"meson: add windows compiler checks and libraries"
Reviewed-by: Eric Engestrom <eric@engestrom.ch >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13164 >
2021-11-09 20:51:14 +00:00
Dave Airlie
995f38838f
meson: allow building with vulkan beta extensions enabled.
...
This is just a precursor to anyone enabling beta stuff later.
Reviewed-by: Emma Anholt <emma@anholt.net >
Reviewed-by: Eric Engestrom <eric@engestrom.ch >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13685 >
2021-11-09 04:33:06 +00:00
Eric Engestrom
bee2c9c081
meson: automatically define HAVE_{some}_PLATFORM
...
Signed-off-by: Eric Engestrom <eric@engestrom.ch >
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13278 >
2021-11-08 18:35:28 +00:00
Eric Engestrom
5cc9c30aef
meson: always define HAVE_{X11,XCB}_PLATFORM
when it's enabled
...
Signed-off-by: Eric Engestrom <eric@engestrom.ch >
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13278 >
2021-11-08 18:35:28 +00:00
Eric Engestrom
448dd106da
meson: drop impossible if no platform
branch
...
We've already ensured a few lines above that there is at least
`surfaceless` in the list.
Signed-off-by: Eric Engestrom <eric@engestrom.ch >
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13278 >
2021-11-08 18:35:28 +00:00
Eric Engestrom
2351c0aded
meson: move egl_native_platform
definition inside the with_egl
block
...
Signed-off-by: Eric Engestrom <eric@engestrom.ch >
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13278 >
2021-11-08 18:35:28 +00:00
Eric Engestrom
9ad375bdcd
meson: drop duplicate addition of surfaceless & drm to the list of platforms
...
This is already done on lines 475-480, resulting in them appearing twice
in the summary.
Fixes: 47946855f1
("meson: allow egl_native_platform to be specified")
Signed-off-by: Eric Engestrom <eric@engestrom.ch >
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13278 >
2021-11-08 18:35:28 +00:00
Tapani Pälli
4885e63a6d
vulkan/wsi: implement missing wsi_register_device_event
...
These changes implement vkRegisterDeviceEventEXT and detection of
monitor hotplug. Wsi launches a thread that listens to udev events and
signals the appropriate device fences when hotplug hapens.
v2: use wsi fences instead of syncobj api (Jason Ekstrand)
v3: refactor + cleanups, create thread on demand (Samuel Pitoiset)
v4: bring back syncobj support from initial version for radv
v5: make libudev dependency optional, check for poll errors (Simon Ser)
v6: change matching mechanism to use udev device node instead of path
v7: remove the matching mechanism
v8: fix a race with thread creation + use single mutex + other cleanups
(Jason Ekstrand)
Fixes:
dEQP-VK.wsi.display_control.register_device_event
Signed-off-by: Tapani Pälli <tapani.palli@intel.com >
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12305 >
2021-11-04 16:57:29 +00:00
Jan Beich
60b7c3a0f4
meson: disable -Werror=thread-safety on FreeBSD
...
Annotated <pthread.h> exposes too many errors in Mesa that are
non-trivial to fix and keep working without FreeBSD CI.
Fixes: 0d5fe24c9b
("macros: Add thread-safety annotation macros")
Reviewed-by: Eric Engestrom <eric@engestrom.ch >
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9168 >
2021-10-19 06:59:32 +00:00
Dylan Baker
e73096bd6d
meson: use gtest protocol for gtest based tests when possible
...
With the `gtest` protocol meson will add some extra arguments to the
test to generate better junit results, which may be useful. This
protocol is only available in meson 0.55.0+, so keep using the default
`exitcode` protocol for meson older than that.
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8484 >
2021-10-16 03:22:24 +00:00
Mike Blumenkrantz
57610e14f6
build: also remove wayland wsi flags from c++ build
...
...until aco stops exploding
Reviewed-by: Dylan Baker <dylan@pnwbakers.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13233 >
2021-10-07 01:38:23 +00:00
Mike Blumenkrantz
7cc85dba71
build: unify vulkan cpp platform args
...
these were duplicated all over the place, and it's annoying to have to keep
duplicating them any time a new component includes the vulkan header
Reviewed-by: Dylan Baker <dylan@pnwbakers.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13141 >
2021-10-06 14:19:35 +00:00
Emmanuel Gil Peyrot
c238faf746
radv: Allow building when LLVM isn’t enabled
...
Now that ACO is considered feature-complete, it can be nice to avoid the
huge LLVM dependency when one only wants a Vulkan driver.
This patch allows radv to be built without LLVM. The two features which
get disabled are RADV_DEBUG=llvm and shader disassembly. The latter
is an issue for debugging, so I added a warning that this configuration
is unsupported.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11319 >
2021-10-01 10:40:18 +02:00
Jason Ekstrand
1506ea2ecb
Move a bunch of the CLC stuff from src/microsoft to common code
...
The D3D12-specific stuff isn't useful to have in common code but all the
stuff to invoke clang really should be common.
v2: Rebase (Lionel)
v3: Define a new clc_libclc_new_dxil() entrypoint to create a clc
context with DXIL nir_options (Jesse)
v4: Fixup meson build (Lionel)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Reviewed-by: Dylan Baker <dylan@pnwbakers.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9156 >
2021-09-30 07:09:08 +00:00
Lionel Landwerlin
a9c49a0541
meson: extract libversion checks from clc & clover
...
The src/microsoft/clc/meson.build was assuming to be run only on
Windows. That's about to change.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Reviewed-by: Dylan Baker <dylan@pnwbakers.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9156 >
2021-09-30 07:09:08 +00:00
Martin Krastev
4807d777c0
meson: introduce option vmware-mks-stats controlling the instrumentations of gallium svga driver
...
The new boolean option controls the instrumentations of gallium svga driver for mksGuestStats.
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Reviewed-by: Zack Rusin <zackr@vmware.com >
Reviewed-by: Brian Paul <brianp@vmware.com >
Reviewed-by: Charmaine Lee <charmainel@vmware.com >
(cherry picked from commit 57760b7fe4eeb80acc8d6cd8bf6ec609a11a11dc)
(cherry picked from commit 12aed00f08bd95afd605cab34c833e81a4957dbd)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12873 >
2021-09-21 00:07:40 +00:00
Mike Blumenkrantz
b61e9345c1
build: fix nine compilation with only zink enabled as a gallium driver
...
fixes #5360
Reviewed-by: Dylan Baker <dylan@pnwbakers.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12943 >
2021-09-20 22:47:38 +00:00
Jesse Natalie
ccb5cf8b4b
meson: Set /Zc:__cplusplus for MSVC
...
Reviewed-by: Dylan Baker <dylan@pnwbakers.com >
Reviewed-by: Karol Herbst <kherbst@redhat.com >
Reviewed-by: Emil Velikov <emil.velikov@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12881 >
2021-09-16 17:38:58 +00:00
Jesse Natalie
e76db0f165
meson, egl: Support building for the Windows platform
...
Add a stub EGL driver for Windows
Fix compiler issues in egl/main
Ensure Windows build produces libEGL.dll
Default EGL to enabled for Windows when building a Gallium driver
Reviewed-by: Eric Engestrom <eric@engestrom.ch >
Reviewed By: Bill Kristiansen <billkris@microsoft.com >
Acked-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12727 >
2021-09-15 20:17:31 +00:00
Filip Gawin
451e97028e
meson: add crocus to default group of drivers for x86/x86_64
...
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12636 >
2021-08-31 11:13:09 +00:00
Dave Airlie
1ef97ea0ab
meson: fix regression finding shm dep
...
Just copy the dep into both places.
Fixes: b5c390c113
("vulkan/wsi: add support for detecting mit-shm pixmaps.")
Reviewed-by: Adam Jackson <ajax@redhat.com >
Tested-by: Zoltán Böszörményi <zboszor@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12635 >
2021-08-31 14:18:43 +10:00
Dave Airlie
b5c390c113
vulkan/wsi: add support for detecting mit-shm pixmaps.
...
This just adds the xcb bits to detect is the host supports shared
shm pixmaps or whether the old paths should be used.
shm pixmaps will only be used if dri3 is available
Acked-by: Roland Scheidegger <sroland@vmware.com >
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12482 >
2021-08-29 20:26:13 +00:00
Simon Zeni
9ca7412033
meson: stop searching for execinfo
...
Signed-off-by: Simon Zeni <simon@bl4ckb0ne.ca >
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12108 >
2021-08-26 01:47:30 +00:00
Jordan Justen
cf23fbb040
meson: Check that bin/meson_get_version.py ran without an error
...
According to https://mesonbuild.com/Reference-manual.html , the check
parameter is supported since meson 0.47.0.
This could have helped to catch the issue fixed by:
221871fb6d
("meson: Search for python3 before python for bin/meson_get_version.py")
as it would have caused the build to fail immediately.
It's still a good idea to check the result even though that issue is
now fixed.
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com >
Reviewed-by: Eric Engestrom <eric@engestrom.ch >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12404 >
2021-08-17 15:18:03 -07:00
Jordan Justen
221871fb6d
meson: Search for python3 before python for bin/meson_get_version.py
...
Most systems have either dropped the python executable, or made it
python3.
But it is still possible to configure a system such that python runs
python2. https://www.python.org/dev/peps/pep-0394/
Or, some developers may still be running older distributions where
python is python2.
Since bin/meson_get_version.py now requires python3, we should search
for python3 before python.
Fixes: f1eae2f8bb
("python: drop python2 support")
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12400 >
2021-08-17 09:45:54 +00:00
Leo Liu
9cc4c1d8f8
frontends/va: Add AV1 parameter buffers functions
...
Includes picture parameter and slice parameter buffers.
Signed-off-by: Leo Liu <leo.liu@amd.com >
Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12307 >
2021-08-13 09:24:01 -04:00
Vinson Lee
c0fc745b78
meson: Remove duplicate xvmc in build summary.
...
Fixes: d30ce03bc0
("meson: add build-summary")
Signed-off-by: Vinson Lee <vlee@freedesktop.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12296 >
2021-08-12 20:51:13 +00:00
Jason Ekstrand
dd88fb33fe
meson: Intel drivers don't require expat on Android
...
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com >
Reviewed-by: Eric Engestrom <eric@engestrom.ch >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12308 >
2021-08-11 23:57:52 +00:00
Michel Zou
80160a67ab
meson: dont use missing dumpbin path
...
Reviewed-by: Dylan Baker <dylan@pnwbakers.com >
Cc: 21.2 mesa-stable
Closes #5142
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12139 >
2021-08-01 23:31:33 +00:00
Chia-I Wu
47946855f1
meson: allow egl_native_platform to be specified
...
After commit f8dc22bf61
, it was no longer possible to have explicitly
enabled platforms with surfaceless being the EGL native platform. This
fixes that by adding -Degl-native-platform.
Fixes: f8dc22bf61
("meson: drop deprecated EGL platform build options")
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Adam Jackson <ajax@redhat.com >
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11992 >
2021-07-21 23:12:58 +00:00
suijingfeng
88b234d7a7
gallivm: add basic mips64 support and set mcpu to mips64r5 on ls3a4000
...
ls3a4000 and ls2k1000 cpu is mips64r5 compatible with MSA SIMD
instruction set implemented, while ls3a3000 is mips64r2 compatible only.
Due to lacking llvm support for loongson CPU, llvm::sys::getHostCPUName().
return "generic" on all loongson mips CPU.
So we override the MCPU to mips64r5 if MSA is implemented, feedback to
mips64r2 for all other ordinaries.
Reviewed-by: Adam Jackson <ajax@redhat.com >
Signed-off-by: suijingfeng <suijingfeng@loongson.cn >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11955 >
2021-07-21 13:14:05 +00:00
James Jones
7f615c66fb
meson: Add a GBM backends search path build option
...
This is the list of locations where GBM will look
for alternate backend implementations based on the
DRM driver name. It defaults to $libdir/gbm.
On Android, this path is currently hard-coded to
/vendor/lib[64]/gbm.
Signed-off-by: James Jones <jajones@nvidia.com >
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9902 >
2021-07-06 16:57:59 +00:00