mesa/src
Erik Kurzinger c1401fda8a wsi/wayland: don't use explicit sync with sw
When using software rendering with the Wayland WSI we should not try to
use explicit sync even if it is supported by the compositor. Not only is
it not necessary in that case, but the protocol explicitly disallows
using it with shared memory buffers.

As a fix, first we modify wsi_configure_cpu_image to not set
info->explicit_sync to true for CPU images. However, we still want the
implicit_sync parameter in wsi_create_buffer_blit_context to be set to
false since CPU images don't need implicit sync either. To ensure that
remains so, we add a new field to wsi_image_info tracking the image
type, and then only enable implicit sync for DRM images when explicit
sync is not supported.

Additionally, we modify wsi_wl_use_explicit_sync to return false when
device->sw is true.

Signed-off-by: Erik Kurzinger <ekurzinger@nvidia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28678>
2024-04-10 23:08:36 +00:00
..
amd radv: rework and add a helper for hashing a compute pipeline 2024-04-10 20:05:22 +00:00
android_stub
asahi asahi: switch to VS/FS prolog/epilog system 2024-03-30 00:26:20 +00:00
broadcom v3dv: fix job suspend with command buffer simultaneous use flag 2024-04-03 13:35:54 +02:00
c11
compiler nir: Add lavapipe ray tracing intrinsics 2024-04-09 07:13:01 +00:00
drm-shim drm-shim: Add io region handling in mmap 2024-03-19 10:22:34 +00:00
egl glx/egl: fix LIBGL_KOPPER_DISABLE 2024-04-04 13:18:00 +00:00
etnaviv ci/etnaviv: Do not skip tex-miplevel piglits 2024-04-09 12:55:21 +00:00
freedreno freedreno/afuc: Add initial support for a750 2024-04-10 21:51:59 +00:00
gallium radeonsi/vpe: add support for p010 2024-04-10 16:30:14 +00:00
gbm gbm: Remove hardcoded color-channel data 2024-02-27 10:51:03 +00:00
getopt
glx glx/egl: fix LIBGL_KOPPER_DISABLE 2024-04-04 13:18:00 +00:00
gtest gtest: backport ansi color fix 2023-08-18 21:33:14 +00:00
imagination meson: add VK_DRIVER_FILES to devenv, alongside the old VK_ICD_FILENAMES 2024-04-02 18:08:52 +00:00
imgui
intel ci: disable sona devices, all devices are offline 2024-04-10 22:41:20 +00:00
loader loader/wayland: Add named queue fallback 2024-02-28 11:01:31 +00:00
mapi treewide: Replace usage of macro DEBUG with MESA_DEBUG when possible 2024-03-22 18:22:34 +00:00
mesa gallium: handle copy_image of depth textures 2024-04-06 22:50:10 +00:00
microsoft microsoft/compiler: set compact_arrays in compiler options 2024-04-05 17:56:28 +00:00
nouveau nak: Use undef for unset FSOut components 2024-04-09 20:13:16 +00:00
panfrost panvk: use integers instead of strings 2024-04-03 08:08:00 +00:00
tool pps: Config tweaks to avoid loosing traces 2024-03-25 19:49:50 +00:00
util driconf: add a workaround for Joe Danger 2024-04-09 01:29:24 +00:00
virtio venus: use STACK_ARRAY to simplify descriptor set update and push 2024-04-10 01:01:37 +00:00
vulkan wsi/wayland: don't use explicit sync with sw 2024-04-10 23:08:36 +00:00
.clang-format agx: add Braun-Hack spiller pass 2024-03-30 00:26:18 +00:00
meson.build loader/wayland: Add fallback wl_display_dispatch_queue_timeout 2024-02-27 13:10:13 +00:00