1. 09 Mar, 2021 1 commit
  2. 22 Jan, 2021 1 commit
    • Matthias Clasen's avatar
      Avoid a use-after-free · b345be5a
      Matthias Clasen authored
      asan was complaining that the limits struct goes out
      of scope before it is used via the pointer in the polygon struct,
      and it is right:
      
      ==386746==ERROR: AddressSanitizer: stack-use-after-scope on address 0x7ffd3ccebdfc at pc 0x7f783d5eaaee bp 0x7ffd3cceba80 sp 0x7ffd3cceba70
      READ of size 4 at 0x7ffd3ccebdfc thread T0
          #0 0x7f783d5eaaed in _add_clipped_edge ../src/cairo-polygon.c:351
          #1 0x7f783d5ebba3 in _cairo_polygon_add_edge ../src/cairo-polygon.c:520
          #2 0x7f783d5ebc82 in _cairo_polygon_add_external_edge ../src/cairo-polygon.c:530
          #3 0x7f783d582149 in _cairo_filler_line_to ../src/cairo-path-fill.c:63
          #4 0x7f783d588d9c in _cairo_path_fixed_interpret ../src/cairo-path-fixed.c:831
          #5 0x7f783d582a44 in _cairo_path_fixed_fill_to_polygon ../src/cairo-path-fill.c:147
          #6 0x7f783d6204fe in _cairo_spans_compositor_fill ../src/cairo-spans-compositor.c:1151
          #7 0x7f783d5126de in _cairo_compositor_fill ../src/cairo-compositor.c:203
          #8 0x7f783d5571f9 in _cairo_image_surface_fill ../src/cairo-image-surface.c:1003
          #9 0x7f783d647f2f in _cairo_surface_fill ../src/cairo-surface.c:2424
          #10 0x7f783d52ebea in _cairo_gstate_fill ../src/cairo-gstate.c:1312
          #11 0x7f783d51cca4 in _cairo_default_context_fill ../src/cairo-default-context.c:1057
          #12 0x7f783d6812d6 in cairo_fill ../src/cairo.c:2421
      b345be5a
  3. 05 Sep, 2013 2 commits
  4. 12 Feb, 2013 1 commit
  5. 01 Nov, 2012 1 commit
  6. 31 Oct, 2012 1 commit
  7. 27 Sep, 2012 2 commits
  8. 08 Jun, 2012 1 commit
  9. 14 May, 2012 1 commit
  10. 11 May, 2012 4 commits
  11. 19 Apr, 2012 3 commits
  12. 13 Mar, 2012 1 commit
  13. 05 Mar, 2012 1 commit
  14. 04 Mar, 2012 4 commits
  15. 29 Feb, 2012 2 commits
  16. 28 Feb, 2012 1 commit
  17. 09 Feb, 2012 2 commits
  18. 15 Jan, 2012 1 commit
  19. 12 Oct, 2011 2 commits
  20. 30 Sep, 2011 1 commit
  21. 23 Sep, 2011 1 commit
    • Chris Wilson's avatar
      spans: Fix empty polygon unbounded fixup · d71ce5e0
      Chris Wilson authored
      
      
      There is a subtle flaw in the current querying of polygon extents; it
      simply returns the limits and not the point extremeties and certainly
      not the tessellation extents. Computing that is likely to take long than
      rendering the polygon. This does mean that we need to also fixup the
      extents prior to performing the empty unbounded fast path.
      Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
      d71ce5e0
  22. 12 Sep, 2011 1 commit
    • Chris Wilson's avatar
      Introduce a new compositor architecture · af9fbd17
      Chris Wilson authored
      
      
      Having spent the last dev cycle looking at how we could specialize the
      compositors for various backends, we once again look for the
      commonalities in order to reduce the duplication. In part this is
      motivated by the idea that spans is a good interface for both the
      existent GL backend and pixman, and so they deserve a dedicated
      compositor. xcb/xlib target an identical rendering system and so they
      should be using the same compositor, and it should be possible to run
      that same compositor locally against pixman to generate reference tests.
      Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
      
      P.S. This brings massive upheaval (read breakage) I've tried delaying in
      order to fix as many things as possible but now this one patch does far,
      far, far too much. Apologies in advance for breaking your favourite
      backend, but trust me in that the end result will be much better. :)
      af9fbd17