- 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
This commit is contained in:
Stefan Dirsch 2019-03-14 19:32:19 +00:00 committed by Git OBS Bridge
parent b4a9f5bd73
commit c84379dce9
10 changed files with 37 additions and 85 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Mar 14 15:02:46 UTC 2019 - Stefan Dirsch <sndirsch@suse.com>
- 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 <schwab@suse.de>

View File

@ -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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Mar 14 15:02:46 UTC 2019 - Stefan Dirsch <sndirsch@suse.com>
- 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 <schwab@suse.de>

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:32314da4365d37f80d84f599bd9625b00161c273c39600ba63b45002d500bb07
size 11875224

Binary file not shown.

3
mesa-19.0.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5a549dfb40ec31e5c36c47aadac04554cb2e2a8d144a046a378fc16da57e38f8
size 11959360

BIN
mesa-19.0.0.tar.xz.sig Normal file

Binary file not shown.

View File

@ -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.
<application name="No Mans Sky" executable="NMS.exe">
<option name="radeonsi_zerovram" value="true" />
--- mesa-19.0.0.orig/src/util/00-mesa-defaults.conf
+++ mesa-19.0.0/src/util/00-mesa-defaults.conf
@@ -412,6 +412,11 @@ TODO: document the other workarounds.
<application name="mpv" executable="mpv">
<option name="adaptive_sync" value="false" />
</application>
+
+ <!-- This is workaround to prevent distorted colors on hardware accelerated video in Chromium. https://bugzilla.opensuse.org/show_bug.cgi?id=1113211 -->
@ -12,4 +12,5 @@ Index: mesa-18.3.0-rc2/src/util/00-mesa-defaults.conf
+ <option name="allow_rgb10_configs" value="false" />
+ </application>
</device>
</driconf>
<!-- vmwgfx doesn't like full buffer swaps and can't sync to vertical retraces.-->
<device driver="vmwgfx">

View File

@ -1,61 +0,0 @@
From 15ad1cb4502f00df6cec88e3cc9090449146a347 Mon Sep 17 00:00:00 2001
From: Carlos Garnacho <carlosg@gnome.org>
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 <carlosg@gnome.org>
Tested-by: Bastien Nocera <hadess@hadess.net>
---
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