1. 27 Apr, 2010 1 commit
  2. 26 Apr, 2010 5 commits
    • Benjamin Otte's avatar
      tests: Integrate xlib-expose-event test into usual tests · 9672aab6
      Benjamin Otte authored
      Previously the test was using the preamble vfunc and generating output
      itself. Now it uses the draw function and ignores any but the xlib
      backends.
      9672aab6
    • Chris Wilson's avatar
      trace: Remove unused functions · 36e0a3d3
      Chris Wilson authored
      trace.c:1154: warning: ‘_has_font_face_id’ defined but not used
      trace.c:1196: warning: ‘_get_pattern_id’ defined but not used
      trace.c:1870: warning: ‘_emit_font_face’ defined but not used
      trace.c:1882: warning: ‘_emit_scaled_font’ defined but not used
      36e0a3d3
    • Chris Wilson's avatar
      trace: Check return value to suppress compiler warning · 3a2d9ffe
      Chris Wilson authored
      trace.c: In function ‘get_prog_name’:
      trace.c:741: warning: ignoring return value of ‘fgets’, declared with
      attribute warn_unused_result
      3a2d9ffe
    • Chris Wilson's avatar
      trace: Trivial compiler warning fix · 37be1834
      Chris Wilson authored
      trace.c:1665: warning: initialization from incompatible pointer type
      37be1834
    • Chris Wilson's avatar
      region: Cast to remove const to suppress compiler warnings. · 3c9e5d97
      Chris Wilson authored
      airo-region.c: In function ‘cairo_region_intersect’:
      cairo-region.c:503: warning: passing argument 3 of
      ‘pixman_region32_intersect’ discards qualifiers from pointer target type
      /usr/local/include/pixman-1/pixman.h:518: note: expected ‘struct
      pixman_region32_t *’ but argument is of type ‘const struct pixman_region32_t *’
      
      cairo-region.c: In function ‘cairo_region_union’:
      cairo-region.c:566: warning: passing argument 3 of
      ‘pixman_region32_union’ discards qualifiers from pointer target type
      /usr/local/include/pixman-1/pixman.h:521: note: expected ‘struct
      pixman_region32_t *’ but argument is of type ‘const struct pixman_region32_t *’
      3c9e5d97
  3. 25 Apr, 2010 4 commits
    • Chris Wilson's avatar
      8c72122d
    • Chris Wilson's avatar
      clip: Fix sign reverse when combining with the clip surface. · 240ebaf8
      Chris Wilson authored
      Finally, found the reversed sign in the clipping code, thanks cu!
      
      Fixes: test/clip-shape
      240ebaf8
    • Chris Wilson's avatar
      clip: Report the surface offset when retrieving the clip mask · 4d363276
      Chris Wilson authored
      Stop the callers from guessing the origin of the clip surface by
      reporting it explicitly! This enables the clip to bypass any rectangles
      overlaid on top of the clip surface, which is common when the backends
      limit the clip to the extents of the operation -- but irrelevant to the
      actual content of the clip mask
      4d363276
    • Chris Wilson's avatar
      test: Add clip-shape · 241ce933
      Chris Wilson authored
      cu found a bug when using clipping and fills with the image backend, but
      it turns out to be the lost sign bug afflicting everything...
      
      To trigger the bug requires evaluating the clip surface prior to using
      in with _cairo_clip_combine_with_surface(). Which is taken along a
      particular path when using a clip mask with non-pixel geometry on image,
      but more easily hit by the fallback code.
      
      Reported-by: <cairouser@yahoo.com>
      241ce933
  4. 23 Apr, 2010 16 commits
  5. 21 Apr, 2010 1 commit
  6. 19 Apr, 2010 1 commit
  7. 18 Apr, 2010 1 commit
    • Benjamin Otte's avatar
      xlib: Make display a cairo_device_t · f74ad37e
      Benjamin Otte authored
      The code now uses the locking of the cairo_device_t instead of its own
      mutexes.
      
      The code was modified so that cairo_surface_t does no longer reference
      the display directly. Instead, it calls _cairo_xlib_display_acquire().
      If a function assumes an already acquired display, it now requires the
      caller to provide a cairo_xlib_display_t parameter. Functions that do
      not require an acquired display will not require the display parameter
      or they will take the cairo_device_t instead.
      f74ad37e
  8. 15 Apr, 2010 11 commits