Owen W. Taylor
d21b7522f8
Fix errors in keeping track of the stage bounding rectangle
...
* Add new clutter_geometry_union(), because writing union intersection
is harder than it looks. Fixes two problems with the inline code in
clutter_stage_glx_add_redraw_clip().
1) The ->x and ->y of were reassigned to before using them to
compute the new width and height.
2) since ClutterGeometry has unsigned width, x + width is unsigned,
and comparison goes wrong if either rectangle has a negative
x + width. (We fixed width for GdkRectangle to be signed for GTK+-2.0,
this is a potent source of bugs.)
* Use in clutter_stage_glx_add_redraw_clip()
* Account for the case where the incoming rectangle is empty, and don't
end up with the stage being entirely redrawn.
* Account for the case where the stage already has a degenerate
width and don't end up with redrawing only the new rectangle and not
the rest of the stage.
The better fix here for the second two problems is to stop using a 0
width to mean the entire stage, but this should work for now.
http://bugzilla.openedhand.com/show_bug.cgi?id=2040
Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
2010-03-19 10:29:53 +00:00
..
2010-03-19 10:21:34 +00:00
2010-03-05 08:48:52 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-19 10:29:53 +00:00
2010-03-07 20:54:33 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-03 17:46:53 +00:00
2010-03-19 10:29:53 +00:00
2010-03-02 17:19:11 +00:00
2010-03-01 12:56:10 +00:00
2009-01-20 18:47:50 +00:00
2009-05-27 13:01:31 +01:00
2010-03-02 11:12:32 +00:00
2010-02-25 12:01:03 +00:00
2009-08-25 12:16:41 +01:00
2010-03-03 15:53:07 +00:00
2010-03-02 17:03:03 +00:00
2010-03-17 17:40:34 +00:00
2010-02-17 17:46:48 +00:00
2010-03-01 12:56:10 +00:00
2009-03-16 15:00:55 +00:00
2010-03-01 12:56:10 +00:00
2009-06-19 16:38:35 +01:00
2010-03-01 12:56:10 +00:00
2009-03-16 15:00:55 +00:00
2010-03-01 12:56:10 +00:00
2009-11-19 11:51:21 +00:00
2010-03-01 12:56:10 +00:00
2009-06-19 16:38:35 +01:00
2010-03-01 12:56:10 +00:00
2009-06-19 16:38:35 +01:00
2010-03-01 12:56:10 +00:00
2009-01-20 16:42:49 +00:00
2010-03-01 12:56:10 +00:00
2008-12-05 13:13:37 +00:00
2010-02-09 16:58:03 +00:00
2009-10-14 11:31:29 +01:00
2009-11-17 21:32:17 +00:00
2009-01-14 15:03:30 +00:00
2010-02-12 14:50:10 +00:00
2009-12-13 01:15:02 +00:00
2010-03-03 10:47:42 +00:00
2010-03-02 11:12:32 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2009-03-16 15:00:55 +00:00
2009-10-22 15:51:06 +01:00
2009-03-16 15:00:55 +00:00
2010-03-01 12:56:10 +00:00
2009-06-29 21:37:02 +02:00
2010-03-01 12:56:10 +00:00
2010-03-02 11:12:32 +00:00
2010-03-02 17:19:11 +00:00
2009-07-21 09:22:38 +01:00
2010-02-17 17:46:48 +00:00
2010-03-02 11:12:32 +00:00
2009-05-29 12:40:23 +01:00
2007-08-20 20:16:15 +00:00
2010-03-01 12:56:10 +00:00
2010-02-17 18:21:50 +00:00
2010-03-18 14:15:33 +00:00
2010-02-15 19:03:37 +00:00
2010-02-24 12:25:53 +00:00
2009-10-14 11:31:29 +01:00
2010-03-01 12:56:10 +00:00
2009-03-10 12:38:04 +00:00
2010-03-02 15:11:27 +00:00
2009-10-14 11:31:30 +01:00
2010-03-01 12:56:10 +00:00
2009-03-16 15:40:18 +00:00
2010-03-01 12:56:10 +00:00
2009-04-08 18:19:46 +01:00
2010-03-01 12:56:10 +00:00
2008-10-30 17:04:34 +00:00
2010-02-26 11:19:26 +00:00
2010-02-17 18:21:50 +00:00
2010-02-25 10:22:36 +00:00
2009-01-08 11:15:09 +00:00
2009-08-12 15:31:16 +01:00
2008-06-10 06:37:46 +00:00
2010-03-01 12:56:10 +00:00
2010-02-25 10:22:36 +00:00
2009-12-13 01:23:54 +00:00
2009-10-14 11:31:26 +01:00
2009-12-02 11:36:25 +00:00
2010-03-01 12:56:10 +00:00
2009-02-14 11:31:00 +00:00
2010-03-17 17:40:34 +00:00
2009-12-07 19:00:55 +00:00
2010-01-20 00:38:07 +00:00
2010-02-15 12:04:50 +00:00
2009-07-10 11:38:42 +01:00
2010-01-11 13:04:16 +00:00
2010-03-02 11:12:32 +00:00
2009-05-05 20:18:28 +01:00
2010-03-17 17:14:08 +00:00
2009-05-20 16:06:09 +01:00
2010-02-04 21:10:02 +00:00
2009-10-06 10:43:41 +01:00
2010-03-17 17:40:34 +00:00
2010-03-01 15:25:45 +00:00
2010-01-08 20:19:50 +00:00
2010-03-01 12:56:10 +00:00
2009-03-16 15:00:55 +00:00
2010-03-01 12:56:10 +00:00
2009-03-16 15:00:55 +00:00
2010-03-18 20:20:09 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2009-03-16 15:00:55 +00:00
2010-03-01 12:56:10 +00:00
2010-03-02 11:12:32 +00:00
2010-03-01 12:56:10 +00:00
2009-05-12 14:53:44 +01:00
2010-03-01 12:56:10 +00:00
2009-04-03 12:47:21 +01:00
2010-02-18 17:01:57 +00:00
2010-03-03 10:49:34 +00:00
2010-03-02 17:19:11 +00:00
2010-03-02 17:19:11 +00:00
2010-03-02 17:19:11 +00:00
2010-02-06 11:23:37 +00:00
2010-02-12 14:50:11 +00:00
2010-02-03 14:38:13 +00:00
2010-03-01 12:56:10 +00:00
2009-05-23 19:35:19 +01:00
2010-03-01 12:56:10 +00:00
2009-06-19 16:38:35 +01:00
2010-02-01 10:40:34 +00:00
2009-03-16 15:40:18 +00:00
2010-03-01 12:56:10 +00:00
2009-03-16 15:40:18 +00:00
2010-03-19 10:29:53 +00:00
2010-03-01 12:56:10 +00:00
2009-10-16 15:25:37 +01:00
2010-03-01 12:56:10 +00:00
2010-02-06 10:49:33 +00:00
2010-03-02 11:12:32 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 15:25:45 +00:00