Accepting request 457115 from home:mimi_vx:branches:X11:XOrg
- update to 17.0.0 - removed n_Fixed-build-against-wayland-1.2.1.patch , version requirement bumped up by upstream. * Vulkan drivers: + Correctly return (and implement) VK_INCOMPLETE on multiple WSI queries + Support for the VK_KHR_sampler_mirror_clamp_to_edge extension + We now use the Khoronos vk.xml file to generate the entrypoints * ANV: + HiZ and performance improvements + Float64 support and tessellation shader support. * RADV: + Support multiple devices + Support for the VK_AMD_draw_indirect_count extension + Support for the VK_AMD_negative_viewport_height extension * Mesa core: + Noticeable refactoring en route to GLSL Shader Cache + Groundwork for int64 * i965: + OpenGL 4.5 support on Haswell hardware + Reuse the same BLORP and ISL code as the ANV driver * Gallium: + HUD: A number of race issues and memory leaks were resolved. * freedreno + Support for a5xx * nouveau: + OpenGL 4.3 support on Maxwell hardware + Improved performance due to instruction pipelining (Maxwell) * r600/radeonsi + VCE: Handle H.264 level 5.2 + Polaris12 support OBS-URL: https://build.opensuse.org/request/show/457115 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=573
This commit is contained in:
parent
769f8eb3d8
commit
270c94a3b0
46
Mesa.changes
46
Mesa.changes
@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 13 14:10:52 UTC 2017 - mimi.vx@gmail.com
|
||||
|
||||
- update to 17.0.0
|
||||
- removed n_Fixed-build-against-wayland-1.2.1.patch , version requirement
|
||||
bumped up by upstream.
|
||||
* Vulkan drivers:
|
||||
+ Correctly return (and implement) VK_INCOMPLETE on multiple WSI queries
|
||||
+ Support for the VK_KHR_sampler_mirror_clamp_to_edge extension
|
||||
+ We now use the Khoronos vk.xml file to generate the entrypoints
|
||||
* ANV:
|
||||
+ HiZ and performance improvements
|
||||
+ Float64 support and tessellation shader support.
|
||||
* RADV:
|
||||
+ Support multiple devices
|
||||
+ Support for the VK_AMD_draw_indirect_count extension
|
||||
+ Support for the VK_AMD_negative_viewport_height extension
|
||||
* Mesa core:
|
||||
+ Noticeable refactoring en route to GLSL Shader Cache
|
||||
+ Groundwork for int64
|
||||
* i965:
|
||||
+ OpenGL 4.5 support on Haswell hardware
|
||||
+ Reuse the same BLORP and ISL code as the ANV driver
|
||||
* Gallium:
|
||||
+ HUD: A number of race issues and memory leaks were resolved.
|
||||
* freedreno
|
||||
+ Support for a5xx
|
||||
* nouveau:
|
||||
+ OpenGL 4.3 support on Maxwell hardware
|
||||
+ Improved performance due to instruction pipelining (Maxwell)
|
||||
* r600/radeonsi
|
||||
+ VCE: Handle H.264 level 5.2
|
||||
+ Polaris12 support
|
||||
+ Dozens of performance improvements
|
||||
* Clover:
|
||||
+ Implement clGetExtensionFunctionAddressForPlatform.
|
||||
+ Add missing clGetDeviceInfo CL1.2 queries
|
||||
* VDPAU:
|
||||
+ Use dri3 to directly send the buffer to X
|
||||
* Build:
|
||||
+ Building RADV requires --enable-gallium-llvm
|
||||
+ Compatibility fixes for building mesa as part of ARC
|
||||
+ The vulkan headers vk_platform.h and vulkan.h are no longer installed
|
||||
+ A couple of configure options (--with-sha1 and --disable-shader-cache) are
|
||||
removed alongside their respective library requirements.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 4 14:58:43 UTC 2017 - schwab@linux-m68k.org
|
||||
|
||||
|
47
Mesa.spec
47
Mesa.spec
@ -22,7 +22,7 @@
|
||||
|
||||
%define glamor 1
|
||||
%define _name_archive mesa
|
||||
%define _version 13.0.4
|
||||
%define _version 17.0.0
|
||||
%define with_opencl 0
|
||||
%define with_vulkan 0
|
||||
%ifarch %ix86 x86_64 %arm ppc ppc64 ppc64le s390x
|
||||
@ -49,21 +49,22 @@
|
||||
%endif
|
||||
|
||||
Name: Mesa
|
||||
Version: 13.0.4
|
||||
Version: 17.0.0
|
||||
Release: 0
|
||||
Summary: System for rendering interactive 3-D graphics
|
||||
License: MIT
|
||||
Group: System/Libraries
|
||||
Url: http://www.mesa3d.org
|
||||
Source: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{_name_archive}-%{_version}.tar.xz
|
||||
Source1: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{_name_archive}-%{_version}.tar.xz.sig
|
||||
# For now directory structure of Mesa's ftp changed
|
||||
# Source: ftp://ftp.freedesktop.org/pub/mesa/%%{version}/%%{_name_archive}-%%{_version}.tar.xz
|
||||
Source: ftp://ftp.freedesktop.org/pub/mesa/%{_name_archive}-%{_version}.tar.xz
|
||||
# Source1: ftp://ftp.freedesktop.org/pub/mesa/%%{version}/%%{_name_archive}-%%{_version}.tar.xz.sig
|
||||
Source1: ftp://ftp.freedesktop.org/pub/mesa/%{_name_archive}-%{_version}.tar.xz.sig
|
||||
Source2: baselibs.conf
|
||||
Source3: README.updates
|
||||
Source4: manual-pages.tar.bz2
|
||||
Source6: %{name}-rpmlintrc
|
||||
Source7: Mesa.keyring
|
||||
# required for building against wayland of openSUSE 13.1
|
||||
Patch0: n_Fixed-build-against-wayland-1.2.1.patch
|
||||
# to be upstreamed
|
||||
Patch11: u_Fix-crash-in-swrast-when-setting-a-texture-for-a-pix.patch
|
||||
# Patch from Fedora, fix 16bpp in llvmpipe
|
||||
@ -133,13 +134,14 @@ Obsoletes: Mesa-nouveau3d < %{version}
|
||||
Obsoletes: xorg-x11-Mesa < %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%ifarch %arm
|
||||
BuildRequires: pkgconfig(libdrm_freedreno) >= 2.4.67
|
||||
BuildRequires: pkgconfig(libdrm_freedreno) >= 2.4.74
|
||||
%endif
|
||||
%ifarch x86_64 %ix86
|
||||
BuildRequires: libelf-devel
|
||||
BuildRequires: pkgconfig(libdrm_intel) >= 2.4.61
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1310
|
||||
# Requirments for wayland bumped up from 17.0
|
||||
%if 0%{?suse_version} > 1320
|
||||
BuildRequires: pkgconfig(wayland-client)
|
||||
BuildRequires: pkgconfig(wayland-server)
|
||||
%endif
|
||||
@ -186,7 +188,7 @@ Obsoletes: Mesa-devel-static < %{version}
|
||||
Obsoletes: xorg-x11-Mesa-devel < %{version}
|
||||
Provides: Mesa-libIndirectGL-devel = %{version}
|
||||
Obsoletes: Mesa-libIndirectGL-devel < %{version}
|
||||
%if 0%{?suse_version} >= 1310
|
||||
%if 0%{?suse_version} > 1320
|
||||
Requires: libwayland-egl-devel
|
||||
%endif
|
||||
|
||||
@ -429,7 +431,7 @@ openwfd.
|
||||
This package provides the development environment for compiling
|
||||
programs against the GBM library.
|
||||
|
||||
%if 0%{?suse_version} >= 1310
|
||||
%if 0%{?suse_version} > 1320
|
||||
%package -n libwayland-egl1
|
||||
Summary: Additional egl functions for wayland
|
||||
Group: System/Libraries
|
||||
@ -452,8 +454,8 @@ implementation of Mesa.
|
||||
%if 0%{?with_nine}
|
||||
%package libd3d
|
||||
Summary: Mesa Direct3D9 state tracker
|
||||
Group: System/Libraries
|
||||
# Manually provide d3d library (bnc#918294)
|
||||
Group: System/Libraries
|
||||
%ifarch x86_64 s390x ppc64le aarch64
|
||||
Provides: d3dadapter9.so.1()(64bit)
|
||||
%else
|
||||
@ -601,10 +603,6 @@ programs against the XA state tracker.
|
||||
%setup -q -n %{_name_archive}-%{_version} -b4
|
||||
# remove some docs
|
||||
rm -rf docs/README.{VMS,WIN32,OS2}
|
||||
%if 0%{?suse_version} < 1320
|
||||
# required for building against wayland of openSUSE 13.1
|
||||
%patch0 -p1
|
||||
%endif
|
||||
### disabled, but not dropped yet; these still need investigation in
|
||||
### order to figure out whether the issue is still reproducable and
|
||||
### hence a fix is required
|
||||
@ -623,7 +621,7 @@ rm -rf docs/README.{VMS,WIN32,OS2}
|
||||
%endif
|
||||
|
||||
%build
|
||||
%if 0%{?suse_version} >= 1310
|
||||
%if 0%{?suse_version} > 1320
|
||||
egl_platforms=x11,drm,wayland
|
||||
%else
|
||||
egl_platforms=x11,drm
|
||||
@ -648,11 +646,7 @@ autoreconf -fvi
|
||||
--enable-opencl \
|
||||
--enable-opencl-icd \
|
||||
%endif
|
||||
%if 0%{?suse_version} < 1315
|
||||
--with-dri-searchpath=%{_libdir}/dri/updates:%{_libdir}/dri \
|
||||
%else
|
||||
--with-dri-searchpath=%{_libdir}/dri \
|
||||
%endif
|
||||
--enable-gallium-llvm \
|
||||
--enable-llvm-shared-libs \
|
||||
--enable-vdpau \
|
||||
@ -698,12 +692,6 @@ for dir in ../xc/doc/man/{GL/gl,GL/glx}; do
|
||||
make install.man DESTDIR=%{buildroot} MANPATH=%{_mandir} LIBMANSUFFIX=3gl
|
||||
popd
|
||||
done
|
||||
%if 0%{?suse_version} < 1315
|
||||
#DRI driver update mechanism
|
||||
mkdir -p %{buildroot}%{_libdir}/dri/updates
|
||||
install -m 644 $RPM_SOURCE_DIR/README.updates \
|
||||
%{buildroot}%{_libdir}/dri/updates
|
||||
%endif
|
||||
|
||||
%fdupes -s %{buildroot}/%{_mandir}
|
||||
|
||||
@ -771,7 +759,7 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \
|
||||
|
||||
%postun -n Mesa-libglapi0 -p /sbin/ldconfig
|
||||
|
||||
%if 0%{?suse_version} >= 1310
|
||||
%if 0%{?suse_version} > 1320
|
||||
%post -n libwayland-egl1 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libwayland-egl1 -p /sbin/ldconfig
|
||||
@ -804,9 +792,6 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \
|
||||
%doc docs/README* docs/license.html
|
||||
%config %{_sysconfdir}/drirc
|
||||
%dir %{_libdir}/dri
|
||||
%if 0%{?suse_version} < 1315
|
||||
%{_libdir}/dri/updates
|
||||
%endif
|
||||
%{_libdir}/dri/*_dri.so
|
||||
%ifarch %ix86 x86_64 aarch64 %arm ppc64 ppc64le
|
||||
%exclude %{_libdir}/dri/nouveau_dri.so
|
||||
@ -883,7 +868,7 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \
|
||||
%{_libdir}/libOSMesa.so
|
||||
%{_libdir}/pkgconfig/osmesa.pc
|
||||
|
||||
%if 0%{?suse_version} >= 1310
|
||||
%if 0%{?suse_version} > 1320
|
||||
%files -n libwayland-egl1
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libwayland-egl.so.1*
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a95d7ce8f7bd5f88585e4be3144a341236d8c0fc91f6feaec59bb8ba3120e726
|
||||
size 9164612
|
Binary file not shown.
3
mesa-17.0.0.tar.xz
Normal file
3
mesa-17.0.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:39db3d59700159add7f977307d12a7dfe016363e760ad82280ac4168ea668481
|
||||
size 9442580
|
BIN
mesa-17.0.0.tar.xz.sig
Normal file
BIN
mesa-17.0.0.tar.xz.sig
Normal file
Binary file not shown.
@ -1,48 +0,0 @@
|
||||
From 968a11158031d5d51e63f18cf4cddea7ae23177f Mon Sep 17 00:00:00 2001
|
||||
From: Stefan Dirsch <sndirsch@suse.de>
|
||||
Date: Tue, 23 Jun 2015 16:43:51 +0200
|
||||
Subject: [PATCH] Fixed build against wayland 1.2.1
|
||||
|
||||
Wayland 1.2.1 still lacks definition of WL_SHM_FORMAT_RGB565 format.
|
||||
---
|
||||
src/egl/drivers/dri2/platform_wayland.c | 10 +---------
|
||||
1 file changed, 1 insertion(+), 9 deletions(-)
|
||||
|
||||
diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c
|
||||
index ea2f9f2..4351e08 100644
|
||||
--- a/src/egl/drivers/dri2/platform_wayland.c
|
||||
+++ b/src/egl/drivers/dri2/platform_wayland.c
|
||||
@@ -1236,9 +1236,6 @@ dri2_initialize_wayland_drm(_EGLDriver *drv, _EGLDisplay *disp)
|
||||
static int
|
||||
dri2_wl_swrast_get_stride_for_format(int format, int w)
|
||||
{
|
||||
- if (format == WL_SHM_FORMAT_RGB565)
|
||||
- return 2 * w;
|
||||
- else /* ARGB8888 || XRGB8888 */
|
||||
return 4 * w;
|
||||
}
|
||||
|
||||
@@ -1672,9 +1669,7 @@ dri2_wl_swrast_create_window_surface(_EGLDriver *drv, _EGLDisplay *disp,
|
||||
if (!_eglInitSurface(&dri2_surf->base, disp, EGL_WINDOW_BIT, conf, attrib_list))
|
||||
goto cleanup_surf;
|
||||
|
||||
- if (conf->RedSize == 5)
|
||||
- dri2_surf->format = WL_SHM_FORMAT_RGB565;
|
||||
- else if (conf->AlphaSize == 0)
|
||||
+ if (conf->AlphaSize == 0)
|
||||
dri2_surf->format = WL_SHM_FORMAT_XRGB8888;
|
||||
else
|
||||
dri2_surf->format = WL_SHM_FORMAT_ARGB8888;
|
||||
@@ -1728,9 +1723,6 @@ shm_handle_format(void *data, struct wl_shm *shm, uint32_t format)
|
||||
case WL_SHM_FORMAT_XRGB8888:
|
||||
dri2_dpy->formats |= HAS_XRGB8888;
|
||||
break;
|
||||
- case WL_SHM_FORMAT_RGB565:
|
||||
- dri2_dpy->formats |= HAS_RGB565;
|
||||
- break;
|
||||
}
|
||||
}
|
||||
|
||||
--
|
||||
1.8.4.5
|
||||
|
Loading…
Reference in New Issue
Block a user