[cairo-bugs] [Bug 29122] New: cairo_copy_clip_rectangle_list returns surface extents instead of an empty clip when clip is empty

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 16 15:42:06 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=29122

           Summary: cairo_copy_clip_rectangle_list returns surface extents
                    instead of an empty clip when clip is empty
           Product: cairo
           Version: 1.9.13
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: bugs.freedesktop at karlt.net
         QAContact: cairo-bugs at cairographics.org


With bug 29121 fixed, cat get-clip.log

  Error: All clipped out; expected 0 rectangles, got 1

If _cairo_clip_copy_rectangle_list() is passed a clip with all_clipped set (and
path NULL), then it returns the gstate target extents instead of an empty clip
rectangle list.

The regression was missed due to bug 29120.
I'm guessing
http://cgit.freedesktop.org/cairo/commit/?id=bed2701e1c89095878d549cbca8f22d84f3dda3c

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list