Hello community,

here is the log from the commit of package Mesa for openSUSE:Factory checked in 
at 2012-06-01 18:53:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/Mesa (Old)
 and      /work/SRC/openSUSE:Factory/.Mesa.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "Mesa", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/Mesa/Mesa.changes        2012-05-26 
12:55:13.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.Mesa.new/Mesa.changes   2012-06-01 
18:53:53.000000000 +0200
@@ -1,0 +2,12 @@
+Wed May 30 16:56:11 UTC 2012 - [email protected]
+
+- Add u_mesa-8.0.1-fix-16bpp.patch (Fedora): fix 16bpp mode under
+  llvmpipe.
+
+-------------------------------------------------------------------
+Sat May 26 22:29:41 UTC 2012 - [email protected]
+
+- added configure options "--enable-gbm --enable-glx-tls" (required
+  for glamor support)
+
+-------------------------------------------------------------------

New:
----
  u_mesa-8.0.1-fix-16bpp.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ Mesa.spec ++++++
--- /var/tmp/diff_new_pack.vGJ2bW/_old  2012-06-01 18:53:54.000000000 +0200
+++ /var/tmp/diff_new_pack.vGJ2bW/_new  2012-06-01 18:53:54.000000000 +0200
@@ -16,6 +16,8 @@
 #
 
 
+%define glamor 1
+
 #
 %define _version 8.0.3
 %define _name_archive mesa
@@ -88,6 +90,8 @@
 Patch11:        u_Fix-crash-in-swrast-when-setting-a-texture-for-a-pix.patch
 # Patch from upstream master to resolve build issues with llvm 3.1
 Patch12:        upstream-llvm-patch.diff
+# Patch from Fedora, fix 16bpp in llvmpipe
+Patch13:        u_mesa-8.0.1-fix-16bpp.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -396,6 +400,7 @@
 rm -rf docs/README.{VMS,WIN32,OS2}
 #%patch11 -p1
 %patch12 -p1
+%patch13 -p1
 
 %build
 
@@ -412,6 +417,10 @@
            --enable-shared-dricore \
            --enable-xa \
            --enable-texture-float \
+%if %glamor
+           --enable-gbm \
+           --enable-glx-tls \
+%endif
            --with-dri-searchpath=/usr/%{_lib}/dri/updates:/usr/%{_lib}/dri \
 %ifarch %ix86 x86_64
            --enable-gallium-llvm \

++++++ u_mesa-8.0.1-fix-16bpp.patch ++++++
diff -up Mesa-8.0.1/src/mesa/state_tracker/st_manager.c.jx 
Mesa-8.0.1/src/mesa/state_tracker/st_manager.c
--- Mesa-8.0.1/src/mesa/state_tracker/st_manager.c.jx   2012-02-14 
18:44:00.000000000 -0500
+++ Mesa-8.0.1/src/mesa/state_tracker/st_manager.c      2012-04-02 
12:02:14.613964417 -0400
@@ -528,6 +528,9 @@ st_context_teximage(struct st_context_if
       if (util_format_get_component_bits(internal_format,
                UTIL_FORMAT_COLORSPACE_RGB, 3) > 0)
          internalFormat = GL_RGBA;
+      else if (util_format_get_component_bits(internal_format,
+                 UTIL_FORMAT_COLORSPACE_RGB, 0) == 5)
+         internalFormat = GL_RGB5;
       else
          internalFormat = GL_RGB;
 
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to