Accepting request 685481 from X11:XOrg
OBS-URL: https://build.opensuse.org/request/show/685481 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Mesa?expand=0&rev=342
This commit is contained in:
commit
36b178ec7e
@ -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>
|
Mon Mar 4 15:48:51 UTC 2019 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
%define glamor 1
|
%define glamor 1
|
||||||
%define _name_archive mesa
|
%define _name_archive mesa
|
||||||
%define _version 18.3.4
|
%define _version 19.0.0
|
||||||
%define with_opencl 0
|
%define with_opencl 0
|
||||||
%define with_vulkan 0
|
%define with_vulkan 0
|
||||||
%define with_llvm 0
|
%define with_llvm 0
|
||||||
@ -110,7 +110,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: Mesa-drivers
|
Name: Mesa-drivers
|
||||||
Version: 18.3.4
|
Version: 19.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: System for rendering 3-D graphics
|
Summary: System for rendering 3-D graphics
|
||||||
License: MIT
|
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
|
Patch31: archlinux_0001-Fix-linkage-against-shared-glapi.patch
|
||||||
|
|
||||||
Patch54: n_drirc-disable-rgb10-for-chromium-on-amd.patch
|
Patch54: n_drirc-disable-rgb10-for-chromium-on-amd.patch
|
||||||
Patch57: u_wayland_egl-Ensure-EGL-surface.patch
|
|
||||||
Patch58: u_dep_xcb.patch
|
Patch58: u_dep_xcb.patch
|
||||||
|
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
@ -217,7 +216,7 @@ BuildRequires: pkgconfig(wayland-protocols) >= 1.8
|
|||||||
BuildRequires: pkgconfig(wayland-server) >= 1.11
|
BuildRequires: pkgconfig(wayland-server) >= 1.11
|
||||||
%endif
|
%endif
|
||||||
%if 0%{with_llvm}
|
%if 0%{with_llvm}
|
||||||
BuildRequires: llvm-devel >= 6.0.0
|
BuildRequires: llvm-devel >= 7.0.0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{with_opencl}
|
%if 0%{with_opencl}
|
||||||
@ -470,8 +469,8 @@ applications using the OpenGL|ES 3.x APIs.
|
|||||||
|
|
||||||
%package -n libOSMesa8
|
%package -n libOSMesa8
|
||||||
Summary: Mesa Off-screen rendering extension
|
Summary: Mesa Off-screen rendering extension
|
||||||
Group: System/Libraries
|
|
||||||
# Wrongly named package shipped .so.8
|
# Wrongly named package shipped .so.8
|
||||||
|
Group: System/Libraries
|
||||||
Obsoletes: libOSMesa9 < %{version}
|
Obsoletes: libOSMesa9 < %{version}
|
||||||
Provides: libOSMesa9 = %{version}
|
Provides: libOSMesa9 = %{version}
|
||||||
|
|
||||||
@ -587,8 +586,8 @@ programs against the GBM library.
|
|||||||
|
|
||||||
%package -n Mesa-libd3d
|
%package -n Mesa-libd3d
|
||||||
Summary: Mesa Direct3D9 state tracker
|
Summary: Mesa Direct3D9 state tracker
|
||||||
Group: System/Libraries
|
|
||||||
# Manually provide d3d library (bnc#918294)
|
# Manually provide d3d library (bnc#918294)
|
||||||
|
Group: System/Libraries
|
||||||
%ifarch x86_64 s390x ppc64le aarch64 riscv64
|
%ifarch x86_64 s390x ppc64le aarch64 riscv64
|
||||||
Provides: d3dadapter9.so.1()(64bit)
|
Provides: d3dadapter9.so.1()(64bit)
|
||||||
%else
|
%else
|
||||||
@ -738,7 +737,6 @@ rm -rf docs/README.{VMS,WIN32,OS2}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%patch54 -p1
|
%patch54 -p1
|
||||||
%patch57 -p1
|
|
||||||
%patch58 -p1
|
%patch58 -p1
|
||||||
|
|
||||||
# Remove requires to libglvnd/libglvnd-devel from baselibs.conf when
|
# Remove requires to libglvnd/libglvnd-devel from baselibs.conf when
|
||||||
|
@ -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>
|
Mon Mar 4 15:48:51 UTC 2019 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
12
Mesa.spec
12
Mesa.spec
@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
%define glamor 1
|
%define glamor 1
|
||||||
%define _name_archive mesa
|
%define _name_archive mesa
|
||||||
%define _version 18.3.4
|
%define _version 19.0.0
|
||||||
%define with_opencl 0
|
%define with_opencl 0
|
||||||
%define with_vulkan 0
|
%define with_vulkan 0
|
||||||
%define with_llvm 0
|
%define with_llvm 0
|
||||||
@ -109,7 +109,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: Mesa
|
Name: Mesa
|
||||||
Version: 18.3.4
|
Version: 19.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: System for rendering 3-D graphics
|
Summary: System for rendering 3-D graphics
|
||||||
License: MIT
|
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
|
Patch31: archlinux_0001-Fix-linkage-against-shared-glapi.patch
|
||||||
|
|
||||||
Patch54: n_drirc-disable-rgb10-for-chromium-on-amd.patch
|
Patch54: n_drirc-disable-rgb10-for-chromium-on-amd.patch
|
||||||
Patch57: u_wayland_egl-Ensure-EGL-surface.patch
|
|
||||||
Patch58: u_dep_xcb.patch
|
Patch58: u_dep_xcb.patch
|
||||||
|
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
@ -216,7 +215,7 @@ BuildRequires: pkgconfig(wayland-protocols) >= 1.8
|
|||||||
BuildRequires: pkgconfig(wayland-server) >= 1.11
|
BuildRequires: pkgconfig(wayland-server) >= 1.11
|
||||||
%endif
|
%endif
|
||||||
%if 0%{with_llvm}
|
%if 0%{with_llvm}
|
||||||
BuildRequires: llvm-devel >= 6.0.0
|
BuildRequires: llvm-devel >= 7.0.0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{with_opencl}
|
%if 0%{with_opencl}
|
||||||
@ -469,8 +468,8 @@ applications using the OpenGL|ES 3.x APIs.
|
|||||||
|
|
||||||
%package -n libOSMesa8
|
%package -n libOSMesa8
|
||||||
Summary: Mesa Off-screen rendering extension
|
Summary: Mesa Off-screen rendering extension
|
||||||
Group: System/Libraries
|
|
||||||
# Wrongly named package shipped .so.8
|
# Wrongly named package shipped .so.8
|
||||||
|
Group: System/Libraries
|
||||||
Obsoletes: libOSMesa9 < %{version}
|
Obsoletes: libOSMesa9 < %{version}
|
||||||
Provides: libOSMesa9 = %{version}
|
Provides: libOSMesa9 = %{version}
|
||||||
|
|
||||||
@ -586,8 +585,8 @@ programs against the GBM library.
|
|||||||
|
|
||||||
%package -n Mesa-libd3d
|
%package -n Mesa-libd3d
|
||||||
Summary: Mesa Direct3D9 state tracker
|
Summary: Mesa Direct3D9 state tracker
|
||||||
Group: System/Libraries
|
|
||||||
# Manually provide d3d library (bnc#918294)
|
# Manually provide d3d library (bnc#918294)
|
||||||
|
Group: System/Libraries
|
||||||
%ifarch x86_64 s390x ppc64le aarch64 riscv64
|
%ifarch x86_64 s390x ppc64le aarch64 riscv64
|
||||||
Provides: d3dadapter9.so.1()(64bit)
|
Provides: d3dadapter9.so.1()(64bit)
|
||||||
%else
|
%else
|
||||||
@ -737,7 +736,6 @@ rm -rf docs/README.{VMS,WIN32,OS2}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%patch54 -p1
|
%patch54 -p1
|
||||||
%patch57 -p1
|
|
||||||
%patch58 -p1
|
%patch58 -p1
|
||||||
|
|
||||||
# Remove requires to libglvnd/libglvnd-devel from baselibs.conf when
|
# Remove requires to libglvnd/libglvnd-devel from baselibs.conf when
|
||||||
|
@ -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
3
mesa-19.0.0.tar.xz
Normal 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
BIN
mesa-19.0.0.tar.xz.sig
Normal file
Binary file not shown.
@ -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-19.0.0.orig/src/util/00-mesa-defaults.conf
|
||||||
+++ mesa-18.3.0-rc2/src/util/00-mesa-defaults.conf
|
+++ mesa-19.0.0/src/util/00-mesa-defaults.conf
|
||||||
@@ -334,5 +334,10 @@ TODO: document the other workarounds.
|
@@ -412,6 +412,11 @@ TODO: document the other workarounds.
|
||||||
<application name="No Mans Sky" executable="NMS.exe">
|
<application name="mpv" executable="mpv">
|
||||||
<option name="radeonsi_zerovram" value="true" />
|
<option name="adaptive_sync" value="false" />
|
||||||
</application>
|
</application>
|
||||||
+
|
+
|
||||||
+ <!-- This is workaround to prevent distorted colors on hardware accelerated video in Chromium. https://bugzilla.opensuse.org/show_bug.cgi?id=1113211 -->
|
+ <!-- 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" />
|
+ <option name="allow_rgb10_configs" value="false" />
|
||||||
+ </application>
|
+ </application>
|
||||||
</device>
|
</device>
|
||||||
</driconf>
|
<!-- vmwgfx doesn't like full buffer swaps and can't sync to vertical retraces.-->
|
||||||
|
<device driver="vmwgfx">
|
||||||
|
@ -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
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user