Author: toshok
Date: 2008-01-22 14:03:21 -0500 (Tue, 22 Jan 2008)
New Revision: 93563
Modified:
trunk/moon/src/ChangeLog
trunk/moon/src/media.cpp
Log:
2008-01-22 Chris Toshok <[EMAIL PROTECTED]>
* media.cpp (MediaElement::Render): a little cairo cleanup, and
remove the USE_OPT_REGION_CLIP block.
Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog 2008-01-22 18:58:36 UTC (rev 93562)
+++ trunk/moon/src/ChangeLog 2008-01-22 19:03:21 UTC (rev 93563)
@@ -1,3 +1,8 @@
+2008-01-22 Chris Toshok <[EMAIL PROTECTED]>
+
+ * media.cpp (MediaElement::Render): a little cairo cleanup, and
+ remove the USE_OPT_REGION_CLIP block.
+
2008-01-22 Andrew Jorgensen <[EMAIL PROTECTED]>
* pipeline.cpp: include unistd.h, fixes a build error introduced in
Modified: trunk/moon/src/media.cpp
===================================================================
--- trunk/moon/src/media.cpp 2008-01-22 18:58:36 UTC (rev 93562)
+++ trunk/moon/src/media.cpp 2008-01-22 19:03:21 UTC (rev 93563)
@@ -10,8 +10,6 @@
* See the LICENSE file included with the distribution for details.
*/
-#define USE_OPT_REGION_CLIP 1
-
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
@@ -630,7 +628,6 @@
if (!EnableAntiAlias ())
cairo_set_antialias (cr, CAIRO_ANTIALIAS_NONE);
- cairo_set_matrix (cr, &absolute_xform);
pattern = cairo_pattern_create_for_surface (surface);
if (recalculate_matrix) {
@@ -646,16 +643,8 @@
cairo_pattern_set_filter (cairo_get_source (cr), CAIRO_FILTER_FAST);
-#if USE_OPT_REGION_CLIP
- cairo_identity_matrix (cr);
- runtime_cairo_region (cr, region->gdkregion);
- cairo_clip (cr);
-#endif
cairo_set_matrix (cr, &absolute_xform);
- cairo_pattern_set_matrix (pattern, &matrix);
- cairo_set_source (cr, pattern);
-
cairo_new_path (cr);
cairo_rectangle (cr, 0, 0, w, h);
cairo_fill (cr);
@@ -1794,11 +1783,6 @@
cairo_pattern_set_matrix (pattern, &matrix);
cairo_set_source (cr, pattern);
-#if USE_OPT_REGION_CLIP
- cairo_identity_matrix (cr);
- runtime_cairo_region (cr, region->gdkregion);
- cairo_clip (cr);
-#endif
cairo_set_matrix (cr, &absolute_xform);
cairo_rectangle (cr, 0, 0, w, h);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches