~ubuntu-branches/ubuntu/hardy/libgdiplus/hardy

« back to all changes in this revision

Viewing changes to cairo/src/cairo-directfb-surface.c

  • Committer: Bazaar Package Importer
  • Author(s): Emilio Pozuelo Monfort
  • Date: 2007-12-18 13:08:10 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20071218130810-hlmitxfddf6h511j
Tags: 1.2.6-1ubuntu1
* Sync with Debian:
  - debian/control:
    + Add lpia and sparc to the architectures. We support them.
    + Change Maintainer to Ubuntu Mono Team.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1511
1511
#endif /* DFB_SHOW_GLYPHS */
1512
1512
 
1513
1513
 
 
1514
static cairo_bool_t
 
1515
_cairo_directfb_surface_is_similar (void *surface_a,
 
1516
                                   void *surface_b,
 
1517
                                   cairo_content_t content)
 
1518
{
 
1519
    cairo_directfb_surface_t *a = (cairo_directfb_surface_t *) surface_a;
 
1520
    cairo_directfb_surface_t *b = (cairo_directfb_surface_t *) surface_b;
 
1521
 
 
1522
    return a->dfb == b->dfb;
 
1523
}
 
1524
 
1514
1525
static cairo_surface_backend_t cairo_directfb_surface_backend = {
1515
1526
         CAIRO_SURFACE_TYPE_DIRECTFB, /*type*/
1516
1527
        _cairo_directfb_surface_create_similar,/*create_similar*/
1560
1571
#else
1561
1572
        NULL, /* show_glyphs */
1562
1573
#endif
1563
 
        NULL /* snapshot */
 
1574
        NULL, /* snapshot */
 
1575
        _cairo_directfb_surface_is_similar,
 
1576
        NULL /* reset */
1564
1577
};
1565
1578
 
1566
1579