From c84379dce9d6c3d38a21c9a8366914ac0a8706872f763e7e4d998c0b3af01b0e Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Thu, 14 Mar 2019 19:32:19 +0000 Subject: [PATCH 1/2] - 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 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=817 --- Mesa-drivers.changes | 8 +++ Mesa-drivers.spec | 12 ++-- Mesa.changes | 8 +++ Mesa.spec | 12 ++-- mesa-18.3.4.tar.xz | 3 - mesa-18.3.4.tar.xz.sig | Bin 566 -> 0 bytes mesa-19.0.0.tar.xz | 3 + mesa-19.0.0.tar.xz.sig | Bin 0 -> 119 bytes ...rc-disable-rgb10-for-chromium-on-amd.patch | 15 +++-- u_wayland_egl-Ensure-EGL-surface.patch | 61 ------------------ 10 files changed, 37 insertions(+), 85 deletions(-) delete mode 100644 mesa-18.3.4.tar.xz delete mode 100644 mesa-18.3.4.tar.xz.sig create mode 100644 mesa-19.0.0.tar.xz create mode 100644 mesa-19.0.0.tar.xz.sig delete mode 100644 u_wayland_egl-Ensure-EGL-surface.patch 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..451d793 100644 --- a/Mesa-drivers.spec +++ b/Mesa-drivers.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -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 @@ -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..d4099ed 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -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 @@ -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 36c5a6b843fd09fb30ac3a8936c740f569d734163a6dce1789b78ce6ca84b3b0..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SEvc79j+O1GaDue&B6-Ik?vCt~anO>q!j-0$ghOq5ujB5bdrv zuq^9I4f&-H{x|{^QX!;qM==cNsPq#d_ebkl1G4EVDlTEo?5kB?XO_|KV=zJampv`xwk*FkIYpWv$!UH?XnASjB$})48&MeNz zP8_eSEUTKS8!EHS4_D9tto4l+8(EVQA7{*nD|wDENDef1@i{4JsOfb8D3St&{h|)l zo=G8)0pt%Rh9B61@LJQ`&OonZ`>hIMF0K=Uc$kaaHIdPO5PgZZki3?| zWM?_Lw&^=_A=8E_t?+O6luhBD^ENgh2{%=pX#W@SzeW1*4lOjbIR0B%Yx!|aN_51U3Y>l+_!Q)MT7 z3^l>G*v1J~b>pfbOHA*PNofyuvtth$LehBF0XiMZh)m{hDXuLeMK;!2tgcTmo<~+_ z^w&Pzt6=&#l56#?C)6J7H;5Wa_cV*bhA&l$j~9w_mauDuI+rN+?wnwzWb^sitKSp~ EZt0o@@c;k- 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 0000000000000000000000000000000000000000000000000000000000000000..406a38d75daf32f2779cb080f2763326235067d9249b344284e2fa80fa60f6cc GIT binary patch literal 119 zcmeAuWnmEGVvrS6WGOtdJxpOwX+gL5ZB?JCzgF9AD1O7r6w?{f!obBT027J($H=fk za)-kbzq^YiA_WXJUmlC&tN3JkawWq&r&h*01~2MQF#HuZS|>Sa!ju_JJ6~2viJq8p V(o5n==uv+~=69>(ufKlE4*($IGuQwC literal 0 HcmV?d00001 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 - From 861cc95b8808df7fa4b517e91c80b22acb403c9d998f5982aa0964fae9e0fe1e Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Fri, 15 Mar 2019 22:04:02 +0000 Subject: [PATCH 2/2] Accepting request 685478 from home:iznogood:branches:X11:XOrg Follow what meson checks for - adjust min ver of llvm. This is just a tweak, no need to forward atm, leave it in devel for now. OBS-URL: https://build.opensuse.org/request/show/685478 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=818 --- Mesa-drivers.spec | 4 ++-- Mesa.spec | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Mesa-drivers.spec b/Mesa-drivers.spec index 451d793..2662d6e 100644 --- a/Mesa-drivers.spec +++ b/Mesa-drivers.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -216,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} diff --git a/Mesa.spec b/Mesa.spec index d4099ed..46a5b72 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -215,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}