~ubuntu-branches/ubuntu/intrepid/cairo/intrepid-updates

« back to all changes in this revision

Viewing changes to test/paint-repeat.c

  • Committer: Bazaar Package Importer
  • Author(s): Fabien Tassin
  • Date: 2008-09-25 16:22:33 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20080925162233-btx61ymk181i7mcc
Tags: 1.7.6-0ubuntu1
* New upstream version. Most noticable changes are:
  - some API changes with especially the removal of
    cairo_font_options_set_lcd_filter and cairo_font_options_get_lcd_filter
  - xlib: Faster bookkeeping
  - PS: Fix gradients with non-constant alpha
  - Fix deadlock in user-font code
* debian/patches/00list: Remove 03_from_git_fix_lcd_filter_default.dpatch,
  add debian/patches/03_fix_ftbfs_withing_xcb.dpatch
* debian/libcairo2.symbols, debian/libcairo-directfb2.symbols: update
  list of symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
static cairo_test_draw_function_t draw;
29
29
 
30
 
cairo_test_t test = {
 
30
static const cairo_test_t test = {
31
31
    "paint-repeat",
32
32
    "Test calls to cairo_paint with a repeating source surface pattern",
33
33
    8, 8,
38
38
draw (cairo_t *cr, int width, int height)
39
39
{
40
40
    cairo_surface_t *surface;
41
 
    static uint32_t data[16] = {
 
41
    uint32_t data[16] = {
42
42
        0xffffffff, 0xffffffff,         0xffff0000, 0xffff0000,
43
43
        0xffffffff, 0xffffffff,         0xffff0000, 0xffff0000,
44
44