summaryrefslogtreecommitdiffstats
path: root/package/cairo/cairo-1.8.10-directfb.patch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-07-19 10:45:45 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-07-27 22:48:13 +0200
commitce408ef0afea8b76082a6a2aa1f28233899174f0 (patch)
treec83cb9ac034e7034a33c5ab49943f75b5b7e95d8 /package/cairo/cairo-1.8.10-directfb.patch
parent8a1468be5b0c6638ce6da8b41ae3a6c3ca788575 (diff)
downloadbuildroot-novena-ce408ef0afea8b76082a6a2aa1f28233899174f0.tar.gz
buildroot-novena-ce408ef0afea8b76082a6a2aa1f28233899174f0.zip
cairo: bump to 1.8.10
This commit bumps Cairo to 1.8.10 and updates the DirectFB support patch. The work has been done by Lionel Landwerlin <llandwerlin@gmail.com>. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/cairo/cairo-1.8.10-directfb.patch')
-rw-r--r--package/cairo/cairo-1.8.10-directfb.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/package/cairo/cairo-1.8.10-directfb.patch b/package/cairo/cairo-1.8.10-directfb.patch
new file mode 100644
index 000000000..12a51ec5e
--- /dev/null
+++ b/package/cairo/cairo-1.8.10-directfb.patch
@@ -0,0 +1,39 @@
+diff --git a/src/cairo-directfb-surface.c b/src/cairo-directfb-surface.c
+index bb02dbf..65f2d55 100644
+--- a/src/cairo-directfb-surface.c
++++ b/src/cairo-directfb-surface.c
+@@ -609,6 +609,8 @@ _cairo_directfb_surface_release_dest_image (void *abstract_surf
+ surface->dfbsurface->Blit (surface->dfbsurface,
+ buffer, NULL,
+ image_rect->x, image_rect->y));
++
++ surface->dfbsurface->ReleaseSource (surface->dfbsurface);
+ }
+
+ cairo_surface_destroy (&image->base);
+@@ -848,6 +850,9 @@ _directfb_finish_composite (cairo_directfb_surface_t *dst,
+ cairo_surface_attributes_t *src_attr)
+ {
+ _cairo_pattern_release_surface (src_pattern, src, src_attr);
++
++ if (dst->dfbsurface)
++ dst->dfbsurface->ReleaseSource( dst->dfbsurface );
+ }
+ #endif /* DFB_COMPOSITE || DFB_COMPOSITE_TRAPEZOIDS */
+
+@@ -1555,6 +1560,7 @@ _directfb_acquire_font_cache (cairo_directfb_surface_t *surface,
+
+ new_cache->dfbsurface->Blit (new_cache->dfbsurface,
+ cache->dfbsurface, NULL, 0, 0);
++ new_cache->dfbsurface->ReleaseSource (new_cache->dfbsurface);
+
+ _directfb_destroy_font_cache (cache);
+ scaled_font->surface_private = cache = new_cache;
+@@ -1778,6 +1784,7 @@ _cairo_directfb_surface_show_glyphs (void *abstract_dst,
+ RUN_CLIPPED (dst, NULL,
+ dst->dfbsurface->BatchBlit (dst->dfbsurface,
+ cache->dfbsurface, rects, points, num));
++ dst->dfbsurface->ReleaseSource (dst->dfbsurface);
+
+ return CAIRO_STATUS_SUCCESS;
+ }