mesa: Changes to 'ubuntu'
debian/changelog | 10 ++++++++++
debian/patches/107_glxgears_is_not_a_benchmark.patch | 13 +++++++++++++
debian/patches/series | 1 +
3 files changed, 24 insertions(+)
New commits:
commit 36bf74eecaa4a88639244172bc688830ead9152f
Author: Bryce Harrington <bryce@bryceharrington.org>
Date: Mon May 4 12:51:18 2009 -0700
Disable glxgears fps output
diff --git a/debian/changelog b/debian/changelog
index 8464ac0..a44577d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+mesa (7.4-0ubuntu5) karmic; urgency=low
+
+ * Add 107_glxgears_is_not_a_benchmark.patch: glxgears makes
+ troubleshooting performance issues difficult because bug reporters
+ see it provides fps output, and end up not looking for a better
+ benchmark.
+
+ -- Bryce Harrington <bryce@ubuntu.com> Mon, 04 May 2009 12:49:12 -0700
+
mesa (7.4-0ubuntu4) karmic; urgency=low
* debian/patches/106_compiz_ring_switcher_xorg_segv_on_radeon.diff:
diff --git a/debian/patches/107_glxgears_is_not_a_benchmark.patch b/debian/patches/107_glxgears_is_not_a_benchmark.patch
new file mode 100644
index 0000000..39b08e1
--- /dev/null
+++ b/debian/patches/107_glxgears_is_not_a_benchmark.patch
@@ -0,0 +1,13 @@
+diff --git a/progs/xdemos/glxgears.c b/progs/xdemos/glxgears.c
+index 2dc157a..d7c8191 100644
+--- a/progs/xdemos/glxgears.c
++++ b/progs/xdemos/glxgears.c
+@@ -347,7 +347,7 @@ draw_frame(Display *dpy, Window win)
+ if (t - tRate0 >= 5.0) {
+ GLfloat seconds = t - tRate0;
+ GLfloat fps = frames / seconds;
+- printf("%d frames in %3.1f seconds = %6.3f FPS\n", frames, seconds,
++ printf("%d frames in %3.1f seconds\n", frames, seconds,
+ fps);
+ tRate0 = t;
+ frames = 0;
diff --git a/debian/patches/series b/debian/patches/series
index 131afdb..11eb7d9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@
104_fix_dri2_ext_tfp.diff
105_glXWaitX_segfaults.patch
106_compiz_ring_switcher_xorg_segv_on_radeon.diff
+107_glxgears_is_not_a_benchmark.patch
Reply to: