[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mesa: Changes to 'ubuntu'



 debian/changelog                                  |    9 +++++++
 debian/patches/114_intel_dri_renderer_string.diff |   27 ++++++++++++++++++++++
 debian/patches/series                             |    1 
 3 files changed, 37 insertions(+)

New commits:
commit 14fca5fe7ba79d7bbb98dcb8f7e2902b69c79579
Author: Timo Aaltonen <tjaalton@ubuntu.com>
Date:   Tue Apr 19 12:38:44 2011 +0300

    Add 114_intel_dri_renderer_string.diff
    
    Re-add "GEM" to the dri renderer string of the intel driver. Removing
    it breaks KDE's detection for the blur effect. (LP: #753370)

diff --git a/debian/changelog b/debian/changelog
index 7a802ea..acd34ae 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+mesa (7.10.2-0ubuntu2) natty; urgency=low
+
+  [ Felix Geyer ]
+  * Add 114_intel_dri_renderer_string.diff: Re-add "GEM" to the dri renderer
+    string of the intel driver. Removing it breaks KDE's detection for the blur
+    effect. (LP: #753370)
+
+ -- Timo Aaltonen <tjaalton@ubuntu.com>  Tue, 19 Apr 2011 12:38:25 +0300
+
 mesa (7.10.2-0ubuntu1) natty; urgency=low
 
   [ Steve Langasek ]
diff --git a/debian/patches/114_intel_dri_renderer_string.diff b/debian/patches/114_intel_dri_renderer_string.diff
new file mode 100644
index 0000000..6b558c9
--- /dev/null
+++ b/debian/patches/114_intel_dri_renderer_string.diff
@@ -0,0 +1,27 @@
+Description: Re-add "GEM" to the dri renderer string of the intel driver.
+ Removing it breaks KDE's detection for the blur effect.
+ Should be dropped with mesa 7.11
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/753370
+
+--- a/src/mesa/drivers/dri/intel/intel_context.c
++++ b/src/mesa/drivers/dri/intel/intel_context.c
+@@ -62,6 +62,10 @@
+ #endif
+ 
+ 
++#define DRIVER_DATE                     "20100330 DEVELOPMENT"
++#define DRIVER_DATE_GEM                 "GEM " DRIVER_DATE
++
++
+ static const GLubyte *
+ intelGetString(struct gl_context * ctx, GLenum name)
+ {
+@@ -178,7 +182,7 @@
+          break;
+       }
+ 
+-      (void) driGetRendererString(buffer, chipset, "", 0);
++      (void) driGetRendererString(buffer, chipset, DRIVER_DATE_GEM, 0);
+       return (GLubyte *) buffer;
+ 
+    default:
diff --git a/debian/patches/series b/debian/patches/series
index 2ef13f2..2bd0fad 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -13,3 +13,4 @@
 111_export_searchdirs_in_dripc.diff
 112_fix_segfault_on_nvAF.diff
 113_fix_tls.diff
+114_intel_dri_renderer_string.diff


Reply to: