Hello community,

here is the log from the commit of package clutter for openSUSE:Factory checked 
in at 2014-03-06 11:52:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/clutter (Old)
 and      /work/SRC/openSUSE:Factory/.clutter.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "clutter"

Changes:
--------
--- /work/SRC/openSUSE:Factory/clutter/clutter.changes  2014-01-29 
19:19:09.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.clutter.new/clutter.changes     2014-03-06 
11:52:56.000000000 +0100
@@ -1,0 +2,6 @@
+Tue Mar  4 18:16:00 UTC 2014 - [email protected]
+
+- Add clutter-bgo724788.patch: Fix rendering problems with recent
+  (stable) nvidia drivers (bgo#724788).
+
+-------------------------------------------------------------------

New:
----
  clutter-bgo724788.patch

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

Other differences:
------------------
++++++ clutter.spec ++++++
--- /var/tmp/diff_new_pack.ai8veb/_old  2014-03-06 11:52:57.000000000 +0100
+++ /var/tmp/diff_new_pack.ai8veb/_new  2014-03-06 11:52:57.000000000 +0100
@@ -27,6 +27,8 @@
 Url:            http://clutter-project.org/
 Source0:        
http://download.gnome.org/sources/clutter/1.16/%{name}-%{version}.tar.xz
 Source99:       baselibs.conf
+# PATCH-FIX-UPSTREAM clutter-bgo724788.patch bgo#724788 [email protected] -- 
Fix rendering problems with recent (stable) nvidia drivers
+Patch0:         clutter-bgo724788.patch
 BuildRequires:  fdupes
 BuildRequires:  xmlto
 BuildRequires:  pkgconfig(atk) >= 2.5.3
@@ -99,6 +101,7 @@
 %lang_package
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure \

++++++ clutter-bgo724788.patch ++++++
>From 6665f47d66a871b6e1a5f4200282f42da043a0e8 Mon Sep 17 00:00:00 2001
From: Adel Gadllah <[email protected]>
Date: Sun, 16 Feb 2014 21:07:43 +0000
Subject: stage-cogl: Fix buffer_age code path

Currently we where checking whether the damage_history list contains
more or equal then buffer_age entries. This is wrong because we prepend
our current clip to the list just before the check.

Fix that to check whether we have more entries instead of more or equal.

https://bugzilla.gnome.org/show_bug.cgi?id=724788
---
diff --git a/clutter/cogl/clutter-stage-cogl.c 
b/clutter/cogl/clutter-stage-cogl.c
index 86546b1..cff8444 100644
--- a/clutter/cogl/clutter-stage-cogl.c
+++ b/clutter/cogl/clutter-stage-cogl.c
@@ -483,11 +483,12 @@ clutter_stage_cogl_redraw (ClutterStageWindow 
*stage_window)
 
         stage_cogl->damage_history = g_slist_prepend 
(stage_cogl->damage_history, current_damage);
 
-        if (age != 0 && !stage_cogl->dirty_backbuffer && g_slist_length 
(stage_cogl->damage_history) >= age)
+        if (age != 0 && !stage_cogl->dirty_backbuffer && g_slist_length 
(stage_cogl->damage_history) > age)
           {
             int i = 0;
             GSList *tmp = NULL;
-            for (tmp = stage_cogl->damage_history; tmp; tmp = tmp->next)
+            /* We skip the first entry because it is the clip_region itself */
+            for (tmp = stage_cogl->damage_history->next; tmp; tmp = tmp->next)
               {
                 _clutter_util_rectangle_union (clip_region, tmp->data, 
clip_region);
                 i++;
--
cgit v0.9.2
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to