diff --git a/Mesa-drivers.changes b/Mesa-drivers.changes index 1b5ced3..7f5ec50 100644 --- a/Mesa-drivers.changes +++ b/Mesa-drivers.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Mar 14 15:02:46 UTC 2019 - Stefan Dirsch + +- Update to 19.0.0 + * bug fixes and performance improvements +- adjusted n_drirc-disable-rgb10-for-chromium-on-amd.patch +- supersedes u_wayland_egl-Ensure-EGL-surface.patch + ------------------------------------------------------------------- Mon Mar 4 15:48:51 UTC 2019 - Andreas Schwab diff --git a/Mesa-drivers.spec b/Mesa-drivers.spec index 29c1354..2662d6e 100644 --- a/Mesa-drivers.spec +++ b/Mesa-drivers.spec @@ -42,7 +42,7 @@ %define glamor 1 %define _name_archive mesa -%define _version 18.3.4 +%define _version 19.0.0 %define with_opencl 0 %define with_vulkan 0 %define with_llvm 0 @@ -110,7 +110,7 @@ %endif Name: Mesa-drivers -Version: 18.3.4 +Version: 19.0.0 Release: 0 Summary: System for rendering 3-D graphics License: MIT @@ -134,7 +134,6 @@ Patch18: n_VDPAU-XVMC-libs-Replace-hardlinks-with-copies.patch Patch31: archlinux_0001-Fix-linkage-against-shared-glapi.patch Patch54: n_drirc-disable-rgb10-for-chromium-on-amd.patch -Patch57: u_wayland_egl-Ensure-EGL-surface.patch Patch58: u_dep_xcb.patch BuildRequires: bison @@ -217,7 +216,7 @@ BuildRequires: pkgconfig(wayland-protocols) >= 1.8 BuildRequires: pkgconfig(wayland-server) >= 1.11 %endif %if 0%{with_llvm} -BuildRequires: llvm-devel >= 6.0.0 +BuildRequires: llvm-devel >= 7.0.0 %endif %if 0%{with_opencl} @@ -470,8 +469,8 @@ applications using the OpenGL|ES 3.x APIs. %package -n libOSMesa8 Summary: Mesa Off-screen rendering extension -Group: System/Libraries # Wrongly named package shipped .so.8 +Group: System/Libraries Obsoletes: libOSMesa9 < %{version} Provides: libOSMesa9 = %{version} @@ -587,8 +586,8 @@ programs against the GBM library. %package -n Mesa-libd3d Summary: Mesa Direct3D9 state tracker -Group: System/Libraries # Manually provide d3d library (bnc#918294) +Group: System/Libraries %ifarch x86_64 s390x ppc64le aarch64 riscv64 Provides: d3dadapter9.so.1()(64bit) %else @@ -738,7 +737,6 @@ rm -rf docs/README.{VMS,WIN32,OS2} %endif %patch54 -p1 -%patch57 -p1 %patch58 -p1 # Remove requires to libglvnd/libglvnd-devel from baselibs.conf when diff --git a/Mesa.changes b/Mesa.changes index 1b5ced3..7f5ec50 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Mar 14 15:02:46 UTC 2019 - Stefan Dirsch + +- Update to 19.0.0 + * bug fixes and performance improvements +- adjusted n_drirc-disable-rgb10-for-chromium-on-amd.patch +- supersedes u_wayland_egl-Ensure-EGL-surface.patch + ------------------------------------------------------------------- Mon Mar 4 15:48:51 UTC 2019 - Andreas Schwab diff --git a/Mesa.spec b/Mesa.spec index 6079d0d..46a5b72 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -41,7 +41,7 @@ %define glamor 1 %define _name_archive mesa -%define _version 18.3.4 +%define _version 19.0.0 %define with_opencl 0 %define with_vulkan 0 %define with_llvm 0 @@ -109,7 +109,7 @@ %endif Name: Mesa -Version: 18.3.4 +Version: 19.0.0 Release: 0 Summary: System for rendering 3-D graphics License: MIT @@ -133,7 +133,6 @@ Patch18: n_VDPAU-XVMC-libs-Replace-hardlinks-with-copies.patch Patch31: archlinux_0001-Fix-linkage-against-shared-glapi.patch Patch54: n_drirc-disable-rgb10-for-chromium-on-amd.patch -Patch57: u_wayland_egl-Ensure-EGL-surface.patch Patch58: u_dep_xcb.patch BuildRequires: bison @@ -216,7 +215,7 @@ BuildRequires: pkgconfig(wayland-protocols) >= 1.8 BuildRequires: pkgconfig(wayland-server) >= 1.11 %endif %if 0%{with_llvm} -BuildRequires: llvm-devel >= 6.0.0 +BuildRequires: llvm-devel >= 7.0.0 %endif %if 0%{with_opencl} @@ -469,8 +468,8 @@ applications using the OpenGL|ES 3.x APIs. %package -n libOSMesa8 Summary: Mesa Off-screen rendering extension -Group: System/Libraries # Wrongly named package shipped .so.8 +Group: System/Libraries Obsoletes: libOSMesa9 < %{version} Provides: libOSMesa9 = %{version} @@ -586,8 +585,8 @@ programs against the GBM library. %package -n Mesa-libd3d Summary: Mesa Direct3D9 state tracker -Group: System/Libraries # Manually provide d3d library (bnc#918294) +Group: System/Libraries %ifarch x86_64 s390x ppc64le aarch64 riscv64 Provides: d3dadapter9.so.1()(64bit) %else @@ -737,7 +736,6 @@ rm -rf docs/README.{VMS,WIN32,OS2} %endif %patch54 -p1 -%patch57 -p1 %patch58 -p1 # Remove requires to libglvnd/libglvnd-devel from baselibs.conf when diff --git a/mesa-18.3.4.tar.xz b/mesa-18.3.4.tar.xz deleted file mode 100644 index a58df44..0000000 --- a/mesa-18.3.4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:32314da4365d37f80d84f599bd9625b00161c273c39600ba63b45002d500bb07 -size 11875224 diff --git a/mesa-18.3.4.tar.xz.sig b/mesa-18.3.4.tar.xz.sig deleted file mode 100644 index 36c5a6b..0000000 Binary files a/mesa-18.3.4.tar.xz.sig and /dev/null differ diff --git a/mesa-19.0.0.tar.xz b/mesa-19.0.0.tar.xz new file mode 100644 index 0000000..2d21665 --- /dev/null +++ b/mesa-19.0.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a549dfb40ec31e5c36c47aadac04554cb2e2a8d144a046a378fc16da57e38f8 +size 11959360 diff --git a/mesa-19.0.0.tar.xz.sig b/mesa-19.0.0.tar.xz.sig new file mode 100644 index 0000000..406a38d Binary files /dev/null and b/mesa-19.0.0.tar.xz.sig differ diff --git a/n_drirc-disable-rgb10-for-chromium-on-amd.patch b/n_drirc-disable-rgb10-for-chromium-on-amd.patch index f837ea3..281fdf5 100644 --- a/n_drirc-disable-rgb10-for-chromium-on-amd.patch +++ b/n_drirc-disable-rgb10-for-chromium-on-amd.patch @@ -1,10 +1,10 @@ -Index: mesa-18.3.0-rc2/src/util/00-mesa-defaults.conf +Index: mesa-19.0.0/src/util/00-mesa-defaults.conf =================================================================== ---- mesa-18.3.0-rc2.orig/src/util/00-mesa-defaults.conf -+++ mesa-18.3.0-rc2/src/util/00-mesa-defaults.conf -@@ -334,5 +334,10 @@ TODO: document the other workarounds. - - - + + diff --git a/u_wayland_egl-Ensure-EGL-surface.patch b/u_wayland_egl-Ensure-EGL-surface.patch deleted file mode 100644 index 0c9b08f..0000000 --- a/u_wayland_egl-Ensure-EGL-surface.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 15ad1cb4502f00df6cec88e3cc9090449146a347 Mon Sep 17 00:00:00 2001 -From: Carlos Garnacho -Date: Tue, 20 Nov 2018 18:06:38 +0100 -Subject: [PATCH] wayland/egl: Ensure EGL surface is resized on DRI - update_buffers() - -Fullscreening and unfullscreening a totem window while playing a video -sometimes results in the video subsurface not changing size along. This -is also reproducible with epiphany. - -If a surface gets resized while we have an active back buffer for it, the -resized dimensions won't get neither immediately applied on the resize -callback, nor correctly synchronized on update_buffers(), as the -(now stale) surface size and currently attached buffer size still do match. - -There's actually 2 things to synchronize here, first the surface query -size might not be updated yet to the wl_egl_window's (i.e. resize_callback -happened while there is a back buffer), and second the wayland buffers -would need dropping if new surface size differs with the currently attached -buffer. These are done in separate steps now. - -https://bugzilla.redhat.com/show_bug.cgi?id=1650929 - -Signed-off-by: Carlos Garnacho -Tested-by: Bastien Nocera ---- - src/egl/drivers/dri2/platform_wayland.c | 11 +++++++---- - 1 file changed, 7 insertions(+), 4 deletions(-) - -diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c -index 8122c81128..d9e484eaed 100644 ---- a/src/egl/drivers/dri2/platform_wayland.c -+++ b/src/egl/drivers/dri2/platform_wayland.c -@@ -597,10 +597,8 @@ update_buffers(struct dri2_egl_surface *dri2_surf) - struct dri2_egl_display *dri2_dpy = - dri2_egl_display(dri2_surf->base.Resource.Display); - -- if (dri2_surf->base.Width != dri2_surf->wl_win->attached_width || -- dri2_surf->base.Height != dri2_surf->wl_win->attached_height) { -- -- dri2_wl_release_buffers(dri2_surf); -+ if (dri2_surf->base.Width != dri2_surf->wl_win->width || -+ dri2_surf->base.Height != dri2_surf->wl_win->height) { - - dri2_surf->base.Width = dri2_surf->wl_win->width; - dri2_surf->base.Height = dri2_surf->wl_win->height; -@@ -608,6 +606,11 @@ update_buffers(struct dri2_egl_surface *dri2_surf) - dri2_surf->dy = dri2_surf->wl_win->dy; - } - -+ if (dri2_surf->base.Width != dri2_surf->wl_win->attached_width || -+ dri2_surf->base.Height != dri2_surf->wl_win->attached_height) { -+ dri2_wl_release_buffers(dri2_surf); -+ } -+ - if (get_back_bo(dri2_surf) < 0) { - _eglError(EGL_BAD_ALLOC, "failed to allocate color buffer"); - return -1; --- -2.19.1 -